Thanks,

I have solved the first problem by connecting to admin, but the second one still there.




Regarding the gcc try, you might want to try:
gcc -m64 -o myfile myfile.c -ll -L/opt/sdb/programs/sdk/7500/lib/lib64
-lpcrl -lsqlca -ldl -lm

You need to compile and to link with the '-m64' switch, to create a 64 bit
executable.


I run the command with '-m64' as above,but still got the same result.



ld: fatal: library -lpcrl: not found
ld: fatal: library -lsqlca: not found
ld: fatal: File processing errors. No output written to myfile
collect2: ld returned 1 exit status
jupiter-rql{29} gcc -m64 -o myfile myfile.o y.tab.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
Undefined first referenced
symbol in file
sqlald myfile.o
sqlCPCStBind myfile.o
sqlexti myfile.o
sqlCPCEndInit myfile.o
sqlca myfile.o
sqlCPCPrBind myfile.o
sqlCPCCheck myfile.o
sqlCPCTryExecute myfile.o
sqlCPCGaBind myfile.o
sqlnul myfile.o
sqlCPCExecute myfile.o
sqlclu myfile.o
sqccatb myfile.o
sqcccab myfile.o
sqcckab myfile.o
sqlcdynp myfile.o
sqlCPCPrepare myfile.o
sqlCPCDescribe myfile.o
sqlCPCOpen myfile.o
sqccdaa myfile.o
sqlprc myfile.o
sqccv2b myfile.o
sqccpab myfile.o
sqlCPCLocalBind myfile.o
sqccxab myfile.o
ld: fatal: Symbol referencing errors. No output written to myfile
collect2: ld returned 1 exit status




Any idea will be welcomed.

Lu





Alexander Schr枚der
SAP DB, SAP Labs Berlin

> -----Original Message-----
> From: lu peng [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 18, 2004 9:06 AM
> To: Schroeder, Alexander; [EMAIL PROTECTED]
> Subject: RE: Problem with CPC!!
>
>
> Thanks Schroeder,
>
>
>
> >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.
>
>
> if my license is really expired what should I do? can I get a
> new free one
> from somewhere?


> > > > > > (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. > > > sure, I really want to try this, but where should I put this > parameter in > my command? > >

_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn



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



Reply via email to