public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* 'make' issue with GCC-4.7.2-1/gcc-c++-4.7.2-1 on AIX 6.1
@ 2013-04-11 23:27 Bob Wyatt
  2013-04-12  3:44 ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: Bob Wyatt @ 2013-04-11 23:27 UTC (permalink / raw)
  To: gcc-help

I am attempting to install HylaFAX 6.0.6 on an AIX 6.1 Power7 system.
The configure operation works successfully.
The make fails as follows:

Target "targets" is up to date.
= util
/bin/bash ../port/mkdepend   -e 's@ /usr/include/@ /@' -s C++ -e 's@\.c++\.o
*:
@\.o: @' -c  /bin/g++ -D__ANSI_CPP__ -I. -I.. -I.././util -I.././libhylafax
-I..
/./regex -g -O -c -M  -i Makedepend checkat.c++ dialtest.c++ faxfetch.c++
faxinf
o.c++ faxwatch.c++ textfmt.c++ tiffcheck.c++ typetest.c++
Target "_quiet.c++dependtime" is up to date.
/bin/bash ../port/mkdepend   -e 's@ /usr/include/@ /@' -c /bin/gcc
-D__ANSI_CPP_
_ -I. -I.. -I.././util -I.././libhylafax -I.././regex -O -c -M  -i
Makedepend fa
xadduser.c faxconfig.c faxdeluser.c faxmodem.c faxmsg.c faxstate.c
Target "_quiet.cdependtime" is up to date.
        /bin/gcc        -D__ANSI_CPP__ -I. -I.. -I.././util 
-I.././libhylafax -
I.././regex   -O  -o faxmsg .././util/faxmsg.c     -L../libhylafax
-lhylafax-6.0
  -ltiff  -lz -L../regex -lregex ../port/libport.a -lbsd
ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_v0
ld: 0711-317 ERROR: Undefined symbol: vtable for
__cxxabiv1::__class_type_info
ld: 0711-317 ERROR: Undefined symbol: .operator delete(void*)
ld: 0711-317 ERROR: Undefined symbol: vtable for
__cxxabiv1::__si_class_type_inf
o
ld: 0711-317 ERROR: Undefined symbol: __cxa_pure_virtual
ld: 0711-317 ERROR: Undefined symbol: .operator new(unsigned long)
ld: 0711-317 ERROR: Undefined symbol: .operator delete[](void*)
ld: 0711-317 ERROR: Undefined symbol: .operator new[](unsigned long)
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: error: 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: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.

I can’t glean from this what my issue may be… could someone offer some
insight?

Bob W

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 'make' issue with GCC-4.7.2-1/gcc-c++-4.7.2-1 on AIX 6.1
  2013-04-11 23:27 'make' issue with GCC-4.7.2-1/gcc-c++-4.7.2-1 on AIX 6.1 Bob Wyatt
@ 2013-04-12  3:44 ` Ian Lance Taylor
  2013-04-12  4:45   ` Bob Wyatt
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Lance Taylor @ 2013-04-12  3:44 UTC (permalink / raw)
  To: Bob Wyatt; +Cc: gcc-help

On Thu, Apr 11, 2013 at 4:27 PM, Bob Wyatt <bwyatt_sub@comcast.net> wrote:
> I am attempting to install HylaFAX 6.0.6 on an AIX 6.1 Power7 system.
> The configure operation works successfully.
> The make fails as follows:
>

>         /bin/gcc        -D__ANSI_CPP__ -I. -I.. -I.././util
> -I.././libhylafax -
> I.././regex   -O  -o faxmsg .././util/faxmsg.c     -L../libhylafax
> -lhylafax-6.0
>   -ltiff  -lz -L../regex -lregex ../port/libport.a -lbsd
> ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_v0

> I can’t glean from this what my issue may be… could someone offer some
> insight?

The command above is linking a C++ program with gcc.  Don't do that.
Link it with g++.

Ian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: 'make' issue with GCC-4.7.2-1/gcc-c++-4.7.2-1 on AIX 6.1
  2013-04-12  3:44 ` Ian Lance Taylor
@ 2013-04-12  4:45   ` Bob Wyatt
  2013-04-12 13:34     ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: Bob Wyatt @ 2013-04-12  4:45 UTC (permalink / raw)
  To: 'Ian Lance Taylor'; +Cc: gcc-help

