Skip to Content.
Sympa Menu

forum - Re: link error :Nonrepresentable section on output

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: link error :Nonrepresentable section on output


Chronological Thread 
  • From: "lan haiping" <lanhaiping@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: link error :Nonrepresentable section on output
  • Date: Mon, 10 Mar 2008 18:55:13 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=BkuqINP17dau4CA+FZ2bnL9QK6dX4UbEHepATCoQEr9PX9vHoFIpFAveUnQGjW2N7QqszV4l5qpbDopAaOJi2LUpVYt/6Fmc68FgPl+QxIFc+ExjT5kVBZgGC5FLZ4nQqlivb1hwDKmWcM3JNl5/C+UpnX/leV6W6h/nD4c2zr8=

Dear All,
 i have tried to fix  this link problem with link option '-static' , and recomplied .
While the compilation could pass smoothly , but right now it gave warning information below:

/opt/intel/fce/9.0/lib/libifcore.a(for_open_proc.o): In function `for__compute_file
name':
./src/libfor/for_open_proc.c:(.text+0xc0b): warning: Using 'getpwnam' in statically
 linked applications requires at runtime the shared libraries from the glibc versio
n used for linking
/opt/mpich-fce/lib/libmpich.a(p4_secure.o): In function `start_slave':
p4_secure.c:(.text+0xa7): warning: Using 'getpwuid' in statically linked applicatio
ns requires at runtime the shared libraries from the glibc version used for linking
/opt/mpich-fce/lib/libmpich.a(p4_sock_util.o): In function `gethostbyname_p4':
p4_sock_util.c:(.text+0x18c5): warning: Using 'gethostbyname' in statically linked
applications requires at runtime the shared libraries from the glibc version used f
or linking

Would you have any comment  on this problem , and tell me how to fix this problem ?
Any comments and suggestion  are deeply appreciated.

Bests


On Mon, Mar 10, 2008 at 5:48 PM, lan haiping <lanhaiping@gmail.com> wrote:
Dear All,

I came to a typical link error when i built abinit 5.4.4.
The system is Xeon em64t with ifort 9.0 compilor , and gcc version is 4.1.2 .
Everything went on smoothly , but gave link error with information below:
 ld: abinis: hidden symbol `_Unwind_ForcedUnwind' in /usr/lib/gcc/x86_64-redhat-linux/4.1.2//libgcc_eh.a(unwind-dw2.o) is referenced by DSO
ld: final link failed: Nonrepresentable section on output

Would you please give me a comment and favor ?
Best wishes

Hai-Ping



--
Hai-Ping Lan
Department of Electronics ,
Peking University , Bejing, 100871
lanhaiping@gmail.com, hplan@pku.edu.cn



--
Hai-Ping Lan
Department of Electronics ,
Peking University , Bejing, 100871
lanhaiping@gmail.com, hplan@pku.edu.cn


Archive powered by MHonArc 2.6.16.

Top of Page