Re: Problem of compiling sockets-gm application
Markus Fischer <[email protected]> Tue, 20 May 2003 08:57:14 +0200
| Newsgroups | gmane.network.myrinet.general |
|---|---|
| Message-ID | <[email protected]> |
Weirong, Weirong Zhu wrote: > Help needed for sockets-gm then mailto:[email protected] is your first choice for excellent support. > > My application is based on standard UNIX TCP/IP sockets > > I did not modify my code you don't have to ;) > I tried compiler my application by link socket-gm and gm library. > Were you able to successfully compile the examples ? Can you also tell us which distribution you are using ? Do you also have gcc 3.x installed, may be adding --verbose to the CFLAGS reveals some more information. Regards, Markus > 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 > =================================================================== > > > > > _______________________________________________ > Myrinet mailing list > [email protected] > http://email.osc.edu/mailman/listinfo/myrinet > >