[parsec-users] Canneal 2.1 for Alpha (M5)

ef snorlaxgb at gmail.com
Sat Aug 15 16:16:02 EDT 2009


Hello,
I am trying to compile Canneal for the Alpha Architecture for M5,and the
following occurs (listed below):
It seems that perhaps my GCC version might be to old or a newer version. If
anyone can help me out that would be appreciated.

One option would be to fix the errors, but there are tons more listed and is
pretty time consuming (my last choice), I am guessing that I can switch the
gcc version or something like that.




[PARSEC] [---------- Building package canneal ----------]
[PARSEC] Removing old build directory.
[PARSEC] Copying source code of package canneal.
[PARSEC] Running 'env version=pthreads /usr/bin/make':
/home/ef/Crosscompiler/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-g++
-DENABLE_THREADS -pthread annealer_thread.cpp -c -o annealer_thread.o
In file included from atomic/atomic.h:36,
                 from AtomicPtr.h:98,
                 from netlist_elem.h:36,
                 from annealer_thread.h:42,
                 from annealer_thread.cpp:34:
atomic/alpha/atomic.h:47: error: expected ',' or '...' before '*' token
atomic/alpha/atomic.h:47: error: ISO C++ forbids declaration of 'u_int8_t'
with no type
atomic/alpha/atomic.h:48: error: expected ',' or '...' before '*' token
atomic/alpha/atomic.h:48: error: ISO C++ forbids declaration of 'u_int8_t'
with no type
atomic/alpha/atomic.h:49: error: expected ',' or '...' before '*' token
atomic/alpha/atomic.h:49: error: ISO C++ forbids declaration of 'u_int8_t'
with no type
atomic/alpha/atomic.h:50: error: expected ',' or '...' before '*' token
atomic/alpha/atomic.h:50: error: ISO C++ forbids declaration of 'u_int8_t'
with no type
atomic/alpha/atomic.h:52: error: expected ',' or '...' before '*' token
atomic/alpha/atomic.h:52: error: ISO C++ forbids declaration of 'u_int16_t'
with no type
atomic/alpha/atomic.h:53: error: expected ',' or '...' before '*' token
atomic/alpha/atomic.h:53: error: ISO C++ forbids declaration of 'u_int16_t'
with no type
atomic/alpha/atomic.h:54: error: expected ',' or '...' before '*' token
atomic/alpha/atomic.h:54: error: ISO C++ forbids declaration of 'u_int16_t'
with no type
atomic/alpha/atomic.h:55: error: expected ',' or '...' before '*' token
atomic/alpha/atomic.h:55: error: ISO C++ forbids declaration of 'u_int16_t'
with no type
atomic/alpha/atomic.h:57: error: expected ',' or '...' before '*' token
atomic/alpha/atomic.h:57: error: ISO C++ forbids declaration of 'u_int32_t'
with no type
atomic/alpha/atomic.h: In function 'void atomic_set_32(int)':
atomic/alpha/atomic.h:59: error: expected `;' before 'temp'
atomic/alpha/atomic.h:66: error: 'temp' was not declared in this scope
atomic/alpha/atomic.h:66: error: 'p' was not declared in this scope


Thanks
EF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20090815/5ca82626/attachment.html>


More information about the parsec-users mailing list