Forgive my ignorance, Ian...

Do I edit the makefile and change the /bin/gcc to /bin/g++ (should it exist
there - I know it exists elsewhere)?
Or should I be looking to change something in the configure script?

Thanks for your insight, Ian... I never would have figured out the issue for
days or longer.
I really appreciate it!

Regards,

Bob W

-----Original Message-----
From: Ian Lance Taylor [mailto:iant@google.com] 
Sent: Thursday, April 11, 2013 11:45 PM
To: Bob Wyatt
Cc: gcc-help@gcc.gnu.org
Subject: Re: 'make' issue with GCC-4.7.2-1/gcc-c++-4.7.2-1 on AIX 6.1

On Thu, Apr 11, 2013 at 4:27 PM, Bob Wyatt <bwyatt_sub@comcast.net> wrote:
> I am attempting to install HylaFAX 6.0.6 on an AIX 6.1 Power7 system.
> The configure operation works successfully.
> The make fails as follows:
>

>         /bin/gcc        -D__ANSI_CPP__ -I. -I.. -I.././util
> -I.././libhylafax -
> I.././regex   -O  -o faxmsg .././util/faxmsg.c     -L../libhylafax
> -lhylafax-6.0
>   -ltiff  -lz -L../regex -lregex ../port/libport.a -lbsd
> ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_v0

> I can't glean from this what my issue may be. could someone offer some 
> insight?

The command above is linking a C++ program with gcc.  Don't do that.
Link it with g++.

Ian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 'make' issue with GCC-4.7.2-1/gcc-c++-4.7.2-1 on AIX 6.1
  2013-04-12  4:45   ` Bob Wyatt
@ 2013-04-12 13:34     ` Ian Lance Taylor
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Lance Taylor @ 2013-04-12 13:34 UTC (permalink / raw)
  To: Bob Wyatt; +Cc: gcc-help

On Thu, Apr 11, 2013 at 9:45 PM, Bob Wyatt <bwyatt_sub@comcast.net> wrote:
> Forgive my ignorance, Ian...
>
> Do I edit the makefile and change the /bin/gcc to /bin/g++ (should it exist
> there - I know it exists elsewhere)?
> Or should I be looking to change something in the configure script?

I'm sorry, I have no idea.  That has to do with the HylaFAX package,
which I know nothing about.

Ian



> Thanks for your insight, Ian... I never would have figured out the issue for
> days or longer.
> I really appreciate it!
>
> Regards,
>
> Bob W
>
> -----Original Message-----
> From: Ian Lance Taylor [mailto:iant@google.com]
> Sent: Thursday, April 11, 2013 11:45 PM
> To: Bob Wyatt
> Cc: gcc-help@gcc.gnu.org
> Subject: Re: 'make' issue with GCC-4.7.2-1/gcc-c++-4.7.2-1 on AIX 6.1
>
> On Thu, Apr 11, 2013 at 4:27 PM, Bob Wyatt <bwyatt_sub@comcast.net> wrote:
>> I am attempting to install HylaFAX 6.0.6 on an AIX 6.1 Power7 system.
>> The configure operation works successfully.
>> The make fails as follows:
>>
>
>>         /bin/gcc        -D__ANSI_CPP__ -I. -I.. -I.././util
>> -I.././libhylafax -
>> I.././regex   -O  -o faxmsg .././util/faxmsg.c     -L../libhylafax
>> -lhylafax-6.0
>>   -ltiff  -lz -L../regex -lregex ../port/libport.a -lbsd
>> ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_v0
>
>> I can't glean from this what my issue may be. could someone offer some
>> insight?
>
> The command above is linking a C++ program with gcc.  Don't do that.
> Link it with g++.
>
> Ian
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-12 13:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-11 23:27 'make' issue with GCC-4.7.2-1/gcc-c++-4.7.2-1 on AIX 6.1 Bob Wyatt
2013-04-12  3:44 ` Ian Lance Taylor
2013-04-12  4:45   ` Bob Wyatt
2013-04-12 13:34     ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).