Hallo,
ich suche dringend gd-2.0.8 als Bibliothek unter IRIX 6.5, da ich 24bit Support brauche. Leider hat die IRIX freeware nur 1.8 und im Netz bin ich nicht fündig geworden.
./configure --with-freetype=/usr/freeware/lib32 --with-jpeg=/usr/f
reeware/lib32 --with-xpm=/usr/freeware/lib32
scheitert leider komplett, libpng, libjpeg etc. werden nicht gefunden.
./configure --with-freetype=/usr/freeware/include --with-jpeg=/usr
/freeware/include --with-xpm=/usr/freeware/include
funktioniert ebenfalls nicht.
Es scheitert immer so:
checking for deflate in -lz... yes
checking for libpng-config... /usr/freeware/bin/libpng-config
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_create_read_struct in -lpng... no
configure: WARNING: libpng is required - see
http://www.libpng.org/pub/png/checking for freetype-config... /usr/freeware/bin/freetype-config
checking for FT_Init_FreeType in -lfreetype... no
configure: WARNING: not found - disabling freetype support
checking freetype/freetype.h usability... yes
checking freetype/freetype.h presence... yes
checking for freetype/freetype.h... yes
checking whether it's freetype 2... yes
checking for jpeg_set_defaults in -ljpeg... no
checking for XpmReadFileToXpmImage in -lXpm... no
** Configuration summary for gd 2.0.8:
Support for PNG library: no
Support for JPEG library: no
Support for Freetype 2.x library: no
Support for Xpm library: no
Wenn ich das Makefile von Hand editiere und die Pfade und Bibliotheken hinzufüge, scheitert das Linken:
gcc -shared gd.o gd_gd.o gd_gd2.o gd_io.o gd_io_dp.o gd_io_file.o gd_io_ss.o gd_jpeg.o gd_png.o gd_ss.o gd_topal.o gd_wbmp.o gdcache.o gdfontg.o gdfontl.o gdfontmb.o gdfonts.o gdfontt.o gdft.o gdhelpers.o gdkanji.o gdtables.o gdxpm.o mathmake.o wbmp.o -L/usr/people/andreas/tmp/gd-2.0.8 -L/usr/freeware/lib32 -L/usr/lib32 -lz -lm -lpng -lXpm -ljpeg -lfreetype -lc -Wl,-soname -Wl,libgd.so.3 `test -n "sgi3.0" && echo -Wl,-set_version -Wl,sgi3.0` -Wl,-update_registry -Wl,.libs/so_locations -o .libs/libgd.so.3.0
ld32: WARNING 84: /usr/freeware/lib32/libpng.so is not used for resolving any symbol.
ld32: WARNING 84: /usr/freeware/lib32/libXpm.so is not used for resolving any symbol.
ld32: WARNING 84: /usr/freeware/lib32/libjpeg.so is not used for resolving any symbol.
ld32: WARNING 84: /usr/freeware/lib32/libfreetype.so is not used for resolving any symbol.
ld32: ERROR 103: Direct reference to preemptible symbol "gdFontGiantData".
ld32: ERROR 103: Direct reference to preemptible symbol "gdFontGiantRep".
ld32: ERROR 103: Direct reference to preemptible symbol "gdFontLargeRep".
ld32: ERROR 103: Direct reference to preemptible symbol "gdFontLargeData".
ld32: ERROR 103: Direct reference to preemptible symbol "gdFontMediumBoldData".
ld32: ERROR 103: Direct reference to preemptible symbol "gdFontMediumBoldRep".
ld32: ERROR 103: Direct reference to preemptible symbol "gdFontSmallData".
ld32: ERROR 103: Direct reference to preemptible symbol "gdFontSmallRep".
ld32: ERROR 103: Direct reference to preemptible symbol "gdFontTinyData".
ld32: ERROR 103: Direct reference to preemptible symbol "gdFontTinyRep".
ld32: FATAL 2: Internal: at ../../ld/dynutil.c Trying to add too many .rel.dyn entries into the allocated space
ld32: INFO 152: Output file removed because of error.
collect2: ld returned 1 exit status
make[2]: *** [libgd.la] Error 1
make[2]: Leaving directory `/usr/people/andreas/tmp/gd-2.0.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/people/andreas/tmp/gd-2.0.8'
make: *** [all] Error 2
Bin für jeden Tipp dankbar,
Andreas