Re: Problems compiling exec_sql_udr bladelet
Posted in 2006
Topics: General Discussion
Rich or Kristín wrote: <snip> > Thanks for the response, there are some other errors at the bottom of > the (long!) list of mi_* errors, I'll have to check those tomorrow when > I'm back in the office <snip> Ok, the other errors look like: /usr/lib/libdl.so: undefined reference to `_rtld_global@GLIBC_PRIVATE' /lib/libc.so.6: undefined reference to `__libc_enable_secure@GLIBC_PRIVATE' I don't understand how I can ignore the mi_* linking errors (and the errors above) if they're preventing the creation of the end product i.e. exec.bld (I'm only getting exec.o produced) ? Thanks, Rich
I've managed to compile it by not using the Makefile, the command I used was: gcc exec.c -o ../bin/exec.bld -lm -I$INFORMIXDIR/incl/public -shared -DMI_SERVBUILD -O The routines seem to execute just fine but : 1. Can anyone see any issues with the way I've compiled the library ? 2. I'd really like to know why the Makefile failed ? Thanks, Rich