Compiling UPS on sparc-solaris8 with gcc = error?

From: Hans-Thomas Götz (goetz_at_pdtec.de)
Date: Mon Sep 02 2002 - 09:33:53 BST

  • Next message: moneyhome_at_amikkiworld.com: "FREE traffic to your website !"
    Hello,
    
    i downloaded the ups-3.37 sources to compile them on our Sun-Blade-100 under Solaris 8. I am using gcc 3.0.2.
    I configured ups with:
    env CC=gcc ./configure --prefix=/usr/local --x-includes=/usr/openwin/include --x-libraries=/usr/openwin/lib --host=sun4u
    
    Compiling after configure produces the following error:
    make[1]: Entering directory `/usr/install/packages/ups/ups-3.37/ups'
    gcc -c -pipe -g -O2  -DHAVE_CONFIG_H  -I.  -I/usr/openwin/include -Idevelhdrs   ./ao_symload.c
    ao_symload.c:1808: parse error before "ao_compiler"
    ao_symload.c:1809: parse error before "fil_t"
    ao_symload.c:1809: warning: data definition has no type or storage class
    ao_symload.c:1810: parse error before "compiler_found"
    ao_symload.c:1810: warning: data definition has no type or storage class
    ao_symload.c:1811: parse error before "compiler"
    ao_symload.c:1811: warning: data definition has no type or storage class
    ao_symload.c:1814: parse error before "likely"
    ao_symload.c:1814: `CT_UNKNOWN' undeclared here (not in a function)
    ao_symload.c:1814: warning: data definition has no type or storage class
    ao_symload.c:1816: parse error before "if"
    ao_symload.c:1830: initializer element is not constant
    ao_symload.c:1830: warning: data definition has no type or storage class
    ao_symload.c:1831: parse error before "if"
    ao_symload.c: In function `set_compiler_version':
    ao_symload.c:1839: `compiler_version' undeclared (first use in this function)
    ao_symload.c:1839: (Each undeclared identifier is reported only once
    ao_symload.c:1839: for each function it appears in.)
    ao_symload.c: In function `get_compiler_version':
    ao_symload.c:1844: `compiler_version' undeclared (first use in this function)
    make[1]: *** [ao_symload.o] Error 1
    make[1]: Leaving directory `/usr/install/packages/ups/ups-3.37/ups'
    make: *** [ups] Error 2
    
    
    Please let me know where the problem is and how i can solve the problem.
    
    Please reply to goetz_at_pdtec.de
    
    Thanks in advance.
    
    Thomas
    


    This archive was generated by hypermail 2.1.4 : Mon Sep 02 2002 - 14:34:44 BST