Hello,
This doesn't look to be a LAM problem. This problem was faced by a user
sometime ago. He mentioned on the LAM mailing list that following
advice on this link fixed the __bswap32 error.
http://gcc.gnu.org/ml/gcc-bugs/2002-10/msg01145.html
Please have a look at the page and let us know if it works for you.
The mailing list posting is at
http://www.lam-mpi.org/MailArchives/lam/msg06116.php
Regards,
--
Shashwat Srivastav
LAM / MPI Developer
Indiana University
ssrivast_at_[hidden]
On Friday, Sep 19, 2003, at 01:59 America/Chicago, Sergei Lisenkov
wrote:
> Dear Lam users,
>
> I tried to compile lam-7.0 with icc (7.0) anda ifc (7.0). I got the
> next error:
>
> : Entering directory `/var/tmp/proffess/lam-7.0.1b6/otb/bfctl'
> /bin/sh ../../libtool --mode=link icc -O2 -w -tpp6 -pthread -o
> bfctl bfctl.o ../../share/liblam.la -lutil
> icc -O2 -w -tpp6 -pthread -o bfctl bfctl.o ../../share/.libs/liblam.a
> -lutil
> ../../share/.libs/liblam.a(socket.o): In function
> `sfh_sock_open_srv_inet_stm':
> socket.o(.text+0x42): undefined reference to `__bswap_32'
> ../../share/.libs/liblam.a(socket.o): In function
> `sfh_sock_fill_inet_addr':
> socket.o(.text+0x86b): undefined reference to `__bswap_32'
> make[2]: *** [bfctl] Error 1
> make[2]: Leaving directory `/var/tmp/proffess/lam-7.0.1b6/otb/bfctl'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/proffess/lam-7.0.1b6/otb'
>
> I succsesfully compiled lam with "cc" and ifc. Why icc fails?
>
> Thanks,
> Sergey
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
>
|