This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: Weird linking-problem
- To: deas@uni-hamburg.de (Andreas Steffan)
- Subject: Re: Weird linking-problem
- From: Zack Weinberg <zack@rabi.phys.columbia.edu>
- Date: Wed, 01 Jul 1998 09:36:29 -0400
- cc: libc-alpha@gnu.org
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