Hello,

        (1)     When using the Sun Workshop compiler, the license of your compiler, 
the compiler's license was found invalid. 
                You should check that before retrying.

        (2)     I can only guess about what's happening with the gcc experiment, but 
for me it looks like you compiled for a 32-bit
                target, and wanted to link with 64 bit libraries. As the precompiler 
runtime library is C, it may indeed possibly that
                you had succeed otherwise. You may want to try the '-m64' switch of 
gcc.  

Regards

Alexander SchrÃder
SAP DB, SAP Labs Berlin 

> -----Original Message-----
> From: lu peng [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 18, 2004 7:45 AM
> To: [EMAIL PROTECTED]
> Subject: Problem with CPC!!
> 
> 
> Hello,
> 
> I have a cpc file which was compiled on linux(redhat 
> 9,maxdb-all-linux-32bit-i386-7_5_0_8) successfully.
> 
> Today, I just installed maxdb on solaris(sun workshop6 
> 64bit,maxdb-all-sun-64bit-sparc-7_5_00_12) successfully.
> 
> but when i compiled this cpc file on the new envirnment,some errors 
> happened as below:
> 
> -------------------------------------------
> 1, 
> 
> after "cpc -d test01 -u dba,dba -S oracle myfile
> 
> I got a myfile.lst as following
> 
> >>>>>
> ucbcc: Warning: Option 
> -YP,:/usr/ucblib/sparcv9:/opt/SUNWspro/WS6U2/bin/../lib/sparcv
> 9:/opt/SUNWspro/WS
> 
> 6U2/bin/sparcv9:/usr/ccs/lib/sparcv9:/usr/lib/sparcv9 passed 
> to ld, if ld 
> is invoked, ignored otherwise
> ucbcc: Warning: "-Xt" redefines compatibility mode from "SunC 
> transition" 
> to "ANSI transition"
> ucbcc: Invalid input file name 
> /opt/sdb/programs/sdk/7500/incl, no output 
> generated for this file.
> ucbcc: Invalid input file name /opt/sdb/programs/incl, no 
> output generated 
> for this file.
> 
> License Error : The license for this product(Sun WorkShop 
> Compiler C SPARC) 
> has expired
> Feature has expired
> Feature:workshop.c.sparc
> Expire date:26-oct-2002
> FLEXlm error:-10,32. 
> 
> ---------------------------------------------
> 2, 
> 
> I used the myfile.c to go on my work with no change and got 
> the followling 
> massage after i run 
> 
> "gcc -o myfile myfile.o -ll 
> -L/opt/sdb/programs/sdk/7500/lib/lib64 -lpcrl 
> -lsqlca -ldl -lm"
> 
> >>>>>
> ld: warning: file 
> /opt/sdb/programs/sdk/7500/lib/lib64/libpcrl.a(vpi01Libpcrl-d.
> o): wrong ELF 
> class: ELFCLASS64
> ld: warning: file 
> /opt/sdb/programs/sdk/7500/lib/lib64/libsqlca.a(vpi30cac.o): 
> wrong ELF 
> class: ELFCLASS64
> ........
> ld: fatal: Symbol referencing errors. No output written to myfile
> collect2: ld returned 1 exit status
> -----------------------------------------
> 
> could anybody tell me what happened??
> thanks,
> 
> Lu
> 
> _________________________________________________________________
> äèæçæåèèäæïèäç MSN Messenger:  
> http://messenger.msn.com/cn  
> 
> 
> -- 
> MaxDB Discussion Mailing List
> For list archives: http://lists.mysql.com/maxdb
> To unsubscribe:    
> http://lists.mysql.com/[EMAIL PROTECTED]
> 

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to