Summary: | 8.61 does not build on linux x64 | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Albert Astals Cid <aacid> |
Component: | Build Process | Assignee: | Default assignee <ghostpdl-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | htl10 |
Priority: | P4 | ||
Version: | 0.00 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
Albert Astals Cid
2007-11-25 13:25:35 UTC
The error message is as it says... I think there is a work around: make XCFLAGS="-fPIC" XLDFLAGS="-fPIC" so But I am surprised that it happens again - did you just do 'make so' without running ./configure ? I thought this problem was fixed some time ago... ./configure make that's exactly what i did, and yes, i know how to workaround it, just that it should work, that's why i reported the bug. "make so" instead of "make" on last comment :D I can confirm the problem and that adding -fPIC to the command line as in Comment #1 works for buiding the libgs.so.8.61. However, the is problem reported after that file is finished: . . . DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \ DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \ DEVICE_DEVS_EXTRA= \ /bin/sh <./obj/../soobj/ldt.tr rm -f ./bin/../sobin/libgs.so.8 ln -s libgs.so.8.61 ./bin/../sobin/libgs.so.8 rm -f ./bin/../sobin/libgs.so ln -s libgs.so.8.61 ./bin/../sobin/libgs.so gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -fPIC -I./obj/../soobj -I./src -g -o ./bin/../sobin/gsc ./src/dxmainc.c -L./bin/../sobin -lgs gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -fPIC -I./obj/../soobj -I./src -g -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -o ./bin/../sobin/gsx ./src/dxmain.c \ -L./bin/../sobin -lgs -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpango-1.0 -lcairo -lX11 -lXfixes -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 In file included from /usr/include/gtk-2.0/gtk/gtkactiongroup.h:34, from /usr/include/gtk-2.0/gtk/gtk.h:38, from ./src/dxmain.c:32: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:50: warning: function declaration isn't a prototype ./src/dxmain.c:387: warning: initialization from incompatible pointer type ./src/dxmain.c:388: warning: initialization from incompatible pointer type ./src/dxmain.c:389: warning: initialization from incompatible pointer type ./src/dxmain.c:390: warning: initialization from incompatible pointer type ./src/dxmain.c:391: warning: initialization from incompatible pointer type ./src/dxmain.c:392: warning: initialization from incompatible pointer type ./src/dxmain.c:393: warning: initialization from incompatible pointer type ./src/dxmain.c:395: warning: initialization from incompatible pointer type ./src/dxmain.c: In function 'display_size': ./src/dxmain.c:654: warning: passing argument 3 of 'gtk_signal_connect_full' from incompatible pointer type make[1]: Leaving directory `/home/marcos/Desktop/artifex/ghostscript-8.61' |