This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Weird linking-problem


On 1 Jul 1998 14:02:50 +0200, Andreas Steffan wrote:
>[Posted and mailed]
>
>In article <vyzbtravuiq.fsf@issan.informatik.uni-dortmund.de>,
>	Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> writes:
>
>> Please show us the preprocessed source of the module that references the
>> offending symbol.  Unless you are using <errnos.h> directly without going
>> through <errno.h> i have no idea how this can happen.
>
>The problem:
>
>gcc -ggdb -O2 -Wall -Woverloaded-virtual -Wno-unused -Wno-uninitialized  -I. -
>	I..   -c  -I/usr/X11R6/include -I/usr/include saveload.cpp -o 
					^^^^^^^^^^^^^
>	../../bin/saveload+ex.o

Please remove -I/usr/include from the command line and try again.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]