|
From: | Stephen Chell (Datacom Contractor) |
Subject: | [bug-gperf] gperf linking problem |
Date: | Fri, 8 May 2009 10:24:31 +1200 |
Hi I’m trying to install gperf 3.0.3 on an AIX 5.3
system. (gcc version is 4.0.0) The configure script completed successfully, but when I run
make I get linking errors. The complete output from running make is as
follows. ========== make output begin ============= > make cd lib; make all gcc -g -O2 - ./getopt.c: In function '_getopt_internal': ./getopt.c:648: warning: incompatible implicit declaration
of built-in function 'strlen' ./getopt.c:672: warning: incompatible implicit declaration
of built-in function 'strlen' ./getopt.c:702: warning: incompatible implicit declaration
of built-in function 'strlen' ./getopt.c:718: warning: incompatible implicit declaration
of built-in function 'strlen' ./getopt.c:723: warning: incompatible implicit declaration
of built-in function 'strlen' ./getopt.c:834: warning: incompatible implicit declaration
of built-in function 'strlen' ./getopt.c:857: warning: incompatible implicit declaration
of built-in function 'strlen' ./getopt.c:877: warning: incompatible implicit declaration
of built-in function 'strlen' ./getopt.c:891: warning: incompatible implicit declaration
of built-in function 'strlen' ./getopt.c:895: warning: incompatible implicit declaration
of built-in function 'strlen' gcc -g -O2 - g++ -g -O2 - g++ -g -O2 - rm -f libgp.a ar rc libgp.a getopt.o getopt1.o getline.o hash.o ranlib libgp.a Target "all" is up to date. cd src; make all g++ -g -O2 - g++ -g -O2 - g++ -g -O2 - g++ -g -O2 - g++ -g -O2 - g++ -g -O2 - g++ -g -O2 - g++ -g -O2 - g++ -g -O2 - g++ -g -O2 - g++ -g -O2 - g++ -g -O2 -o gperf version.o positions.o options.o
keyword.o keyword-list.o input.o bool-array.o hash-table.o search.o ou tput.o main.o ../lib/libgp.a -lm ld: 0711-317 ERROR: Undefined symbol: vtable for
__cxxabiv1::__si_class_type_info ld: 0711-317 ERROR: Undefined symbol: vtable for
__cxxabiv1::__class_type_info ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain
more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. ========== make output end ============= How can I resolve the above linking errors? (I am new to
AIX & gcc.) Thanks in advance … Steve Lvl 6, 135 Albert Street, Auckland, NZ | DDI +64 9
337 4651 | Extn 92651 | Email address@hidden This email message and attachments are confidential to our organisation and subject to legal privilege. If you have received this email in error, please advise the sender immediately and destroy the message and any attachments. If you are not the intended recipient you are notified that any use, distribution, amendment, copying or any action taken or omitted to be taken in reliance of this message or attachments is prohibited. You can read our Privacy Policy here: www.asb.co.nz/privacy This communication does not designate an information system for the purposes of the New Zealand Electronic Transaction Act 2002. |
[Prev in Thread] | Current Thread | [Next in Thread] |