discuss-gnustep
[Top][All Lists]
Advanced

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

problems with compiling


From: Matej Kosik
Subject: problems with compiling
Date: Thu, 12 Jul 2001 22:57:16 +0200

Hi,

At present I'm trying to compile GNUstep's packages.

My situation:
        * RedHat 7.0 with these upgrades [except the kernel]
                * gcc-3.0  
                * kernel 2.2.19
                * 
                * and (as I hope after some upgrading) proper versions of
                        the utilities mentioned in `GNUstep Build Guide' 
[www.made-it.com]
                        e.g. 
                                * GNU Make version 3.79.1
                                * iconv (GNU libc) 2.2
                                * gcc 3.0
                                * ffcall-1.8b
                                * gmp-3.1.1
                                * guile-1.4 [compilation is problematic]
                                * OpenSSL 0.9.6a 5 Apr 2001
                                * LIBTIFF, Version 3.5.5
                                * libxml2-2.3.9
                                * dgs-0.5.10
                                * [ghostscript-fonts-5.50 from rpm]
        * I have unpacked `gnustep-make-1.0.1' in `/usr/local/src', then I have
done
                ./configure --prefix=/usr/local/GNUstep && make && make install 
;
printf "\a"
        * I have added 
                GNUSTEP_SYSTEM_ROOT=/usr/local/GNUstep
                export GNUSTEP_SYSTEM_ROOT
                source $GNUSTEP_SYSTEM_ROOT/System/Makefiles/GNUstep.sh
          to my `~/.bash_profile' file
        * performed
                source ~/.bash_profile
        * I have unpacked `gnustep-base-1.0.1' in
`/usr/local/GNUstep/System/Makefiles/Additional'
          and performed a command
                ./configure && make && make install ; printf "\a"
          which tries to compile `gnustep-base',
          configuration ran without problems [I am not sure whether I had to
have specify --host=i586,
                maybe yes, maybe no]
          nevertheless this compilation process ends with something like this

---------------------------------------------------------------------------------------------
gcc externs.m -c  -DGNUSTEP_INSTALL_PREFIX=/usr/local/GNUstep/System
-DGNUSTEP_T
ARGET_DIR=\"ix86/linux-gnu\" -DGNUSTEP_TARGET_CPU=\"ix86\"
-DGNUSTEP_TARGET_OS=\
"linux-gnu\" -DLIBRARY_COMBO=\"gnu-gnu-gnu\"  -DHAVE_ICONV  -Wall
-DGNUSTEP -DGN
USTEP_BASE_LIBRARY=1   -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1  -fPIC
-DGSWARN 
-O2 -Wno-import -fgnu-runtime   -I../Headers/gnustep -I../Headers
-I./ix86/linux
-gnu    -I. -I/usr/local/GNUstep/System/Headers -fgnu-runtime
-I/usr/local/GNUst
ep/System/Headers -I/usr/local/include/libxml -I/usr/local/include
-I/root/GNUst
ep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers
-I/usr/local/GNUst
ep/Network/Library/Headers -I/usr/local/GNUstep/System/Library/Headers
-I/usr/lo
cal/GNUstep/Network/Headers/gnustep -I/root/GNUstep/Headers/gnustep
-I/usr/local
/GNUstep/Local/Headers/gnustep
-I/usr/local/GNUstep/System/Headers/gnustep  -I/u
sr/local/GNUstep/Network/Headers/ix86/linux-gnu
-I/root/GNUstep/Headers/ix86/lin
ux-gnu -I/usr/local/GNUstep/Local/Headers/ix86/linux-gnu
-I/usr/local/GNUstep/Sy
stem/Headers/ix86/linux-gnu -I/root/GNUstep/Headers
-I/usr/local/GNUstep/Local/H
eaders -I/usr/local/GNUstep/Network/Headers
-I/usr/local/GNUstep/System/Headers 
 -o shared_obj/ix86/linux-gnu/gnu-gnu-gnu/externs.o
externs.m:80: conflicting types for `NSCharacterConversionException'
../Headers/Foundation/NSException.h:67: previous declaration of
`NSCharacterConv
ersionException'
externs.m:84: conflicting types for `NSGenericException'
../Headers/Foundation/NSException.h:62: previous declaration of
`NSGenericExcept
ion'
externs.m:88: conflicting types for `NSInternalInconsistencyException'
../Headers/Foundation/NSException.h:63: previous declaration of
`NSInternalIncon
sistencyException'
externs.m:90: conflicting types for `NSInvalidArgumentException'
../Headers/Foundation/NSException.h:64: previous declaration of
`NSInvalidArgume
ntException'
externs.m:92: conflicting types for `NSMallocException'
../Headers/Foundation/NSException.h:65: previous declaration of
`NSMallocExcepti
on'
externs.m:96: conflicting types for `NSRangeException'
../Headers/Foundation/NSException.h:66: previous declaration of
`NSRangeExceptio
n'
externs.m: In function `GSBuildStrings':
externs.m:316: warning: multiple declarations for method `initialize'
/usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.0/include/objc/Object.h:43:
warning: 
using `+initialize'
../Headers/Foundation/NSObject.h:101: warning: also found
`+(void)initialize'
externs.m: At top level:
externs.m:698: conflicting types for `o_callbacks_for_char_p'
../Headers/gnustep/base/o_cbs.h:58: previous declaration of
`o_callbacks_for_cha
r_p'
externs.m:716: conflicting types for `o_callbacks_for_int'
../Headers/gnustep/base/o_cbs.h:57: previous declaration of
`o_callbacks_for_int
'
externs.m:734: conflicting types for `o_callbacks_for_id'
../Headers/gnustep/base/o_cbs.h:62: previous declaration of
`o_callbacks_for_id'
externs.m:752: conflicting types for `o_callbacks_for_int_p'
../Headers/gnustep/base/o_cbs.h:61: previous declaration of
`o_callbacks_for_int
_p'
externs.m:770: conflicting types for `o_callbacks_for_non_owned_void_p'
../Headers/gnustep/base/o_cbs.h:59: previous declaration of
`o_callbacks_for_non
_owned_void_p'
externs.m:780: conflicting types for `o_callbacks_for_owned_void_p'
../Headers/gnustep/base/o_cbs.h:60: previous declaration of
`o_callbacks_for_own
ed_void_p'
make[3]: *** [shared_obj/ix86/linux-gnu/gnu-gnu-gnu/externs.o] Error 1
rm o_list_cbs.m o_list_bas.m o_map_cbs.m o_map_bas.m o_hash_cbs.m
o_hash_bas.m o
_array_cbs.m o_array_bas.m
make[2]: *** [libgnustep-base.build] Error 2
make[1]: *** [libgnustep-base.all.library.variables] Error 2
make[1]: Leaving directory
`/usr/local/GNUstep/System/Makefiles/Additional/gnust
ep-base-1.0.1/Source'
make: *** [internal-all] Error 2
---------------------------------------------------------------------------------------------

??? What have I done wrong? 
    I'll be glad if somebody helps me.
    Are there some other well known pitfalls [concerning compilation
GNUstep on RedHat 7.0]? 

Thank you.

Matej Kosik
-- 
mailto:kosikmat@decef.elf.stuba.sk
http://decef.elf.stuba.sk/~kosikmat

Attachment: kosikmat.vcf
Description: Card for Matej Kosik


reply via email to

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