[Gtkradiant] error while compiling

Timothee Besset gtkradiant@zerowing.idsoftware.com
Tue, 11 Nov 2003 23:12:14 +0100


Can you submit a patch to the scons script so that it detects the
version of OSX? 10.2 or 10.3 so we use the right command line? I'm
surprised because I got other reports of successful build on 10.3, and
it was not mentioned that changing the compile flags was necessary.

TTimo

On Tue, Nov 11, 2003 at 04:50:47PM -0500, Man wrote:
> These two lines in SConstruct:
> 
>   CCFLAGS += '-Ddlsym=dlsym_auto_underscore -force_cpusubtype_ALL -fPIC 
> '
>   CXXFLAGS += '-Ddlsym=dlsym_auto_underscore -force_cpusubtype_ALL 
> -fPIC -fno-exceptions -fno-rtti '
> 
> Needs to be like below for 10.3:
> 
>   CCFLAGS += '-force_cpusubtype_ALL -fPIC '
>   CXXFLAGS += '-force_cpusubtype_ALL -fPIC -fno-exceptions -fno-rtti '
> 
> --Jon
> 
> 
> On Nov 11, 2003, at 11:49 AM, Guido Gabriel Block wrote:
> 
> >hi there,
> >i tried to install on a 10.3 system. i do all the steps from the 
> >wiki-manual.
> >in terminal window, the system starts to compile but cut of after few 
> >hours
> >saying the following:
> >
> >g++: unrecognized option `-shared'
> >ld: warning prebinding disabled because dependent library: 
> >/sw/lib/libglib-2.0.0.dylib is not prebound
> >ld: warning multiple definitions of symbol _locale_charset
> >/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
> >/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
> >ld: Undefined symbols:
> >_dlsym_auto_underscore
> >/usr/bin/libtool: internal link edit command failed
> >scons: *** [build/release/bobtoolz.so] Error 1
> >scons: done building targets.
> >### execution of sh failed, exit code 2
> >Failed: compiling radiant-1.3.13-2 failed
> >Guidos-Computer:~ gui$
> >
> >
> >i dunno what to do now... :(
> >any suggestions? please help...
> >
> >cu.guido
> >
> >
> >_______________________________________________
> >Gtkradiant mailing list
> >Gtkradiant@zerowing.idsoftware.com
> >http://zerowing.idsoftware.com/mailman/listinfo/gtkradiant
> >
> 
> 
> 
> _______________________________________________
> Gtkradiant mailing list
> Gtkradiant@zerowing.idsoftware.com
> http://zerowing.idsoftware.com/mailman/listinfo/gtkradiant