swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swarm-Support] Error in install (RH 7.1)


From: Agustin Ramos Fonseca
Subject: [Swarm-Support] Error in install (RH 7.1)
Date: Wed, 2 Jul 2003 18:17:05 -0500

Hello.

I'm new to Swarm and I tried to build the 2002-05-14 snapshot on a
RedHat 7.1 system with gcc 2.96. After running configure, make fails
with the following message 

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/home/atrf/swarm-2002-05-14/libobjc -I. -I./objc
-I/home/atrf/swarm-2002-05-14/libobjc/objc
-I/home/atrf/swarm-2002-05-14/libobjc   -DBUILDING_LIBOBJC  -Wall -Werror -g
-O2 -c -o NXConstStr.lo `test -f NXConstStr.m || echo
'/home/atrf/swarm-2002-05-14/libobjc/'`NXConstStr.m
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I/home/atrf/swarm-2002-05-14/libobjc -I. -I./objc
-I/home/atrf/swarm-2002-05-14/libobjc/objc
-I/home/atrf/swarm-2002-05-14/libobjc -DBUILDING_LIBOBJC -Wall -Werror -g
-O2 -c NXConstStr.m -MT NXConstStr.lo -MD -MP -MF .deps/NXConstStr.TPlo
-fPIC -DPIC -o .libs/NXConstStr.lo
In file included from objc/Object.h:30,
                 from objc/NXConstStr.h:31,
                 from NXConstStr.m:28:
objc/objc.h:152: conflicting types for `objc_msg_lookup'
NXConstStr.m:27: previous declaration of `objc_msg_lookup'
make[4]: *** [NXConstStr.lo] Error 1
make[4]: Leaving directory `/home/atrf/swarm-2002-05-14/libobjc'
...
...

I'm new to Objective C, but the line 

NXConstStr.m:27: previous declaration of `objc_msg_lookup'

is nonsense since line 27 in NXConstStr.m is blank and line 28 is the first
line
of code in the file.
I noted make is trying to build the Objective C library, which is already
installed in my system from the rpm. The installation files are

/usr/lib/gcc-lib/i386-redhat-linux/2.96/cc1obj
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/NXConstStr.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/Object.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/Protocol.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/encoding.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/hash.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/objc-api.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/objc-list.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/objc.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/sarray.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/thr.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/typedstream.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libobjc.a
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libobjc.la
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libobjc.so
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libobjc.so.1
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libobjc.so.1.0.0
/usr/lib/libobjc.so.1
/usr/lib/libobjc.so.1.0.0

Has anyone built this snapshot on RH 7.1?
Could any one please give me some help?

Thank you.

Agustín T.Ramos Fonseca
Software Engineer
Insys S.A. de C.V.
Phone: (55) 53225277
e-mail: address@hidden 
http://www.insys-corp.com.mx



reply via email to

[Prev in Thread] Current Thread [Next in Thread]