Problems compiling Ingres support on Sparc Solaris
| From: | Damon Muller | Date: | Wed, 22 Nov 2000 23:23:01 +0000 |
| Subject: | Problems compiling Ingres support on Sparc Solaris | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26756@lists.php.net to get a copy of this message | ||
Hi folks,
I've only just joined the list, so forgive me if this has been asked
before (I couldn't see anything relevant in the list archive).
I'm trying to compile php with support for Ingres_II on an UltraSparc 10
running Solaris 2.6. I've followed the instructions in the php manual on
the web site, and all goes well up until the time when I run `make' in
the apache directory. I see the following errors, at which point it
dies:
gcc -DSOLARIS2=260 -I/working/php-4.0.3pl1 -I/working/php-4.0.3pl1/main
-I/working/php-4.0.3pl1/main -I/working/php-4.0.3pl1/Zend
-I/working/php-4.0.3pl1/Zend -I/working/php-4.0.3pl1/TSRM
-I/working/php-4.0.3pl1/TSRM -I/working/php-4.0.3pl1 -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/ingres/ingres/lib -L/usr/ucblib -L/ingres/ingres/lib -Lmodules/php4
-L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -ldl -lingres
-liiapi -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket -lsocket
-lsocket -lnsl
Undefined first referenced
symbol in file
elf_getdata
/ingres/ingres/lib/libingres.a(symbol.o)
elf_end
/ingres/ingres/lib/libingres.a(object.o)
elf32_getshdr
/ingres/ingres/lib/libingres.a(symbol.o)
elf_nextscn
/ingres/ingres/lib/libingres.a(symbol.o)
elf_version
/ingres/ingres/lib/libingres.a(object.o)
elf_strptr
/ingres/ingres/lib/libingres.a(symbol.o)
elf_begin
/ingres/ingres/lib/libingres.a(object.o)
elf32_getehdr
/ingres/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 /working/apache_1.3.12/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /working/apache_1.3.12
*** Error code 1
make: Fatal error: Command failed for target `build'
I'm using apache 1.3.12, php-4.0.3pl1, gcc version 2.95.2 19991024
(release).
Any suggestions would be greatly appreciated.
cheers,
damon
--
Damon Muller
Criminologist and Occasional Webmeister
Victorian Institute of Forensic Medicine