Error on compiling in Solaris 10

I was trying to compile my application on solaris 10 and i got these strange long list of errors. i tried to verify the same by just trying to compile the hello world program and got the same error messages. i am using solaris 10 machine with gcc 3.4.2.
Also kindly note that its a 64 bit machine....
i am getting the following error messages:
In file included from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdi
o.h:36,
from hello.c:1:
/usr/include/iso/stdio_iso.h:51:31: sys/feature_tests.h: No such file or directo
ry
/usr/include/iso/stdio_iso.h:52:25: sys/va_list.h: No such file or directory
/usr/include/iso/stdio_iso.h:54:24: stdio_impl.h: No such file or directory
In file included from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdi
o.h:36,
from hello.c:1:
/usr/include/iso/stdio_iso.h:106: error: parse error before "fpos_t"
/usr/include/iso/stdio_iso.h:211: error: redefinition of parameter '_RESTRICT_KY
WD'
/usr/include/iso/stdio_iso.h:211: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:213: error: redefinition of parameter '_RESTRICT_KY
WD'
/usr/include/iso/stdio_iso.h:212: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:213: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdio_iso.h:213: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:214: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdio_iso.h:214: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:215: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdio_iso.h:215: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:218: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdio_iso.h:218: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:220: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdio_iso.h:220: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:226: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdio_iso.h:226: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:229: error: redefinition of parameter '_RESTRICT_KY
WD'
/usr/include/iso/stdio_iso.h:228: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:230: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdio_iso.h:230: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:231: error: parse error before "__va_list"
/usr/include/iso/stdio_iso.h:232: error: parse error before "__va_list"
/usr/include/iso/stdio_iso.h:233: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdio_iso.h:233: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:234: error: parse error before "__va_list"
/usr/include/iso/stdio_iso.h:236: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdio_iso.h:236: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:238: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdio_iso.h:238: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:253: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdio_iso.h:252: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:255: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/stdio_iso.h:254: error: previous definition of '_RESTRICT_KYWD'
was here
/usr/include/iso/stdio_iso.h:257: error: parse error before "fpos_t"
/usr/include/iso/stdio_iso.h:258: error: parse error before '*' token
is it becoz of the gcc i am using, do i need to use some other gcc???
Please help. it is very important that i fix this issue early or else i am dead meat!!!
Thanx in advance
-Sjain

Sorry i have put up the wrong error messages. Please check the other post i have made for the same with the correct error messages. Sorry !!!
-Sjain

