[Mauiusers] Problems with maui make

josesaez josesaez at uv.es
Tue May 23 08:45:13 MDT 2006


Hi everyone!

I have compiled and installed correctly torque on an athlon64 machine
with:  ./configure CC="gcc -m64" --prefix=/usr/local/torque; make; make
install.  But, when I compile maui with:  ./configure
--with-pbs=/usr/local/torque; (I edit Makefile to put -D__M64 in OSCCFLAGS,
as indicates README), and when I execute make, I receive this error:
(sorry, but my FC4_x86-64 is in spanish)

gcc -I../../include/ -I/usr/local/maui/include    -D__LINUX     
 -D__M32COMPAT -g -D__M64  -c MS3I.c
MS3I.c: En la función ‘MS3LoadModule’:
MS3I.c:559: aviso: asignación desde un tipo de puntero incompatible
MS3I.c:560: aviso: asignación desde un tipo de puntero incompatible
MS3I.c:566: aviso: asignación desde un tipo de puntero incompatible
MS3I.c:574: aviso: asignación desde un tipo de puntero incompatible
MS3I.c:579: aviso: asignación desde un tipo de puntero incompatible
gcc -I../../include/ -I/usr/local/maui/include    -D__LINUX     
 -D__M32COMPAT -g -D__M64  -c MConst.c
ar rcs ../../lib/libmcom.a MSU.o MSec.o MXML.o MS3I.o MConst.o
make[1]: Leaving directory `/root/maui-3.2.6p14/src/mcom'
make -C src/server all
make[1]: Entering directory `/root/maui-3.2.6p14/src/server'
gcc -I../../include -I../../include   -I/usr/local/torque/include    -DLINUX
-D__MPBS       -g -D__M64  -c Server.c
gcc -I../../include -I../../include   -I/usr/local/torque/include    -DLINUX
-D__MPBS       -g -D__M64  -c UserI.c
gcc -I../../include -I../../include   -I/usr/local/torque/include    -DLINUX
-D__MPBS       -g -D__M64  -c SDR.c
gcc -I../../include -I../../include   -I/usr/local/torque/include    -DLINUX
-D__MPBS       -g -D__M64  -c LLI.c
gcc Server.o UserI.o SDR.o LLI.o -o ../../bin/maui -L../../lib
-L/usr/local/torque/lib   -lmoab -lmcom     -lnet -lpbs   -lm
/usr/bin/ld: no se puede encontrar -lnet
collect2: ld devolvió el estado de salida 1
make[1]: *** [maui] Error 1
make[1]: Leaving directory `/root/maui-3.2.6p14/src/server'
make: *** [all] Error 2


# "aviso: asignación desde un tipo de puntero incompatible" means "warning:
asign from an incompatible type of pointer"

# "/usr/bin/ld: no se puede encontrar -lnet" means "/usr/bin/ld:  cannot find
-lnet"

# "collect2::  ld devolvió el estado de salida 1" means "collect2: ld
 returned output state 1"



Torque libraries are under /usr/src/torque/lib; so, as I indicate in the
previuos compilation sequence, maui must easily find them.  I have tried
several configurations, but none seems to work.  Any help would be
appreciated.

Thanks in advance.

Jose Sáez


More information about the mauiusers mailing list