Install problem....

From: Munoz, Jose L. (jmunoz_at_nsf_dot_gov)
Date: Thu Dec 13 2007 - 17:17:06 PST

  • Next message: Dan Bonachea: "Re: Install problem...."
    I tried to install berkeley_upc_2.6.0_xcode2.2_i686.0_xcodeberkeley_upc_2.6.0_xcode2.2_i686.0_xcode on my Mac running Mac OS 10.4.11 and Xcode 2.2.1.
    
    It installed "successfully" however when I try to compile the example upd program (or any program) hello.upc I get the following:
    
    upcc: error compiling translated C code: 
    In file included from /usr/include/math.h:28,
                     from /usr/local/berkeley_upc-2.6.0/opt/include/upcr_geninclude/math.h:275,
                     from /usr/local/berkeley_upc-2.6.0/opt/include/upcr_syshdrs.h:58,
                     from /usr/local/berkeley_upc-2.6.0/opt/include/upcr.h:48,
                     from hello.trans.c:2:
    /usr/include/architecture/i386/math.h:440: error: conflicting types for 'ldexp'
    make: *** [hello.trans.o] Error 1
    
    Help.
    
    Regards
    
    Jos� L. Mu�oz, Ph.D.
    Deputy Director/Senior Science Advisor 
    Office of CyberInfrastructure (OCI)
    National Science Foundation (NSF)
    OD/OCI Suite 1145
    4201 Wilson Blvd
    Arlington, VA 22230
    703-292-8970
    

  • Next message: Dan Bonachea: "Re: Install problem...."