[parisc-linux] xfree86 build problem

amodra@one.net.au amodra@one.net.au
Sat, 14 Apr 2001 21:25:57 +0930


On Fri, Apr 13, 2001 at 04:21:16PM -0600, Grant Grundler wrote:
> 1) error.o was built with:
> gcc -c -O2 -g -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs  -I../include    -I../../../../include   -I../../../../include/GL  -I../../../.. -I../../../../exports/include  -Dlinux  -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DX_LOCALE   -DFUNCPROTO=15 -DNARROWPROTO   -DNDEBUG  error.c
>    Is the -fPIC missing here?

Yes (or error.o shouldn't be included in the shared lib)

>    If so, why does "file" say it's relocatable?

Because it is. :)  Relocatable files don't have to be PIC.

> 2) c++ isn't returning the error reported by collect2
>    Fortunately the build soon dies since the expected product
>    doesn't exist. Known problem?

Are you sure about this statement?  It might just be "make" (the presense
of those `+'s is ringing bells with me but I don't recall the exact
signifigance.)

Alan