Well, it seems that
/usr/include/bits/ipctypes.h has:
/* Used in `struct shmid_ds'. */
# if __WORDSIZE == 32
typedef unsigned short int __ipc_pid_t;
# else
typedef int __ipc_pid_t;
# endif
and the intel supplied
intel/compiler70/ia32/substitute_headers/bits/types.h:
/* Used in `struct shmid_ds'. */
typedef unsigned short int __ipc_pid_t;
So, which file should I change, the intel supplied or the system one?? Any
suggestions?
Cheers, Yannis
On Fri, 30 May 2003, Yanni Batsiolas wrote:
> Hello all
>
> I am using Mandrake 9.1 and trying to install lam-6.5.9 using the latest
> intel compilers (7.1-0.15)
>
> I use the following configuration line:
>
> ./configure --with-cc=icc --with-cxx=icc --without-fc -with-rsh=ssh
>
> During make, I get:
>
> make[2]: Entering directory `/root/lam-6.5.9/share/etc'
> /bin/sh ../../libtool --mode=compile icc -DHAVE_CONFIG_H
> -I. -I. -I../../share/include -DLAM_BUILDING=1 -I../../share/include -O
> -c -o registry.lo `test -f registry.c || echo './'`registry.c
> icc -DHAVE_CONFIG_H -I. -I. -I../../share/include -DLAM_BUILDING=1
> -I../../share/include -O -c registry.c -o registry.o
> /usr/include/bits/ipctypes.h(33): error: "__ipc_pid_t" has already been
> declared in the current scope
> typedef int __ipc_pid_t;
> ^
>
> compilation aborted for registry.c (code 2)
> make[2]: *** [registry.lo] Error 1
> make[2]: Leaving directory `/root/lam-6.5.9/share/etc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/lam-6.5.9/share'
> make: *** [all-recursive] Error 1
>
> Any suggestions???
>
> Thank you, Yannis
>
>
> ---------------------
> "Ama et fac quod vis"
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
---------------------
"Ama et fac quod vis"
|