gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Build Failure for gm2-2008-05-20 on Solaris 10/Sparc


From: Gaius Mulley
Subject: Re: [Gm2] Build Failure for gm2-2008-05-20 on Solaris 10/Sparc
Date: 04 Jun 2008 20:59:01 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

John O Goyo <address@hidden> writes:

> Build failed.  (Note that the builds on Solaris use the native ld and
> not the GNU ld.)
> 
> gcc   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
> -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H
> -o
> xgm2 gcc.o gm2spec.o prefix.o intl.o \
>    version.o  ../libcpp/libcpp.a ./../intl/libintl.a
> ../libiberty/libiberty.a
> Undefined                       first referenced
>   symbol                             in file
> force_no_linker                     gm2spec.o
> ld: fatal: Symbol referencing errors. No output written to xgm2
> collect2: ld returned 1 exit status
> gmake[2]: *** [xgm2] Error 1
> 
> 
> john

Hi John,

ahh yes you will need to apply the latest gcc patch found in
gm2/patches/gcc/4.1.2/04.gaius_patch_gcc

alternatively a prepared one can be found at:

http://floppsie.comp.glam.ac.uk/download/c/gcc-4.1.2+gm2-cvs-latest.tar.gz

The patch allows shared libraries to be automatically collected and 
linked by `gm2'.

regards,
Gaius




reply via email to

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