bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Compile problem on RedHat 6


From: Juergen Sauermann
Subject: Re: [Bug-apl] Compile problem on RedHat 6
Date: Sat, 25 Oct 2014 11:58:01 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0

Hi Elias,

thanks, fixed in SVN 500.

/// Jürgen


On 10/24/2014 06:39 AM, Elias Mårtenson wrote:
I fixed the problem. Line 135-136 in UTF8_string.cc needs to be changed from:

UTF8_string::UTF8_string(const Value & value)
   : Simple_string((int)value.element_count(), (UTF8) 0)

to:

UTF8_string::UTF8_string(const Value & value)
   : Simple_string<UTF8>((int)value.element_count(), (UTF8) 0)

I don't know why the former works on Arch Linux. Different GCC version perhaps? RedHat 6 uses 4.4.7.

Regards,
Elias

On 24 October 2014 12:26, Elias Mårtenson <address@hidden> wrote:
I was about to test parallell GNU APL on our 80-core machine, and discovered someone had reinstalled it with Linux instead of Solaris. The system currently has RedHat 6, so I figured that compiling GNU APL should be a breeze. It wasn't.

Here's the compile error I'm getting:

g++ -DHAVE_CONFIG_H -I. -I..     -rdynamic   -g -O2 -MT UTF8_string.o -MD -MP -MF $depbase.Tpo -c -o UTF8_string.o UTF8_string.cc &&\
mv -f $depbase.Tpo $depbase.Po
UTF8_string.cc: In constructor ‘UTF8_string::UTF8_string(const Value&)’:
UTF8_string.cc:136: error: class ‘UTF8_string’ does not have any field named ‘Simple_string’
make[3]: *** [UTF8_string.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/emartenson/src/apl/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/emartenson/src/apl/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/emartenson/src/apl'
make: *** [all] Error 2

The exact same version compiles properly on my Arch Linux workstation.

Regards,
Elias



reply via email to

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