Crreating a UDR on HPUX 10.20
Posted in 2000
dgmyrs@my-deja.com — — source: Informix-list mailing list archive (1991-1998)
I have a simple c routine that I am trying to compile into a shared library, but the only examples I can find are for Solaris. The file I am trying to compile is named checkcaps.c. I first issue the following command: >cc -PIC -DMI_SERVBUILD -I/home/informix_udo/incl/public - I/home/informix_udo/incl -L/home/informix_udo/esql/lib -c checkcaps.c This results in a checkcaps.i file. I then issue: >ld -G checkcaps.i -o checkcaps.so This returns the following error: ld: checkcaps.i: Not a valid object file (invalid system id) Any ideas? Sent via Deja.com http://www.deja.com/ Before you buy.