Re: Compilation Problems with Sockets-GM on AMD64 and Suse

Markus Fischer <[email protected]> Tue, 20 Apr 2004 13:57:05 -0700
Newsgroups gmane.network.myrinet.general
Message-ID <[email protected]>
Shahram,

I am working on a release which will include a fix for this problem.
Right now you can specify

GMIA64 = -DGMSOCKS_IA64

in the Makefile.in file

[email protected] is your friend for questions like this.

Markus

--
Shahram Tehranian wrote:

>I would apprecite help from someone who's encountered these errors before:
>
>master:/opt/Sockets-GM-1.1.9+5/Sockets-GM_SHRD_LIBRARY # gmake
>g++  -DGMBOARD=0 -DGM_NUM_BOARDS=1 -DGMSOCKS_ENABLE_PTHREAD -DGMSOCKS_ENABLE_DIRECTED_SEND -DGMSOCKS_DIRECTED_SEND_BUFFER_LEN=16000 -DGMSOCKS_ENABLE_REG_CACHE -DGMSOCKS_POLLING_RECEIVE=0      -O2 -DGM_VERSION_2 -DGMSOCKS_EXCLUDE_PORT -DGMSOCKS_EXCLUDE_PORT_NUMBER=8000 -DLINUX -I/usr/include/gm/include -o gmsocks-bufmangmnt.o -c ../Sockets-GM_CORE/gmsocks-bufmangmnt.cpp
>In file included from ../Sockets-GM_CORE/gmsocks-bufmangmnt.cpp:1:
>../Sockets-GM_CORE/gmsocks-sc.h:88: error: declaration of C function `int
>   send(int, const void*, long unsigned int, int)' conflicts with
>/usr/include/sys/socket.h:136: error: previous declaration `ssize_t send(int,
>   const void*, long unsigned int, int)' here
>../Sockets-GM_CORE/gmsocks-sc.h:91: error: declaration of C function `int
>   recv(int, void*, long unsigned int, int)' conflicts with
>/usr/include/sys/socket.h:143: error: previous declaration `ssize_t recv(int,
>   void*, long unsigned int, int)' here
>../Sockets-GM_CORE/gmsocks-sc.h:124: error: declaration of C function `int
>   write(int, const void*, unsigned int)' conflicts with
>/usr/include/unistd.h:319: error: previous declaration `ssize_t write(int,
>   const void*, long unsigned int)' here
>../Sockets-GM_CORE/gmsocks-sc.h:127: error: declaration of C function `int
>   read(int, void*, unsigned int)' conflicts with
>/usr/include/unistd.h:313: error: previous declaration `ssize_t read(int,
>   void*, long unsigned int)' here
>gmake: *** [gmsocks-bufmangmnt.o] Error 1
>
>master:/opt/Sockets-GM-1.1.9+5 # uname -a
>Linux master 2.4.21-bluesmoke #1 SMP Mon Feb 23 22:02:43 PST 2004 x86_64 x86_64 x86_64 GNU/Linux
>
>Thank you,
>
>Shahram. 
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Myrinet mailing list
>[email protected]
>http://email.osc.edu/mailman/listinfo/myrinet
>  
>