Hi,
I have installed apache, php4, postgres, mod_dav, cocoon and tomcat.We have developed a new query language, called RQL (like SQL) and we want to build RQL as a new module in php (like pgsql as the postgres module). I have added the necessary extra code in the
/src/php/configure file and I also cerated a new folder called RQL under /src/php/ext/ (like the /src/php/ext/pgsql folder for postgres). In the RQL folder I put the RQL.c and the php-RQL.h code (like the pgsq.c and the php-pgsql.h). I also created the necessary lrqlc.so (like the lpqc.so file) and put it in the folder of the binary files of postgres. After all this, I start configuring:
cd ../php
./configure --with-apache= /proj-fs/isl2/projects/users/athanasi/src/apache --with-RQL=/proj-fs/isl2 --prefix= /proj-fs/isl2/users/athanasi/src/php --with-config-file-path=/proj-fs/isl2/users/athanasi/src/php
make
make install
Unfortunately, after the last step, i receive the folowing errors:
/opt/solaris_pd/bin/gcc -DSOLARIS2=280 -I/proj-fs/isl2/users/athanasi/src/php -I/proj-fs/isl2/users/athanasi/src/php/main -I/proj-fs/isl2/users/athanasi/src/php/main -I/proj-fs/isl2/users/athanasi/src/php/Zend -I/proj-fs/isl2/users/athanasi/src/php/Zend -I/proj-fs/isl2/users/athanasi/src/php -DUSE_EXPAT -I./lib/expat-lite ./apaci \
-o httpd buildmark.o modules.o modules/php4/libphp4.a modules/dav/libdav.a modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -R/usr/ucblib -R/proj-fs/isl2//lib -L/usr/ucblib -L/proj-fs/isl2//lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -ldb -lpam -ldl -lpq -lrqlc -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket -lsocket -lsocket -lnsl -ldl
Undefined first referenced
symbol in file
RQL_exec modules/php4/libphp4.a(RQL.o)
RQL_connectdb modules/php4/libphp4.a(RQL.o)
RQL_finish modules/php4/libphp4.a(RQL.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 /proj-fs/isl2/users/athanasi/src/apache/src
*** Error code 1
make: Fatal error: Command failed for targetbuild-std'
Current working directory /proj-fs/isl2/users/athanasi/src/apache
Error code 1
make: Fatal error: Command failed for target `build'
Does anyone have an idea of what could be wrong?
Thanks,
nikos Athanasis