Hi All,
I am trying to make apache/php with Ingres (still) as a compiled module. I can configure and make php fine, but when I try to make apache I get the following error. Can anyone tell me how to get "make" to link the elf header file (libelf.h)?
Many thanks.
D
gcc -DSOLARIS2=280 -I/home/php/php-4.1.2 -I/home/php/php-4.1.2/main -I/home/php/php-4.1.2/main -I/home/php/php-4.1.2/Zend -I/home/php/php-4.1.2/Zend -I/home/php/php-4.1.2/TSRM -I/home/php/php-4.1.2/TSRM -I/home/php/php-4.1.2 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci \
-o httpd buildmark.o modules.o modules/php4/libphp4.a modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -R/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1 -R/ingres/lib -L/usr/ucblib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.1 -L/ingres/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -ldl -lingres -liiapi -lcrypt -lresolv -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lcrypt -lsocket -lnsl -lpthread
Undefined first referenced
symbol in file
elf_getdata /ingres/lib/libingres.a(symbol.o)
elf_end /ingres/lib/libingres.a(object.o)
elf32_getshdr /ingres/lib/libingres.a(symbol.o)
elf_nextscn /ingres/lib/libingres.a(symbol.o)
elf_version /ingres/lib/libingres.a(object.o)
elf_strptr /ingres/lib/libingres.a(symbol.o)
elf_begin /ingres/lib/libingres.a(object.o)
elf32_getehdr /ingres/lib/libingres.a(symbol.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
Error code 1
make: Fatal error: Command failed for target target_static'
Current working directory /home/apache/apache_1.3.26/src
*** Error code 1
make: Fatal error: Command failed for targetbuild-std'
Current working directory /home/apache/apache_1.3.26
Error code 1
make: Fatal error: Command failed for target `build'