From: maria jose martin santamaria (mariam_at_udc.es)
Date: Tue Nov 07 2006 - 03:58:54 PST
Hi, I have installed the UPC compiler using the UPC binary distribution on a Power PC G4 with Mac OS X version 10.4.8 and gcc version 4.0.1. The compiler was successfully installed, however I can not compile the hello.upc example code. I obtain the following error: %upcc -pthreads /usr/local/berkeley_upc/upc-examples/hello.upc upcc: Error building pthread objects with thread-local data: In file included from /usr/include/math.h:26, from /usr/local/berkeley_upc-2.2.2/dist-opt/include/ upcr_geninclude/math.h:276, from /usr/local/berkeley_upc-2.2.2/dist-opt/include/ upcr_syshdrs.h:57, from /usr/local/berkeley_upc-2.2.2/dist-opt/include/ upcr.h:46, from hello_obj.c:2: /usr/include/architecture/ppc/math.h:647: error: conflicting types for 'ldexp' make[1]: *** [hello_obj.o] Error 1 make: *** [hello_obj.o] Error 2 Can anyone help me? Thanks, Maria J. Martin University of A Coru�a Spain