You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Darragh Sherwin <Da...@Sun.COM> on 2002/04/17 12:51:47 UTC
Compilation errors on 1.3.24
Hi
I am trying to compile mod_perl with Apache 1.3.24, mod_perl builds on it
own and so does Apache 1.3.24 but when I compile them using the mod_perl
makefiles, I get the following error when it is compiling Apache:
Undefined first referenced
symbol in file
SOCKSinit main/libmain.a(http_main.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
make[1]: *** [target_static] Error 1
make[1]: Leaving directory `/export/home/website/apache_1.3.24/src'
make: *** [apache_httpd] Error 2
The following is the line that is executed to give this error:
gcc -DSOLARIS2=280 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
-DSOCKS -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.6.1/sun4-solaris-multi/CORE
-I. -I../.. -DUSE_PERL_SSI -DSOCKS -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DMOD_PERL \
-o httpd buildmark.o modules.o modules/perl/libperl.a
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a
ap/libap.a lib/expat-lite/libexpat.a `perl
/export/home/website/mod_perl-1.26/src/modules/perl/ldopts ` -lsocket
-lnsl -lpthread
I am compiling on Solaris 8 with gcc 2.95.3 and perl 5.6.1
Any help would be greatly appreciated.
Thanks
--
_______________________
Darragh Sherwin
Darragh.Sherwin@Sun.COM
"To alcohol, the cause of, and solution to, all of life's problems"
Homer Simpson
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org