[Top][All Lists]

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

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

From: Elias Mårtenson
Subject: Re: [Bug-apl] Compile problem on RedHat 6
Date: Fri, 24 Oct 2014 12:39:48 +0800

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)


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.


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.


reply via email to

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