Subject: CGAL users discussion list
List archive
- From: Laurent Rineau <>
- To:
- Subject: Re: [cgal-discuss] CGAL-2.4 Building error(Another Error of libc_nonshared.a)
- Date: Wed, 27 Feb 2008 14:21:34 +0100
- Organization: Inria, Sophia Antipolis, FRANCE
On Wednesday 27 February 2008 13:36:37 Nadir Shah wrote:
> Dear,
> I have installed gcc3.3.6 on my system and compile. but
> another problem comes which is as follow
> /usr/bin/g++ -Xlinker -shared -o ''libCGAL.so \
> `ls *.o | awk '{for (i=1; i<=NF;++i){printf "";print $i}}'`\
>
> /usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init':
> (.text+0x2b): undefined reference to `__init_array_end'
> /usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init':
> (.text+0x34): undefined reference to `__init_array_start'
> /usr/bin/ld: libCGAL.so: hidden symbol `__preinit_array_start' isn't
> defined /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status
> make: *** [lib] Error 1
Can you send us the complete file named compile.log?
It seems that you are mixing shared and non-shared linkage.
Please also run that command and give us the result:
rpm -qf /usr/lib/libc_nonshared.a /usr/lib/libc.so
--
Laurent Rineau
INRIA - Sophia Antipolis
BP 93, 2004 Route des Lucioles
06902 Sophia Antipolis Cedex FRANCE
Tel: +33 4 92 38 78 62 (Fax: +33.4.97.15.53.95)
- [cgal-discuss] CGAL-2.4 Building error(Another Error of libc_nonshared.a), Nadir Shah, 02/27/2008
- Re: [cgal-discuss] CGAL-2.4 Building error(Another Error of libc_nonshared.a), Joachim Reichel, 02/27/2008
- Re: [cgal-discuss] CGAL-2.4 Building error(Another Error of libc_nonshared.a), Nadir Shah, 02/27/2008
- Re: [cgal-discuss] CGAL-2.4 Building error(Another Error of libc_nonshared.a), Joachim Reichel, 02/27/2008
- Re: [cgal-discuss] CGAL-2.4 Building error(Another Error of libc_nonshared.a), Nadir Shah, 02/27/2008
- Re: [cgal-discuss] CGAL-2.4 Building error(Another Error of libc_nonshared.a), Laurent Rineau, 02/27/2008
- Re: [cgal-discuss] CGAL-2.4 Building error(Another Error of libc_nonshared.a), Olivier Devillers, 02/27/2008
- Re: [cgal-discuss] CGAL-2.4 Building error(Another Error of libc_nonshared.a), Joachim Reichel, 02/27/2008
Archive powered by MHonArc 2.6.16.