[Myrinet] Socket-GM compilation
Tengxiao Wu - Sun Microsystems <[email protected]>
| Newsgroups | gmane.network.myrinet.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, We try to implementer Socket-GM v 1.1 on Solaris, and we found some probs when compiling. 1. "gmsocks-unix-classes.cpp", line 417: Error: The function "GM_TRAMP_execve" must have a prototype." we found in gmsocks-sc.h, no GM_TRAMP_execve for Solaris, so we added ssize_t GM_TRAMP_execve (const char *filename, char *const argv [], char *const envp[]); after "#if defined (SOLARIS) || defined (SOLARIS64)" 2. "gmsocks-worker-so.o -L$(GMDIR)/binary/lib -lc -ldl -lgm -lsocket -lnsl # -lpthread" no dir "binary", so we deleted it. 3. "ld: fatal: file /opt/gm/lib/libgm.so: wrong ELF class: ELFCLASS32" 32bit? 64bit? we changed "gmsocks-worker-so.o -L$(GMDIR)/lib -lc -ldl -lgm -lsocket -lnsl # -lpthread" with "gmsocks-worker-so.o -L$(GMDIR)/lib/sparcv9 -LC -ldl -lgm -lsocket -lnsl # -lpthread" it seems now compilation can pass, but we dont know the impacts of our modifications, any comments or ideas? Thx ------------------------------------------------ WU Tengxiao Departement Telecommunications Services & Usages INSA, LYON, France SUN Microsystem LABS EUROPE, GRENOBLE, France Telephone : (33) 476 188 820 (office) E-mails : [email protected] [email protected] ------------------------------------------------