Similar Messages

  • Strange errors on compiling in solaris 10

    I was trying to compile my application on solaris 10 and i got these strange long list of errors. i tried to verify the same by just trying to compile the hello world program and got the same error messages. i am using solaris 10 machine with gcc 3.4.2.
    Also kindly note that its a 64 bit machine....
    i am getting the following error messages:
    # bash-3.00$ gcc hello.c -o hello
    In file included from hello.c:1:
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:36:27: iso/stdio_i
    so.h: No such file or directory
    In file included from hello.c:1:
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:194: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:229: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:230: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:236: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:244: error: parse
    error before "size_t"
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:249: error: parse
    error before "size_t"
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:258: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:260: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:284: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:293: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:294: error: parse
    error before "FILE"
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:295: error: parse
    error before '*' token
    Is it becoz of the gcc or something. Please help, as it is very important for me to solve this issue early or else i am dead meat.
    Thanks in advance
    -Sjain

    Thanx Again Robert. But i have been able to resolve the issue. Dont ask me how coz even i dont know. I just installed the gcc 3.3.2 from sunfreeware compatible for solaris 10. yes, the mkheaders command did help me a great extent as simply installing the gcc from sunfreeware site didnt help, i had to explicitly do mkheaders to be able to use the gcc. but at the end of it, i am now running gcc... thankx for ur valuable help and that too a repeated one :-) am a happy man now!!!
    -Sjain

  • Error while compiling on Solaris 2.5.1

    I am trying to install gzip on a Solaris 2.5.1 Ultrasparc.
    In that process I get an error when I run make.
    The error 'Language optional software package not installed'

    It is only supported (meaning, Oracle Support and us on Technet will only answer questions) if you have installed it on Solaris 2.6, as well as the Solaris patches mentioned in the Installation Guide.
    We have had problems with FTP using previous versions of Solaris, and there may be other problems we don't know about.
    null

  • Error while compiling DBI | Solaris 8

    Hi we have soalris8 installed on v240 machine.
    NOw when I'm trying to install DBI following error is coming.
    make: Fatal error: Command failed for target `Perl.o'
    and I have gcc3.2.3 .
    I searched on net but the only solution to this problem seems is recompiling Perl.
    We have two more systems with same configuration, OS and gcc this problem is not coming in those systems.
    Am I missing something ? or I need to recmpile perl with gcc.
    I am novice in it, so can someone please provide command to recompile Perl.
    Thanks in advance
    Himansu

    You need to be a bit more verbose, you would need to post the last few lines before you got this error, and perhaps also the last few lines from your config.log file.
    //Magnus

  • License for cross-compilation for solaris 10 sparc on Linux x86

    I'd like to do cross-compilation for solaris 10 sparc on Linux x86 using gcc (for linux). To do that, I have to copy libraries (/lib/64) and includes (/usr/include) from a sparc machine to my linux machine.
    The compilation will be run on about (up to) 50 Linux machines (by various developers). We also have 3 solaris-10-SPARC machines.
    I wonder if Solaris license allows me to copy the includes and libs to perform compilation elsewhere.
    I also checked "OTN License Agreement for Oracle Solaris", but it looks like Oracle allows for installing "the programs" on up to 3 machines, but I need it on 50.
    Thanks for any suggestions or redirections to a proper place where I can get an answer.
    Marek

    When installing Solaris 10 01/06 on a Dell 1850 I receive an error message during the install saying "no disk found". I assume that the drive/controller is not recognized. The Dell 1850 is listed under the HCL for Solaris 10 10/06. I don't believe I can use the Solaris(TM) Device Driver for the LSI MegaRAID Adapter floppy with 1/06. I don�t have any other Solaris boxes up so I can�t build a jump start server. Any suggestions?

  • Error when compiling whith gcc in order to create a dynamic librairy.

    Hy all,
    I facing the following error at compilation time :
    ld: fatal: relocations remain against allocatable but non-writable sections
    collect2: ld returned 1 exit status
    The list of commands I have issued are here :
    # env
    PATH=/usr/sbin:/usr/bin:/usr/local/bin
    CC=/usr/local/bin/gccLD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib
    Tools used under solaris 8 ( all is under /usr/local/bin)
    ANDIrand-0.7-5.8-sparc-1.pkgbc-1.06-sol8-sparc-local
    binutils-2.20.1-sol8-sparc-local => GNU for sparc
    gcc-3.4.6-sol8-sparc-local => GNU for sparclibiconv-1.13.1-sol8-sparc-local
    libintl-3.4.0-sol8-sparc-localm4-1.4.15-sol8-sparc-local
    libsigsegv-2.9-sol8-sparc-localmake-3.82-sol8-sparc-local
    nss_ldap-265openssl-1.0.0a
    rsaref20.tar => library openssl
    # pwd/usr/local/doc/openssl-1.0.0a/demos/engines/rsaref/install
    # ls -ltotal 490
    -rw-r--r-- 1 root other 7056 Nov 17 14:12 desc.o-rwxr-xr-x 1 root other 27520 Nov 17 14:25 dhdemo
    -rw-r--r-- 1 root other 10216 Nov 17 14:25 dhdemo.o-rw-r--r-- 1 root other 1520 Nov 17 14:12 digit.o
    drwx------ 2 3191 40 512 Mar 25 1994 dos-rw-r--r-- 1 root other 47960 Nov 17 14:12 librsaref.a
    -rwxr-xr-x 1 root other 6056 Nov 17 14:32 librsaref.sodrwx------ 2 3191 40 512 Mar 25 1994 mac
    -rw------- 1 3191 40 1217 Nov 17 14:12 makefile-rw-r--r-- 1 root other 2384 Nov 17 14:12 md2c.o
    -rw-r--r-- 1 root other 4740 Nov 17 14:12 md5c.o-rw-r--r-- 1 root other 5420 Nov 17 14:12 nn.o
    -rw-r--r-- 1 root other 2144 Nov 17 14:12 prime.o-rw-r--r-- 1 root other 2400 Nov 17 14:12 r_dh.o
    -rw-r--r-- 1 root other 3436 Nov 17 14:12 r_encode.o-rw-r--r-- 1 root other 7696 Nov 17 14:12 r_enhanc.o
    -rw-r--r-- 1 root other 3160 Nov 17 14:12 r_keygen.o-rw-r--r-- 1 root other 1372 Nov 17 14:12 r_random.o
    -rw-r--r-- 1 root other 804 Nov 17 14:12 r_stdlib.o-rwxr-xr-x 1 root other 51932 Nov 17 14:25 rdemo
    -rw-r--r-- 1 root other 3660 Nov 17 14:12 rsa.o-rw-r--r-- 1 root other 47960 Nov 17 14:25 rsaref.a
    drwx------ 2 3191 40 512 Mar 25 1994 unix
    COMPILATION COMMAND : "the error is at the end" :
    # gcc -o librsaref.so.2 -shared -Wl,-soname,librsaref.so *.o
    ld: warning: option -o appears more than once, first setting taken
    Text relocation remains
    referenced
    against symbol offset in file
    <unknown> 0xb84 dhdemo.o
    <unknown> 0xb88 dhdemo.o
    <unknown> 0xb8c dhdemo.o
    <unknown> 0xb90 dhdemo.o
    <unknown> 0xb94 dhdemo.o
    <unknown> 0xb98 dhdemo.o
    <unknown> 0xb9c dhdemo.o
    <unknown> 0xba0 dhdemo.o
    <unknown> 0xba4 dhdemo.o
    <unknown> 0xba8 dhdemo.o
    <unknown> 0xbac dhdemo.o
    <unknown> 0xbb0 dhdemo.o
    <unknown> 0xbb4 dhdemo.o
    R_GetRandomBytesNeeded 0x22c dhdemo.o
    NN_Zero 0x978 nn.o
    NN_Zero 0xab4 nn.o
    NN_Zero 0x274 prime.o
    PARAMS2 0x540 dhdemo.o
    PARAMS2 0x544 dhdemo.o
    PARAMS2 0x548 dhdemo.o
    PARAMS2 0x550 dhdemo.o
    PARAMS2 0x55c dhdemo.o
    PARAMS2 0x560 dhdemo.o
    PARAMS2 0x580 dhdemo.o
    PARAMS2 0x6a4 dhdemo.o
    PARAMS2 0x6a8 dhdemo.o
    PARAMS2 0x6b0 dhdemo.o
    PARAMS2 0x844 dhdemo.o
    PARAMS2 0x848 dhdemo.o
    <unknown> 0x608 desc.o
    <unknown> 0x60c desc.o
    <unknown> 0x614 desc.o
    <unknown> 0x618 desc.o
    <unknown> 0x65c desc.o
    <unknown> 0x660 desc.o
    <unknown> 0x66c desc.o
    <unknown> 0x670 desc.o
    <unknown> 0x678 desc.o
    <unknown> 0x67c desc.o
    <unknown> 0x9cc desc.o
    <unknown> 0x9d0 desc.o
    <unknown> 0x9d4 desc.o
    <unknown> 0x9d8 desc.o
    <unknown> 0x9dc desc.o
    <unknown> 0x9e0 desc.o
    <unknown> 0x9e4 desc.o
    <unknown> 0x9e8 desc.o
    <unknown> 0x9ec desc.o
    <unknown> 0x9f0 desc.o
    <unknown> 0x9f4 desc.o
    <unknown> 0x9f8 desc.o
    <unknown> 0x9fc desc.o
    <unknown> 0xa00 desc.o
    <unknown> 0xa04 desc.o
    <unknown> 0xa08 desc.o
    DESX_CBCUpdate 0xed4 r_enhanc.o
    DES3_CBCRestart 0xf28 r_enhanc.o
    R_memset 0x134 desc.o
    R_memset 0x144 desc.o
    R_memset 0x304 desc.o
    R_memset 0x314 desc.o
    R_memset 0x4c8 desc.o
    R_memset 0x4d8 desc.o
    R_memset 0x7e8 desc.o
    R_memset 0x7f8 desc.o
    R_memset 0x808 desc.o
    R_memset 0x384 nn.o
    R_memset 0x638 nn.o
    R_memset 0x648 nn.o
    R_memset 0x688 nn.o
    R_memset 0x6d8 nn.o
    R_memset 0x860 nn.o
    R_memset 0x870 nn.o
    R_memset 0x9c4 nn.o
    R_memset 0x9d4 nn.o
    R_memset 0x9e4 nn.o
    R_memset 0x9f4 nn.o
    R_memset 0xa04 nn.o
    R_memset 0xa14 nn.o
    R_memset 0xa24 nn.o
    R_memset 0xa34 nn.o
    R_memset 0xae4 nn.o
    R_memset 0xaf4 nn.o
    R_memset 0xb04 nn.o
    R_memset 0x2a4 prime.o
    R_memset 0x310 prime.o
    R_memset 0x2b0 r_dh.o
    R_memset 0x390 r_dh.o
    R_memset 0x3a0 r_dh.o
    R_memset 0x160 r_enhanc.o
    R_memset 0x170 r_enhanc.o
    R_memset 0x264 r_enhanc.o
    R_memset 0x274 r_enhanc.o
    R_memset 0x284 r_enhanc.o
    R_memset 0x394 r_enhanc.o
    R_memset 0x488 r_enhanc.o
    R_memset 0x550 r_enhanc.o
    R_memset 0x6e8 r_enhanc.o
    R_memset 0x7cc r_enhanc.o
    R_memset 0x8d4 r_enhanc.o
    R_memset 0x9b8 r_enhanc.o
    R_memset 0x9c8 r_enhanc.o
    R_memset 0xb10 r_enhanc.o
    R_memset 0xb20 r_enhanc.o
    R_memset 0xb90 r_enhanc.o
    R_memset 0xce0 r_enhanc.o
    R_memset 0xe04 r_enhanc.o
    R_memset 0xe14 r_enhanc.o
    R_memset 0x458 r_keygen.o
    R_memset 0x468 r_keygen.o
    R_memset 0x478 r_keygen.o
    R_memset 0x488 r_keygen.o
    R_memset 0x498 r_keygen.o
    R_memset 0x4a8 r_keygen.o
    R_memset 0x4b8 r_keygen.o
    R_memset 0x4c8 r_keygen.o
    R_memset 0x4d8 r_keygen.o
    R_memset 0x4e8 r_keygen.o
    R_memset 0x550 r_keygen.o
    R_memset 0x5d0 r_keygen.o
    R_memset 0x14 r_random.o
    R_memset 0xb8 r_random.o
    R_memset 0x1b4 r_random.o
    R_memset 0xc8 rsa.o
    R_memset 0x1d4 rsa.o
    R_memset 0x290 rsa.o
    R_memset 0x390 rsa.o
    R_memset 0x47c rsa.o
    R_memset 0x48c rsa.o
    R_memset 0x6f8 rsa.o
    R_memset 0x708 rsa.o
    R_memset 0x718 rsa.o
    R_memset 0x728 rsa.o
    R_memset 0x738 rsa.o
    R_memset 0x748 rsa.o
    R_memset 0x758 rsa.o
    R_memset 0x768 rsa.o
    R_memset 0x778 rsa.o
    R_memset 0x788 rsa.o
    R_memset 0x798 rsa.o
    DES_CBCRestart 0xf08 r_enhanc.o
    DESX_CBCRestart 0xf1c r_enhanc.o
    DES3_CBCInit 0xe8c r_enhanc.o
    DES_CBCUpdate 0xebc r_enhanc.o
    DES3_CBCUpdate 0xee0 r_enhanc.o
    DESX_CBCInit 0xe7c r_enhanc.o
    DES_CBCInit 0xe6c r_enhanc.o
    <unknown> 0x7dc dhdemo.o
    <unknown> 0x814 dhdemo.o
    seedByte.0 0x224 dhdemo.o
    seedByte.0 0x244 dhdemo.o
    <unknown> 0xab8 dhdemo.o
    <unknown> 0xabc dhdemo.o
    <unknown> 0x28 dhdemo.o
    <unknown> 0x30 dhdemo.o
    <unknown> 0x3c dhdemo.o
    <unknown> 0x44 dhdemo.o
    <unknown> 0x48 dhdemo.o
    <unknown> 0x50 dhdemo.o
    <unknown> 0x54 dhdemo.o
    <unknown> 0x5c dhdemo.o
    <unknown> 0x60 dhdemo.o
    <unknown> 0x68 dhdemo.o
    <unknown> 0x6c dhdemo.o
    <unknown> 0x74 dhdemo.o
    <unknown> 0x80 dhdemo.o
    <unknown> 0x88 dhdemo.o
    <unknown> 0xc8 dhdemo.o
    <unknown> 0xe8 dhdemo.o
    <unknown> 0xf0 dhdemo.o
    <unknown> 0xf8 dhdemo.o
    <unknown> 0x118 dhdemo.o
    <unknown> 0x120 dhdemo.o
    <unknown> 0x130 dhdemo.o
    <unknown> 0x16c dhdemo.o
    <unknown> 0x180 dhdemo.o
    <unknown> 0x204 dhdemo.o
    <unknown> 0x20c dhdemo.o
    <unknown> 0x268 dhdemo.o
    <unknown> 0x270 dhdemo.o
    <unknown> 0x288 dhdemo.o
    <unknown> 0x290 dhdemo.o
    <unknown> 0x2a4 dhdemo.o
    <unknown> 0x2a8 dhdemo.o
    <unknown> 0x2f0 dhdemo.o
    <unknown> 0x2f8 dhdemo.o
    <unknown> 0x310 dhdemo.o
    <unknown> 0x318 dhdemo.o
    <unknown> 0x32c dhdemo.o
    <unknown> 0x334 dhdemo.o
    <unknown> 0x36c dhdemo.o
    <unknown> 0x374 dhdemo.o
    <unknown> 0x3c0 dhdemo.o
    <unknown> 0x3c8 dhdemo.o
    <unknown> 0x3ec dhdemo.o
    <unknown> 0x3f0 dhdemo.o
    <unknown> 0x414 dhdemo.o
    <unknown> 0x41c dhdemo.o
    <unknown> 0x450 dhdemo.o
    <unknown> 0x458 dhdemo.o
    <unknown> 0x470 dhdemo.o
    <unknown> 0x478 dhdemo.o
    <unknown> 0x4d4 dhdemo.o
    <unknown> 0x4dc dhdemo.o
    <unknown> 0x4f0 dhdemo.o
    <unknown> 0x4f4 dhdemo.o
    <unknown> 0x508 dhdemo.o
    <unknown> 0x510 dhdemo.o
    <unknown> 0x524 dhdemo.o
    <unknown> 0x5c4 dhdemo.o
    <unknown> 0x5cc dhdemo.o
    <unknown> 0x5d4 dhdemo.o
    <unknown> 0x5dc dhdemo.o
    <unknown> 0x600 dhdemo.o
    <unknown> 0x604 dhdemo.o
    <unknown> 0x608 dhdemo.o
    <unknown> 0x618 dhdemo.o
    <unknown> 0x650 dhdemo.o
    <unknown> 0x660 dhdemo.o
    <unknown> 0x674 dhdemo.o
    <unknown> 0x678 dhdemo.o
    <unknown> 0x68c dhdemo.o
    <unknown> 0x690 dhdemo.o
    <unknown> 0x6bc dhdemo.o
    <unknown> 0x6c0 dhdemo.o
    <unknown> 0x760 dhdemo.o
    <unknown> 0x764 dhdemo.o
    <unknown> 0x768 dhdemo.o
    <unknown> 0x790 dhdemo.o
    <unknown> 0x82c dhdemo.o
    <unknown> 0x830 dhdemo.o
    <unknown> 0x85c dhdemo.o
    <unknown> 0x860 dhdemo.o
    <unknown> 0x864 dhdemo.o
    <unknown> 0x878 dhdemo.o
    <unknown> 0x898 dhdemo.o
    <unknown> 0x89c dhdemo.o
    <unknown> 0x8c4 dhdemo.o
    <unknown> 0x8d4 dhdemo.o
    <unknown> 0x92c dhdemo.o
    <unknown> 0x930 dhdemo.o
    <unknown> 0x964 dhdemo.o
    <unknown> 0x968 dhdemo.o
    <unknown> 0x9a8 dhdemo.o
    <unknown> 0x9b8 dhdemo.o
    <unknown> 0x9f0 dhdemo.o
    <unknown> 0x9f4 dhdemo.o
    <unknown> 0xacc dhdemo.o
    <unknown> 0xad4 dhdemo.o
    <unknown> 0xad8 dhdemo.o
    <unknown> 0xae0 dhdemo.o
    <unknown> 0xae4 dhdemo.o
    <unknown> 0xaec dhdemo.o
    <unknown> 0xaf0 dhdemo.o
    <unknown> 0xaf8 dhdemo.o
    <unknown> 0xafc dhdemo.o
    <unknown> 0xb04 dhdemo.o
    <unknown> 0xb08 dhdemo.o
    <unknown> 0xb10 dhdemo.o
    <unknown> 0xb14 dhdemo.o
    <unknown> 0xb1c dhdemo.o
    <unknown> 0xb20 dhdemo.o
    <unknown> 0xb28 dhdemo.o
    <unknown> 0xb2c dhdemo.o
    <unknown> 0xb34 dhdemo.o
    <unknown> 0xb38 dhdemo.o
    <unknown> 0xb40 dhdemo.o
    <unknown> 0xb4c dhdemo.o
    <unknown> 0xb54 dhdemo.o
    <unknown> 0xb5c dhdemo.o
    <unknown> 0xb60 dhdemo.o
    SILENT_PROMPT 0x1ac dhdemo.o
    SILENT_PROMPT 0x1f8 dhdemo.o
    SILENT_PROMPT 0xa58 dhdemo.o
    SILENT_PROMPT 0xa5c dhdemo.o
    SILENT_PROMPT 0xbbc dhdemo.o
    SILENT_PROMPT 0xbc0 dhdemo.o
    __iob 0x640 dhdemo.o
    __iob 0x648 dhdemo.o
    __iob 0x6e4 dhdemo.o
    __iob 0x6e8 dhdemo.o
    __iob 0x9a0 dhdemo.o
    __iob 0x9ec dhdemo.o
    __iob 0xa0c dhdemo.o
    __iob 0xa18 dhdemo.o
    __iob 0xa30 dhdemo.o
    __iob 0xa34 dhdemo.o
    __iob 0xa74 dhdemo.o
    __iob 0xa7c dhdemo.o
    __iob 0xb6c dhdemo.o
    __iob 0xb74 dhdemo.o
    __iob 0xbd8 dhdemo.o
    __iob 0xbe0 dhdemo.o
    __iob 0xbec dhdemo.o
    __iob 0xbf4 dhdemo.o
    fprintf 0x78c dhdemo.o
    fread 0x8f4 dhdemo.o
    fread 0x914 dhdemo.o
    putchar 0xa28 dhdemo.o
    puts 0x208 dhdemo.o
    puts 0xa6c dhdemo.o
    puts 0xa9c dhdemo.o
    puts 0xbd0 dhdemo.o
    sscanf 0x2ac dhdemo.o
    sscanf 0x4f8 dhdemo.o
    sscanf 0x528 dhdemo.o
    fgets 0xbf0 dhdemo.o
    memset 0x340 dhdemo.o
    memset 0x484 dhdemo.o
    memset 0x498 dhdemo.o
    memset 0x18 r_stdlib.o
    fopen 0x64c dhdemo.o
    fopen 0x8c0 dhdemo.o
    fopen 0x9a4 dhdemo.o
    R_SetupDHAgreement 0x2dc dhdemo.o
    fflush 0xa78 dhdemo.o
    fflush 0xb70 dhdemo.o
    fflush 0xbdc dhdemo.o
    fputc 0x7a4 dhdemo.o
    printf 0xb64 dhdemo.o
    R_RandomInit 0x21c dhdemo.o
    R_RandomFinal 0x184 dhdemo.o
    fwrite 0x684 dhdemo.o
    fwrite 0x69c dhdemo.o
    fwrite 0x6cc dhdemo.o
    fwrite 0x774 dhdemo.o
    fwrite 0x9dc dhdemo.o
    malloc 0x2b4 dhdemo.o
    malloc 0x2c4 dhdemo.o
    malloc 0x384 dhdemo.o
    malloc 0x394 dhdemo.o
    malloc 0x3a4 dhdemo.o
    malloc 0x578 dhdemo.o
    malloc 0x598 dhdemo.o
    PARAMS2_READY 0x530 dhdemo.o
    PARAMS2_READY 0x534 dhdemo.o
    PARAMS2_READY 0x5e4 dhdemo.o
    PARAMS2_READY 0x5ec dhdemo.o
    PARAMS2_READY 0x7bc dhdemo.o
    PARAMS2_READY 0x7f0 dhdemo.o
    PARAMS2_READY 0x800 dhdemo.o
    fclose 0x6f8 dhdemo.o
    fclose 0x94c dhdemo.o
    fclose 0xa44 dhdemo.o
    sprintf 0xb50 dhdemo.o
    free 0x348 dhdemo.o
    free 0x350 dhdemo.o
    free 0x4a0 dhdemo.o
    free 0x4a8 dhdemo.o
    free 0x4b0 dhdemo.o
    free 0x54c dhdemo.o
    free 0x554 dhdemo.o
    R_ComputeDHAgreedKey 0x43c dhdemo.o
    R_GenerateDHParams 0x5b0 dhdemo.o
    R_RandomUpdate 0x248 dhdemo.o
    NN_DigitDiv 0x550 nn.o
    .udiv 0xf4 digit.o
    .udiv 0x224 digit.o
    .udiv 0x20 r_encode.o
    .udiv 0xc0c r_enhanc.o
    NN_DigitMult 0xc60 nn.o
    NN_DigitMult 0xcdc nn.o
    .umul 0x20 digit.o
    .umul 0x30 digit.o
    .umul 0x44 digit.o
    .umul 0x54 digit.o
    .umul 0x10c digit.o
    .umul 0x120 digit.o
    .umul 0x23c digit.o
    .umul 0x250 digit.o
    <unknown> 0xf0 md2c.o
    <unknown> 0xf4 md2c.o
    <unknown> 0x194 md2c.o
    <unknown> 0x198 md2c.o
    <unknown> 0x1f0 md2c.o
    <unknown> 0x1f4 md2c.o
    MD2Update 0xf8 md2c.o
    MD2Update 0x108 md2c.o
    MD2Update 0x60 r_enhanc.o
    MD2Init 0x24 r_enhanc.o
    MD2Final 0x98 r_enhanc.o
    R_SealUpdate 0xc38 r_enhanc.o
    R_SealUpdate 0xc88 r_enhanc.o
    <unknown> 0x140 md5c.o
    <unknown> 0x148 md5c.o
    MD5Final 0xa4 r_enhanc.o
    MD5Final 0x4c r_random.o
    MD5Final 0x138 r_random.o
    MD5Update 0x144 md5c.o
    MD5Update 0x154 md5c.o
    MD5Update 0x6c r_enhanc.o
    MD5Update 0x40 r_random.o
    MD5Update 0x12c r_random.o
    MD5Init 0x34 r_enhanc.o
    MD5Init 0x30 r_random.o
    MD5Init 0x11c r_random.o
    NN_Sub 0x5c0 nn.o
    NN_Sub 0x9a0 nn.o
    NN_Sub 0x54 prime.o
    NN_Sub 0xd8 prime.o
    NN_Sub 0x144 prime.o
    NN_Sub 0x16c prime.o
    NN_Sub 0x5c r_dh.o
    NN_Sub 0x100 r_dh.o
    NN_Sub 0xcc r_keygen.o
    NN_Sub 0x1a0 r_keygen.o
    NN_Sub 0x2c8 r_keygen.o
    NN_Sub 0x2dc r_keygen.o
    NN_Sub 0x528 r_keygen.o
    NN_Sub 0x640 rsa.o
    NN_Sub 0x660 rsa.o
    NN_Sub 0x674 rsa.o
    NN_Decode 0x3c prime.o
    NN_Decode 0x208 r_dh.o
    NN_Decode 0x22c r_dh.o
    NN_Decode 0x260 r_dh.o
    NN_Decode 0x2dc r_dh.o
    NN_Decode 0x304 r_dh.o
    NN_Decode 0x32c r_dh.o
    NN_Decode 0x3bc rsa.o
    NN_Decode 0x3d4 rsa.o
    NN_Decode 0x3ec rsa.o
    NN_Decode 0x4b8 rsa.o
    NN_Decode 0x4d0 rsa.o
    NN_Decode 0x4e8 rsa.o
    NN_Decode 0x4fc rsa.o
    NN_Decode 0x510 rsa.o
    NN_Decode 0x524 rsa.o
    NN_Decode 0x538 rsa.o
    NN_Add 0x928 nn.o
    NN_Add 0x80 prime.o
    NN_Add 0xac prime.o
    NN_Add 0xec prime.o
    NN_Add 0x118 prime.o
    NN_Add 0x19c prime.o
    NN_Add 0x70 r_dh.o
    NN_Add 0x114 r_dh.o
    NN_Add 0xa0 r_keygen.o
    NN_Add 0xe0 r_keygen.o
    NN_Add 0x174 r_keygen.o
    NN_Add 0x1b4 r_keygen.o
    NN_Add 0x6c8 rsa.o
    NN_Digits 0x2f8 nn.o
    NN_Digits 0x308 nn.o
    NN_Digits 0x478 nn.o
    NN_Digits 0x750 nn.o
    NN_Digits 0xbc4 nn.o
    NN_Digits 0x214 r_dh.o
    NN_Digits 0x26c r_dh.o
    NN_Digits 0x2e8 r_dh.o
    NN_Digits 0x310 r_dh.o
    NN_Digits 0x3f8 rsa.o
    NN_Digits 0x408 rsa.o
    NN_Digits 0x544 rsa.o
    NN_Digits 0x554 rsa.o
    NN_Digits 0x564 rsa.o
    NN_Cmp 0x5e8 nn.o
    NN_Cmp 0xfc prime.o
    NN_Cmp 0x128 prime.o
    NN_Cmp 0x180 prime.o
    NN_Cmp 0x244 prime.o
    NN_Cmp 0x2f8 prime.o
    NN_Cmp 0x33c r_dh.o
    NN_Cmp 0x224 r_keygen.o
    NN_Cmp 0x5b8 r_keygen.o
    NN_Cmp 0x41c rsa.o
    NN_Cmp 0x578 rsa.o
    NN_Cmp 0x624 rsa.o
    NN_Div 0x678 nn.o
    NN_Div 0x900 nn.o
    NN_Div 0x18c r_dh.o
    NN_ModInv 0x29c r_keygen.o
    NN_ModInv 0x310 r_keygen.o
    NN_ModMult 0x718 nn.o
    NN_ModMult 0x730 nn.o
    NN_ModMult 0x7d0 nn.o
    NN_ModMult 0x7e8 nn.o
    NN_ModMult 0x820 nn.o
    NN_ModMult 0x698 rsa.o
    NN_RShift 0x628 nn.o
    NN_Gcd 0x590 r_keygen.o
    NN_ModExp 0x2e8 prime.o
    NN_ModExp 0x1a8 r_dh.o
    NN_ModExp 0x28c r_dh.o
    NN_ModExp 0x36c r_dh.o
    NN_ModExp 0x44c rsa.o
    NN_ModExp 0x5e8 rsa.o
    NN_ModExp 0x614 rsa.o
    NN_Mult 0x6b0 nn.o
    NN_Mult 0x914 nn.o
    NN_Mult 0x284 r_keygen.o
    NN_Mult 0x2f4 r_keygen.o
    NN_Mult 0x6b0 rsa.o
    NN_Mod 0x6c8 nn.o
    NN_Mod 0xa88 nn.o
    NN_Mod 0x98 prime.o
    NN_Mod 0xc4 prime.o
    NN_Mod 0x268 prime.o
    NN_Mod 0x32c r_keygen.o
    NN_Mod 0x348 r_keygen.o
    NN_Mod 0x5a8 rsa.o
    NN_Mod 0x5c8 rsa.o
    NN_LShift 0x4cc nn.o
    NN_LShift 0x4e4 nn.o
    NN_LShift 0x128 r_dh.o
    NN_Encode 0x1c8 r_dh.o
    NN_Encode 0x1dc r_dh.o
    NN_Encode 0x2a0 r_dh.o
    NN_Encode 0x380 r_dh.o
    NN_Encode 0x374 r_keygen.o
    NN_Encode 0x390 r_keygen.o
    NN_Encode 0x3d0 r_keygen.o
    NN_Encode 0x3e8 r_keygen.o
    NN_Encode 0x400 r_keygen.o
    NN_Encode 0x418 r_keygen.o
    NN_Encode 0x430 r_keygen.o
    NN_Encode 0x448 r_keygen.o
    NN_Encode 0x46c rsa.o
    NN_Encode 0x6e8 rsa.o
    NN_AssignZero 0x1c4 nn.o
    NN_AssignZero 0x2ec nn.o
    NN_AssignZero 0x4ac nn.o
    NN_AssignZero 0x4f8 nn.o
    NN_AssignZero 0x610 nn.o
    NN_AssignZero 0x73c nn.o
    NN_AssignZero 0x88c nn.o
    NN_AssignZero 0x8a0 nn.o
    NN_AssignZero 0x64 prime.o
    NN_AssignZero 0x220 prime.o
    NN_AssignZero 0x2c0 prime.o
    NN_AssignZero 0x40 r_dh.o
    NN_AssignZero 0x7c r_dh.o
    NN_AssignZero 0xe4 r_dh.o
    NN_AssignZero 0x160 r_dh.o
    NN_AssignZero 0x48 r_keygen.o
    NN_AssignZero 0xb0 r_keygen.o
    NN_AssignZero 0xec r_keygen.o
    NN_AssignZero 0x184 r_keygen.o
    NN_AssignZero 0x1c0 r_keygen.o
    NN_AssignZero 0x2ac r_keygen.o
    NN_AssignZero 0x508 r_keygen.o
    NN_AssignZero 0x56c r_keygen.o
    NN_AssignZero 0x5a0 r_keygen.o
    NN_AssignZero 0x5f8 rsa.o
    NN_Assign2Exp 0x1c r_dh.o
    NN_Assign2Exp 0xc0 r_dh.o
    NN_Assign2Exp 0x78 r_keygen.o
    NN_Assign2Exp 0x8c r_keygen.o
    NN_Assign2Exp 0x14c r_keygen.o
    NN_Assign2Exp 0x160 r_keygen.o
    NN_Assign 0x374 nn.o
    NN_Assign 0x6fc nn.o
    NN_Assign 0x850 nn.o
    NN_Assign 0x8b0 nn.o
    NN_Assign 0x8c0 nn.o
    NN_Assign 0x938 nn.o
    NN_Assign 0x948 nn.o
    NN_Assign 0x958 nn.o
    NN_Assign 0x968 nn.o
    NN_Assign 0x9b4 nn.o
    NN_Assign 0xa54 nn.o
    NN_Assign 0xa64 nn.o
    NN_Assign 0xa98 nn.o
    NN_Assign 0xaa8 nn.o
    NN_Assign 0xad4 nn.o
    NN_Assign 0x158 prime.o
    NN_Assign 0x30 r_dh.o
    NN_Assign 0xd4 r_dh.o
    NN_Assign 0x244 r_keygen.o
    NN_Assign 0x254 r_keygen.o
    NN_Assign 0x264 r_keygen.o
    NN_Assign 0x57c r_keygen.o
    <unknown> 0x214 prime.o
    <unknown> 0x218 prime.o
    R_GenerateBytes 0x10 prime.o
    R_GenerateBytes 0x23c r_dh.o
    R_GenerateBytes 0x2c8 r_enhanc.o
    R_GenerateBytes 0x2e4 r_enhanc.o
    R_GenerateBytes 0x50 rsa.o
    GeneratePrime 0xa0 r_dh.o
    GeneratePrime 0x144 r_dh.o
    GeneratePrime 0x110 r_keygen.o
    GeneratePrime 0x1e4 r_keygen.o
    R_SealFinal 0xc9c r_enhanc.o
    R_DecodePEMBlock 0x80c r_enhanc.o
    R_DecodePEMBlock 0x838 r_enhanc.o
    R_DecodePEMBlock 0xa08 r_enhanc.o
    R_DecodePEMBlock 0xd28 r_enhanc.o
    R_DecodePEMBlock 0xd94 r_enhanc.o
    R_EncodePEMBlock 0x734 r_enhanc.o
    R_EncodePEMBlock 0x758 r_enhanc.o
    R_EncodePEMBlock 0x978 r_enhanc.o
    R_EncodePEMBlock 0xc50 r_enhanc.o
    R_EncodePEMBlock 0xcc4 r_enhanc.o
    <unknown> 0x698 r_enhanc.o
    <unknown> 0x69c r_enhanc.o
    <unknown> 0xba8 r_enhanc.o
    <unknown> 0xbac r_enhanc.o
    <unknown> 0xbd4 r_enhanc.o
    <unknown> 0xbd8 r_enhanc.o
    RSAPublicDecrypt 0x208 r_enhanc.o
    R_VerifyUpdate 0x8a0 r_enhanc.o
    R_OpenFinal 0xdd8 r_enhanc.o
    R_OpenInit 0xa34 r_enhanc.o
    R_VerifyFinal 0x8c0 r_enhanc.o
    R_DigestInit 0xbc r_enhanc.o
    R_DigestInit 0x150 r_enhanc.o
    R_DigestInit 0x188 r_enhanc.o
    R_DigestInit 0x254 r_enhanc.o
    R_DigestInit 0xb44 r_enhanc.o
    RSAPublicEncrypt 0x35c r_enhanc.o
    R_SignBlock 0x714 r_enhanc.o
    R_SignBlock 0x90c r_enhanc.o
    RSAPrivateDecrypt 0x4e0 r_enhanc.o
    R_memcmp 0x238 r_enhanc.o
    R_memcmp 0x6a4 r_enhanc.o
    R_DigestUpdate 0xd8 r_enhanc.o
    R_DigestUpdate 0x1a4 r_enhanc.o
    R_DigestUpdate 0xb60 r_enhanc.o
    R_SealInit 0x958 r_enhanc.o
    R_OpenUpdate 0xd4c r_enhanc.o
    R_OpenUpdate 0xdb8 r_enhanc.o
    R_DigestFinal 0xfc r_enhanc.o
    R_DigestFinal 0x1d4 r_enhanc.o
    R_DigestFinal 0xb7c r_enhanc.o
    R_memcpy 0x30c r_enhanc.o
    R_memcpy 0x3cc r_enhanc.o
    R_memcpy 0x3f8 r_enhanc.o
    R_memcpy 0x45c r_enhanc.o
    R_memcpy 0x58c r_enhanc.o
    R_memcpy 0x5b8 r_enhanc.o
    R_memcpy 0x620 r_enhanc.o
    R_memcpy 0x6cc r_enhanc.o
    R_memcpy 0xbb0 r_enhanc.o
    R_memcpy 0xbdc r_enhanc.o
    R_memcpy 0xbec r_enhanc.o
    R_memcpy 0x3a4 r_keygen.o
    R_memcpy 0x3b8 r_keygen.o
    R_memcpy 0x10c r_random.o
    R_memcpy 0x18c r_random.o
    R_memcpy 0x98 rsa.o
    R_memcpy 0x1c4 rsa.o
    R_memcpy 0x264 rsa.o
    R_memcpy 0x380 rsa.o
    R_VerifyBlockSignature 0x860 r_enhanc.o
    R_VerifyBlockSignature 0xafc r_enhanc.o
    RSAPrivateEncrypt 0x134 r_enhanc.o
    R_VerifyInit 0x884 r_enhanc.o
    R_SignInit 0x77c r_enhanc.o
    R_SignUpdate 0x798 r_enhanc.o
    R_SignFinal 0x7b8 r_enhanc.o
    memcmp 0x70 r_stdlib.o
    memcpy 0x44 r_stdlib.o
    ld: fatal: relocations remain against allocatable but non-writable sections
    collect2: ld returned 1 exit status
    Best regards.

    did you compile the *.o's with -fPIC ?

  • Again - compilation under solaris - help!

    Hi all
    I'm trying to compile the following test code:
    #include <occi.h>
    #include <iostream>
    using namespace std;
    using namespace oracle::occi;
    int main(int argc, char ** argv)
    Environment *env;
    Connection * conn;
    try{
    env = Environment::createEnvironment();
    conn = env->createConnection(user, pass, sid);
    env->terminateConnection(conn);
    Environment::terminateEnvironment(env);
    } catch (SQLException &e) {
    cout<<"Exception: %s\n", e.getNLSMessage(env).c_str();
    return 0;
    My system is Solaris 9 sparc 64-bit
    Oracle Database 10.1.0.2
    I run this command:
    CC -I/u00/oracle/product/10.1.0/db_1/rdbms/public -L/u00/oracle/product/10.1.0/db_1/lib -locci10 test.cpp
    and get the famous error
    Undefined first referenced
    symbol in file
    void oracle::occi::Environment::terminateEnvironment(oracle::occi::Environment*) test.o
    oracle::occi::Environment*oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode,void*,void*(*)(void*,unsigned),void*(*)(void*,void*,unsigned),void(*)(void*,void*)) test.o
    oracle::occi::__RTTI__1nGoracleEocciMSQdDLException_ test.o
    [Hint: static member oracle::occi::__RTTI__1nGoracleEocciMSQdDLException_ must be defined in the program]
    ld: fatal: Symbol referencing errors. No output written to a.out
    I've tried to use:
    gcc 3.4.2
    Sun Forte 6.0
    Sun Forte 6.2
    Sun Forte 7
    Sun Studio 10
    all the same
    if I set LD_LIBRARY_PATH and try to link with *.so library - it gives me "wrong ELF class: ELFCLASS64"
    I've tried to install and use Client 10.2 - no effect
    Under Windows it works perfectly.
    What should I do to make this thing compile under Solaris?
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]

    If you want your application to be 32 bit
    - use Sun Forte 6.2 and link with OCCI library under $ORACLE_HOME/lib32
    If you want your application to be 64 bit
    - use Sun Forte 8 and link with libraries under $ORACLE_HOME/lib
    ( You should be passing the 64 bit compile flag "-xarch=v9" )

  • Installing Clamav: configure: error: C compiler cannot create executables

    I want to install clamav-0.93.3 but i keep getting an error at ./configure
    This server doesn't have access to internet so blastwave isn't an option i think.
    Here is my config.log
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by clamav configure 0.93.3, which was
    generated by GNU Autoconf 2.61. Invocation command line was
    $ ./configure CC=/usr/bin/gcc
    ## Platform. ##
    hostname = host-fs1
    uname -m = i86pc
    uname -r = 5.10
    uname -s = SunOS
    uname -v = Generic_118855-36
    /usr/bin/uname -p = i386
    /bin/uname -X = System = SunOS
    Node = host-fs1
    Release = 5.10
    KernelID = Generic_118855-36
    Machine = i86pc
    BusType = <unknown>
    Serial = <unknown>
    Users = <unknown>
    OEM# = 0
    Origin# = 1
    NumCPU = 4
    /bin/arch = i86pc
    /usr/bin/arch -k = i86pc
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /sbin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /usr/sfw/bin
    PATH: /usr/sfw/sbin
    PATH: /usr/ccs/bin
    PATH: /usr/openwin/bin
    PATH: /usr/dt/bin
    PATH: /opt/sfw/bin
    PATH: /opt/sfw/sbin
    ## Core tests. ##
    configure:2028: checking build system type
    configure:2046: result: i386-pc-solaris2.10
    configure:2068: checking host system type
    configure:2083: result: i386-pc-solaris2.10
    configure:2105: checking target system type
    configure:2120: result: i386-pc-solaris2.10
    configure:2205: result: creating target.h - canonical system defines
    configure:2351: checking for a BSD-compatible install
    configure:2407: result: config/install-sh -c
    configure:2418: checking whether build environment is sane
    configure:2461: result: yes
    configure:2489: checking for a thread-safe mkdir -p
    configure:2528: result: config/install-sh -c -d
    configure:2541: checking for gawk
    configure:2571: result: no
    configure:2541: checking for mawk
    configure:2571: result: no
    configure:2541: checking for nawk
    configure:2557: found /usr/bin/nawk
    configure:2568: result: nawk
    configure:2579: checking whether make sets $(MAKE)
    configure:2604: result: no
    configure:2803: checking for gawk
    configure:2830: result: nawk
    configure:2854: checking for a BSD-compatible install
    configure:2910: result: config/install-sh -c
    configure:2921: checking whether ln -s works
    configure:2925: result: yes
    configure:2932: checking whether make sets $(MAKE)
    configure:2957: result: no
    configure:3048: checking for style of include used by make
    configure:3076: result: none
    configure:3146: checking for gcc
    configure:3173: result: /usr/bin/gcc
    configure:3411: checking for C compiler version
    configure:3418: /usr/bin/gcc --version >&5
    gcc (GCC) 3.4.6
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    configure:3421: $? = 0
    configure:3428: /usr/bin/gcc -v >&5
    Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/specs
    Configured with: ../configure with-as=/usr/ccs/bin/as with-ld=/usr/ccs/bin/ld enable-shared enable-languages=c,c++,f77
    Thread model: posix
    gcc version 3.4.6
    configure:3431: $? = 0
    configure:3438: /usr/bin/gcc -V >&5
    gcc: `-V' option must have argument
    configure:3441: $? = 1
    configure:3464: checking for C compiler default output file name
    configure:3491: /usr/bin/gcc conftest.c >&5
    gcc: installation problem, cannot exec `as': No such file or directory
    configure:3494: $? = 1
    configure:3532: result:
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME "clamav"
    | #define PACKAGE_TARNAME "clamav"
    | #define PACKAGE_VERSION "0.93.3"
    | #define PACKAGE_STRING "clamav 0.93.3"
    | #define PACKAGE_BUGREPORT "http://bugs.clamav.net/"
    | #define PACKAGE PACKAGE_NAME
    | #define VERSION "0.93.3"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3539: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=i386-pc-solaris2.10
    ac_cv_env_CC_set=set
    ac_cv_env_CC_value=/usr/bin/gcc
    ac_cv_env_CFLAGS_set=
    ac_cv_env_CFLAGS_value=
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=i386-pc-solaris2.10
    ac_cv_prog_AWK=nawk
    ac_cv_prog_ac_ct_CC=/usr/bin/gcc
    ac_cv_prog_make_make_set=no
    ac_cv_target=i386-pc-solaris2.10
    ## Output variables. ##
    ACLOCAL='${SHELL} /usr/src/clamav-0.93.3src/config/missing --run aclocal-1.10'
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /usr/src/clamav-0.93.3src/config/missing --run tar'
    AR=''
    AUTOCONF='${SHELL} /usr/src/clamav-0.93.3src/config/missing --run autoconf'
    AUTOHEADER='${SHELL} /usr/src/clamav-0.93.3src/config/missing --run autoheader'
    AUTOMAKE='${SHELL} /usr/src/clamav-0.93.3src/config/missing --run automake-1.10'
    AWK='nawk'
    BUILD_CLAMD_FALSE=''
    BUILD_CLAMD_TRUE=''
    CC='/usr/bin/gcc'
    CCDEPMODE=''
    CFGDIR=''
    CFLAGS=''
    CLAMAVGROUP=''
    CLAMAVUSER=''
    CLAMAV_MILTER_LIBS=''
    CLAMD_LIBS=''
    CPP=''
    CPPFLAGS=''
    CYGPATH_W='echo'
    DBDIR=''
    DEFS=''
    DEPDIR='.deps'
    DSYMUTIL=''
    ECHO='echo'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    ENABLE_UNRAR_FALSE=''
    ENABLE_UNRAR_TRUE=''
    EXEEXT=''
    FRESHCLAM_LIBS=''
    GETENT=''
    GREP=''
    HAVE_LIBGMP=''
    HAVE_MILTER_FALSE=''
    HAVE_MILTER_TRUE=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    LDFLAGS=''
    LIBBZ2=''
    LIBBZ2_PREFIX=''
    LIBCLAMAV_LIBS=''
    LIBCLAMAV_VERSION='4:4:0'
    LIBGMP=''
    LIBGMP_PREFIX=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LN_S='ln -s'
    LTLIBBZ2=''
    LTLIBGMP=''
    LTLIBOBJS=''
    MAINT=''
    MAINTAINER_MODE_FALSE=''
    MAINTAINER_MODE_TRUE=''
    MAKEINFO='${SHELL} /usr/src/clamav-0.93.3src/config/missing --run makeinfo'
    NMEDIT=''
    OBJEXT=''
    PACKAGE='clamav'
    PACKAGE_BUGREPORT='http://bugs.clamav.net/'
    PACKAGE_NAME='clamav'
    PACKAGE_STRING='clamav 0.93.3'
    PACKAGE_TARNAME='clamav'
    PACKAGE_VERSION='0.93.3'
    PATH_SEPARATOR=':'
    RANLIB=''
    SED=''
    SET_MAKE='MAKE=make'
    SHELL='/bin/bash'
    STRIP=''
    THREAD_LIBS=''
    TH_SAFE=''
    VERSION='0.93.3'
    VERSIONSCRIPTFLAG=''
    VERSIONSCRIPT_FALSE=''
    VERSIONSCRIPT_TRUE=''
    ac_ct_CC='/usr/bin/gcc'
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__include='#'
    am__isrc=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build='i386-pc-solaris2.10'
    build_alias=''
    build_cpu='i386'
    build_os='solaris2.10'
    build_vendor='pc'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='i386-pc-solaris2.10'
    host_alias=''
    host_cpu='i386'
    host_os='solaris2.10'
    host_vendor='pc'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='$(SHELL) /usr/src/clamav-0.93.3src/config/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='$(top_builddir)/config/install-sh -c -d'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='NONE'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sendmailprog=''
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target='i386-pc-solaris2.10'
    target_alias=''
    target_cpu='i386'
    target_os='solaris2.10'
    target_vendor='pc'
    ## confdefs.h. ##
    #define PACKAGE_NAME "clamav"
    #define PACKAGE_TARNAME "clamav"
    #define PACKAGE_VERSION "0.93.3"
    #define PACKAGE_STRING "clamav 0.93.3"
    #define PACKAGE_BUGREPORT "http://bugs.clamav.net/"
    #define PACKAGE PACKAGE_NAME
    #define VERSION "0.93.3"
    configure: exit 77
    Can anyone please help me i am desperate......
    thanxs

    I need to download the dvd image again its about 2 GB.
    I've downloaded the image. scp SUNWPROT to the server.
    this is the install it didn't go well:
    root@host-fs1:/usr/src# pkgadd -d . SUNWsprot
    Processing package instance <SUNWsprot> from </usr/share/src>
    Solaris Bundled tools(i386) 5.10,REV=2004.12.18
    Copyright 2004 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    This appears to be an attempt to install the same architecture and
    version of a package which is already installed. This installation
    will attempt to overwrite this package.
    The installation of this package was previously terminated and
    installation was never successfully completed.
    Do you want to continue with the installation of <SUNWsprot> [y,n,?] y
    Using </> as the package base directory.
    ## Processing package information.
    ## Processing system information.
    16 package pathnames are already properly installed.
    ## Verifying package dependencies.
    ## Verifying disk space requirements.
    ## Checking for conflicts with packages already installed.
    ## Checking for setuid/setgid programs.
    This package contains scripts which will be executed with super-user
    permission during the process of installing this package.
    Do you want to continue with the installation of <SUNWsprot> [y,n,?] y
    Installing Solaris Bundled tools as <SUNWsprot>
    ## Installing part 1 of 1.
    cpio: Can't read input: end of file encountered prior to expected end of archive.
    1 errors
    Unarchiving of /usr/share/src/SUNWsprot/archive/none failed with error 1
    pkgadd: ERROR: class action script did not complete successfully
    Installation of <SUNWsprot> failed.
    Any suggestions?
    Edited by: arragon_jaap on 25-aug-2008 11:37

  • Link Error with Sample on Solaris

    I am getting linking error when compiling the sample for XML C++ Parser, help anyone ?
    make SAXSample
    gcc -o SAXSample -I../include SAXSample.cpp -L../lib -lxml8 -lxmlc8 -lcore8 -lnls8 -lcore8 -lnls8 -lcore8 -lnsl -lsocket
    Undefined first referenced
    symbol in file
    cout /var/tmp/cczSDNUP.o
    XMLParser::xmlterm(void) /var/tmp/cczSDNUP.o
    XMLParser::xmlinit(unsigned char *, void (*)(void *, unsigned char const *, unsigned int), void *, xmlsaxcb *, void *, unsigned char *)/var/tmp/cczSDNUP.o
    ostream::operator<<(char const *) /var/tmp/cczSDNUP.o
    ostream::operator<<(unsigned int) /var/tmp/cczSDNUP.o
    XMLParser::xmlparse(unsigned char *, unsigned char *, unsigned int)/var/tmp/cczSDNUP.o
    ostream::write(unsigned char const *, int)/var/tmp/cczSDNUP.o
    ostream::flush(void) /var/tmp/cczSDNUP.o
    ld: fatal: Symbol referencing errors. No output written to SAXSample
    collect2: ld returned 1 exit status
    *** Error code 1
    make: Fatal error: Command failed for target `SAXSample'
    null

    I am getting this problem as well. I see it was also reported by 2 other people earler. Has anyone resolved this yet? I also have these unresolved external problems when using the C V1 XML parser. It is almost as if the libs downloaded are for a different version of Solaris and not recognized by the newly compiled objects. I have tried a number of things to resolve this without success.
    Any help would be greatly appreciated.
    Thanks
    Julie Bartlett
    null

  • Assertion problem while using C++ 5.0 compiler on Solaris 2.6

    Hi,
    we are using C++ compiler 5.0 on sparc solaris 2.6 machine.
    when we tried to build the debug version of a particular exe with -g
    option , we are getting the following error message
    Assertion : ( ../links/dgb_cstabs.cc line 1516)
    while compiling a .cc file.
    Compiler options we used is
    /opt/SUNWspro/bin/CC -c -compat=4 -g -KPIC -w -features=namespace,no%except,bool,mutable -verbose=template -DOS_USE_SHORT_NAMES -DINCLUDEALL +d  -DRWSTD_MULTI_THREAD  -D_REENTRANT -D_THREAD_SAFE           -D_POSIX_C_SOURCE=199506L -DOS_NEW_CHECK -DOS_STL_ASSERT     -DOS_NO_WSTRING  -DOS_ALTERNATIVE_STL_NAMES     -DRWSTD_NO_CONST_INST             -DNO_ALLOCATOR_STL -DOS_OMIT_BOOL               -DEXE_HANDLING -DNO_CPLM -DALO_ON -DSUBPROC_ON  -DCANCEL_ON                                     -D__EXTENSIONS__  -DEXPLICIT_OPERATOR_INVOKE            -DSTL_SUPPORT_OPERATOR                   -DSUNSOLARIS    -DWHAT_TIME_DATE="\"Build Date Time Not Set\"" -I/opt/orbplus/include   -I/opt/orbplus/include/naming  -I/opt/SUNWspro/SC5.0/include/CC4 -I/opt/SUNWspro/SC5.0/include/CC -I/usr/include/reentrant                      -I../.. -I../../include                        -I../inc  -I.                            -I/opt/odbc/include                    -I/oracle/home/oracle/include  -I/oracle/home/oracle/rdbms/demo pdl.tab.c -o ../../bin/hpux/obj/pdl.tab.o
    without the -g option ,the file compiles successfully.
    so please throw some light on this problem and help us to getout of
    this problem.
    regards
    tunga

    Assertion problem while using C++ 5.0 compiler on solaris 2.6

  • Sparc C/C++ compiler for Solaris 7 ?

    A legacy programming project is making me dust-off my SPARCstation 20. I believe it has either Solaris 2.6 or Solaris 7 loaded. Although I should upgrade to the latest Solaris, I'm hoping to avoid that nightmare, since this project is a one-off. The old SUNWspro C/C++ compiler on this SS20 was an add-on purchase item back then, and now the debugger (dbxtool) is not working correctly.
    Here is my silly question: Does the Sun Studio C compiler support Solaris 2.6 or Solaris 7 ?
    Thanks.

    My dbxtool is from many moons ago, just after Sun unbundled the standard C compiler from Solaris, and made it a product you had to buy separately. So my C/C++ compiler on Solaris 2.6 is a product known as "SPARCworks 3.0". In SPARCworks they had renamed the traditional dbxtool binary to "debugger". I remember the last time I used this system (at least 8 years ago) the debugger was working, but now when I run it, it stops with the error:
    Debugger: internal error (11).
    Abort.
    I'm not working remotely, I'm on the console.
    I think it will be easiest now to just get a Sunblade/Sparc and load Solaris 10/SunStudio 12.
    There is more to this story for those who are old enough (like me) to remember Disco. I also have an old SPARCstation 2 (3/60) with SunOS 4.1.3 still running. It was used for supporting the ancient SunOS version of our CADDS 4X viewing software. I got it running yesterday, and updated the C source files for the project. Got it to compile without errors, but the regular "dbxtool" that came with OpenWindows fails to load my code. I should be able to do: "dbxtool dvcadds &" and that will load the project, but it just sits there (I'm on the console). I know that used to work. I can still use plain "dbx" on both systems, but that is too painful.
    On the old SunOS system, if I just run "dbxtool", it appears, and I can "run dvcadds", but it doesn't recognize the fact that I have compiled all .o files with cc-g, and won't load source files to step through.
    So I'm still looking at getting a Sunblade with Solaris 10/SunStudio 12...

  • Error on compile - non-static variable can not be referencedfrom static con

    Error on compile happening with addButton?
    Thanks
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.JButton;
    import javax.swing.JLabel;
    import javax.swing.JTextField;
    import javax.swing.JFrame;
    public class Log implements ActionListener {
    JButton addButton;
    public static void addComponentsToPane(Container pane) {
    pane.setLayout(new GridBagLayout());
    GridBagConstraints c = new GridBagConstraints();
         c.gridy = 3;
    c.gridx = 0;
         JLabel callsignLabel= new JLabel("Callsign");
    pane.add(callsignLabel, c);
         c.gridy = 3;
    c.gridx = 1;
         JLabel nameLabel= new JLabel("Name");
    pane.add(nameLabel, c);
         c.gridy = 3;
    c.gridx = 2;
         JLabel timeLabel= new JLabel("Time");
    pane.add(timeLabel, c);
         c.gridy = 3;
    c.gridx = 3;
         JLabel dateLabel= new JLabel("Date");
    pane.add(dateLabel, c);
         c.gridy = 3;
    c.gridx = 4;
         JLabel frequencyLabel= new JLabel("Freq ");
    pane.add(frequencyLabel, c);
         c.gridy = 3;
    c.gridx = 5;
         JLabel locationLabel = new JLabel("Country/State");
    pane.add(locationLabel, c);
    c.gridy = 5;
    c.gridx = 0;
         addButton = new JButton("Add");
    pane.add(addButton, c);
         addButton.addActionListener(this);

    Thank you for the reply
    I am new to Java
    What is wrong with the way it is coded?The error message tells you what's wrong: You're trying to reference a non-static variable from a static context.
    If you don't know what that means, then click the link I provided and look at the results from that google search. You might have to go through a few before you find a satisfactory explanation. And after you've done that, if you have specific questions about things you didn't understand there, please post again.

  • Error while compiling model in Visual Composer 7.1.

    Hi,
    I am getting a error while compiling model in Visual Composer 7.1.
    An exception occurred at the server while running the build process, reason: Extension with id com.sap.vc.runtimeproviders.null not found. For more details please refer to the log file.
    Can any one please tell me what the error is?

    Hello
    This problem usually indicates the model Runtime provider is not set properly
    Please goto configure pane and check the RT provider that is et for the model or any other model in the same DC
    Also services usages require this property to be set accordingly
    To make sure the services are set properly please look into the configuration pane when the respective service usage is selected (and check the same)
    Please let me know if this helped or not
    Guy

  • Error in compiling Flex application: 64K byte limit

    Hi experts ,
    While deploying the VC model , i m getting this error :
    Error in compiling Flex application: Error: A function in the code exceeds the 64K byte limit (actual size = '65557'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document.
          (/usr/sap/NW2/JC00/j2ee/cluster/server0/GUIMachine_Business_Packages/Contribution_Margin_36461/FLEX_COMPILATION_FOLEDR/AAD15VY.mxml:19)
    Failed to compile AAD15VY.mxml
    Could any one help me out in solving this issue ..its urgent ...
    Your suggestions will be rewarded.
    Thanks,
    Pratima

    You have to remove few components from your model to decrease the compiler generated LOC.
    Check the following link for detailed solution:
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=936390
    Taken from SAP Notes:
    <i>Solution
    Doing the following may help:
    1.Divide problematic iViews into a number of nested iViews.
    2.Optimize each model to reduce the number of elements that it
      contains:
      a.Reduce the number of signals by merging signals of the same name.
      b.When your application updates forms with read-only fields, use
        expression boxes and a data store instead of signals.
      c.Minimize the use of animations in your models, including form
        sliding and chart animation effects
      d.Use a data store to store variables, instead of invisible forms.
        To display messages, use a simple text rather than a static dynamic
        expression.
    3.For on-the-spot, temporary workarounds, you can try dragging an empty
      layer onto the Design board. This sometimes solves the problem ad
      hoc, but is not recommended as a best practice.
    </i>

  • Error in compiling flex - 64K limit

    Hi folks,
    I entered a new dimension in the flex compiling error dimension (see error-message below). Can anybody help me? I'm familiar with the 32K-problem ( and do have functional workarounds for that) but this one is a new one for me.
    regards,
    Martin
    Error in compiling Flex application: Error: A function in the code exceeds the 64K byte limit (actual size = '66289'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document.

    Hi Marcel,
    infortunately I'm not allowed atm to make the model public.
    however, I circeled the problem and found a workaround. It has nothing to do with our "old pal 32K", this time it simply was a (sub-)model too large to get deployed (problem with the to-build XML-pakages.)
    Background on this: It's a nested iview collecting a lot of data from different parts of a highliy complex model to process an RFC. For monitoring reasons I've switched some of the tables to visible and that acutally caused the error. After hiding the colums the error vanished. (actually was replaced by the 32K error. But that's like meeting an old friend, no problem any more....)
    I'm looking forward to sharing the model some time. Would be interesting to get some feedback from the comunity..
    regards,
    Martin
    Message was edited by:
            Martin Wolpers

Maybe you are looking for