Problem of compiling sockets-gm application

Weirong Zhu <[email protected]> Mon, 19 May 2003 20:53:49 -0400 (EDT)
Newsgroups gmane.network.myrinet.general
Message-ID <[email protected]>
Help needed for sockets-gm

My application is based on standard UNIX TCP/IP sockets

I did not modify my code
I tried compiler my application by link socket-gm and gm library.

My compile command:
------------------------------------------------------------------------------------
gcc -Wall -O3 -pedantic -DX86 -DTCP -I../include
/soft/apps/packages/sockets-gm-1.1.5+2-REL/src/Sockets-GM_SHRD_LIBRARY/libgmsocks.o
-o etc_run_rsh etc_run_rsh.c  -L/kernelsoft/lib -lgm -lm -lstdc++
------------------------------------------------------------------------------------

I got below errors:
---------------------------------------------------------------------------------------------
/soft/apps/packages/sockets-gm-1.1.5+2-REL/src/Sockets-GM_SHRD_LIBRARY/libgmsocks.o:
In function `fork':
/soft/apps/packages/sockets-gm-1.1.5+2-REL/src/Sockets-GM_SHRD_LIBRARY/libgmsocks.o(.text+0x6d16):
undefined reference to `__check_null_eh_spec'
collect2: ld returned 1 exit status
make[1]: *** [etc_run_rsh] Error 1
-----------------------------------------------------------------------------------------------

And the gcc version is 2.95.3
Runing on LINUX 2.4.21-rc1 #1 SMP
the gm version is 1.6.4
sockets-gm version is 1.1.5+2

Do you know what's the matter here?
Do I need to do any modification on my orignal code, like including some
head files?

If you need any further information to figure out the problem, please
contact me.

Thanks a lot!



===================================================================
Weirong Zhu
The Computer Architecture and Parallel Systems Laboratory
Department of Electrical and Computer Engineering
University of Delaware
Email:[email protected]
http://www.capsl.udel.edu/~weirong
===================================================================