axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abdul Sami <as...@folio3.com>
Subject undefined 'scandir' and 'alphsort'
Date Mon, 01 Feb 2010 06:57:32 GMT
I m getting undefined symbols error on Solaris 9 while the test programs 
are being linked.


gcc -g -O2 -pthread -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Werror 
-Wno-implicit-function-declaration -o .libs/test test.o  
../../axiom/src/om/.libs/libaxis2_axiom.so 
../../util/src/.libs/libaxutil.so ../src/.libs/libneethi.so 
/axis2c-src-1.6.0/axiom/src/om/.libs/libaxis2_axiom.so 
/axis2c-src-1.6.0/axiom/src/parser/guththila/.libs/libaxis2_parser.so 
/axis2c-src-1.6.0/guththila/src/.libs/libguththila.so 
/axis2c-src-1.6.0/util/src/.libs/libaxutil.so -lpthread -lsocket -lz 
-ldl  -R/usr/local/axis2c/lib
gcc: unrecognized option `-pthread'
ld: warning: file 
/axis2c-src-1.6.0/axiom/src/om/.libs/libaxis2_axiom.so: linked to 
../../axiom/src/om/.libs/libaxis2_axiom.so: attempted multiple inclusion 
of file
ld: warning: file /axis2c-src-1.6.0/util/src/.libs/libaxutil.so: linked 
to ../../util/src/.libs/libaxutil.so: attempted multiple inclusion of file
Undefined                       first referenced
  symbol                             in file
alphasort                           ../../util/src/.libs/libaxutil.so
scandir                             ../../util/src/.libs/libaxutil.so




Mime
View raw message