[glug-t] g++ and cc

Hey the this is"aome application is running on Solaris but givin probs 
with Linux.
The err is :
 
g++ -o server -L/usr/lib \
            demo.asn.o cl.ctx.o server.msl.o \
            protocol_init.o server.o    
/qa-test/mvlinuxcge40.b1/LINUXES3.dsg/lib/apli_dummy.o
/qa-test/mvlinuxcge40.b1/LINUXES3.dsg/lib/osi_dummy.o 
/qa-test/mvlinuxcge40.b1/LINUXES3.dsg/lib/lapd_dummy.o    
-L/qa-test/mvlinuxcge40.b1/LINUXES3.dsg/lib -ldsgpNative -ldsg 
/qa-test/mvlinuxcge40.b1/LINUXES3.dsg/lib/libstdasnp.a -lasn1
/qa-test/mvlinuxcge40.b1/LINUXES3.dsg/lib/libacNative.a       -lpthread 
-lnsl -ldl -lc -lelf
server.o(.text+0xdd): In function `main':
: undefined reference to `SerWkr::classP'
collect2: ld returned 1 exit status
make: *** [server] Error 1
 
Its actually a linking error..
Me have to find out wats the underlying diff between CC and G++ 
compilers.....to fix the error...
 
If u know plz let me know, ulgandhi@xxxxxxxxxxxxxx
Thanking you.....

sincerely,
upendra
---------------------------------------------------------------
To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with 
'unsubscribe' as subject.

Website: http://glugt.linuxisle.com

Other related posts: