Summary: | ghostscript ijs fails to build, no -fPIC during compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nico Baggus <mlspamcb> |
Component: | Current packages | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | Alpha | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Nico Baggus
2003-07-17 23:11:49 UTC
try to replace cd ijs econf --prefix=${D}/usr make || die "make failed" cd. . with cd ijs econf --prefix=${D}/usr emake || die "make failed" cd .. I will try this in about three weeks from now... Well I't was quicker than I thought... configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for alphaev56-unknown-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for alphaev56-unknown-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating ijs-config config.status: executing default commands gcc -g -Wall -ansi -pedantic -Wmissing-prototypes -c -o ijs.o ijs.c gcc -g -Wall -ansi -pedantic -Wmissing-prototypes -c -o ijs_client.o ijs_client.c gcc -g -Wall -ansi -pedantic -Wmissing-prototypes -c -o ijs_server.o ijs_server.c gcc -g -Wall -ansi -pedantic -Wmissing-prototypes -c -o ijs_exec_unix.o ijs_exec_unix.c gcc -g -Wall -ansi -pedantic -Wmissing-prototypes -c -o ijs_client_example.o ijs_client_example.c ijs_client_example.c: In function `example_set_params': ijs_client_example.c:208: warning: int format, different type arg (arg 3) ijs_client_example.c:222: warning: int format, different type arg (arg 4) gcc -g -Wall -ansi -pedantic -Wmissing-prototypes -c -o ijs_server_example.o ijs_server_example.c rm -f libijs.a ar qc libijs.a ijs.o ijs_client.o ijs_server.o ijs_exec_unix.o ranlib libijs.a gcc -shared ijs.o ijs_client.o ijs_server.o ijs_exec_unix.o -o libijs.so /usr/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2.3/../../../../alphaev56-unknown-linux-gnu/bin/ld: ijs_server.o: gp-relative relocation against dynamic symbol ijs_server_procs /usr/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2.3/../../../../alphaev56-unknown-linux-gnu/bin/ld: ijs_server.o: gp-relative relocation against dynamic symbol ijs_server_procs collect2: ld returned 1 exit status make: *** [libijs.so] Error 1 make: *** Waiting for unfinished jobs.... ijs_server_example.c: In function `main': ijs_server_example.c:413: warning: implicit declaration of function `fdopen' ijs_server_example.c:413: warning: assignment makes pointer from integer without a cast !!! ERROR: app-text/ghostscript-7.05.6-r3 failed. !!! Function src_compile, Line 75, Exitcode 2 !!! make failed when using gcc with -fPIC added to it, it will link & install.... emake / make doesn't make a difference arch=alpha? what about "emerge info" ;) thx, fixed (also on amd64) |