Q: Kompilace php3 s podporou Interbase 4

Daniel Fiser Daniel.Fiser na seznam.cz
Úterý Listopad 23 18:03:39 CET 1999


Dobry den preji.

RedHat 6.0
Interbase 4.0G for Linux
php 3.0.12
Apache 1.3.9

Instalace Interbase do std. cesty probehla v poradku, db bezi.

Kompilace php3 (--with-interbase) probehla v poradku.

Pri kompilaci Apache configure probehne, make ale vraci chybu:

<cite>
gcc  -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite `./apaci`    \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php3
/libphp3.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a lib/expa
t-lite/libexpat.a  -Lmodules/php3 -L../modules/php3 -L../../modules/php3 -lmodph
p3                     -L/usr/interbase/lib -lgds  -lpam -lm -ldl -lcrypt -lnsl
 -lresolv  -lm -lcrypt -ldb
/usr/lib/libgds.a(utlp.o): In function `gds__edit':
utlp.o(.text+0x5a4): undefined reference to `_xstat'
utlp.o(.text+0x5d2): undefined reference to `_xstat'
/usr/lib/libgds.a(gds.o): In function `gds__print_blr':
gds.o(.text+0xe8a): undefined reference to `__setjmp'
/usr/lib/libgds.a(isc_sync.o): In function `ISC_map_file':
isc_sync.o(.text+0x401): undefined reference to `_fxstat'
/usr/lib/libgds.a(head.o): In function `init':
head.o(.text+0x3bcd): undefined reference to `_xstat'
/usr/lib/libgds.a(head5.o): In function `init':
head5.o(.text+0x3259): undefined reference to `_xstat'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/var/tmp/apache_1.3.9/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/var/tmp/apache_1.3.9'
make: *** [build] Error 2
</cite>

Jsem spise Linuxovy zacatecnik a tak bych potreboval popostrcit. IMHO se asi pri kompilaci php3 s podporou Interbase spatne prelozil modul /usr/lib/libgds.a. Mate s tim nekdo zkusenosti? Je to opravdu chyba prekladu php3+Interbase, nebo je vadny zdrojak Interbase?

Predem dekuji za jakekoliv informace a pomoc.
Daniel Fiser


-- http://email.seznam.cz 
-- email zdarma na cely zivot



Další informace o konferenci Linux