GCC-3.1 final

Bruce Dubbs bdubbs at swbell.net
Fri May 17 08:45:11 PDT 2002


Michael Brömer wrote:
> Am Freitag, 17. Mai 2002 16:26 schrieben Sie:
> 
> 
>>A short grep showed me that those constants are defined in
>>/usr/include/asm/fcntl.h and /usr/include/bits/fcntl.h (gcc 2.95.3). Check
>>if those files exist and if so what they contain. If they contain those
>>#defines, the dependencies between the headers have probably changed. The
>>easiest fix would be to add "#include <asm/fcntl.h>" to the beginning of
>>fileio.c.
>>
>>
>>><snip>
>>>
>>Martin Neubauer
>>
> 
> If i remove the lines 1164 to 1170 from vim61/src/auto/configure 
> vim compiles just fine
> 
> 
>>if test -d /usr/local/include; then
>>  tt=`echo "$CPPFLAGS" | sed -e 's+-I/usr/local/include ++g' -e 
>>    's+-I/usr/local/include$++g'`
>>  if test "$tt" = "$CPPFLAGS"; then
>>    CPPFLAGS="$CPPFLAGS -I/usr/local/include"
>>  fi
>>fi

I havn't tried it, but from the code above, try

export CPPFLAGS="$CPPFLAGS -I/usr/include"
configure...

That should put the search directories to /usr/include before 
/usr/local/include.

   -- Bruce

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list