bocheny 发表于 2010-04-20 19:36

red hat下esql编译出错,寻求帮助!

esql -g -I/home/informix/incl -I/home/informix/incl/esql -c loaddata.ec
loaddata.ec:15: warning: data definition has no type or storage class
loaddata.ec:17: warning: data definition has no type or storage class
cc -g -o loaddata loaddata.o -I/home/informix/incl -I/home/informix/incl/esql -L/usr/lib -L/home/informix/lib -L/home/informix/lib/esql -L/home/informix/lib/cli /home/informix/lib/esql/checkapi.o -lifsql -lifgen -lifos -lifasf -lifglx -lifgls -lm-ldl -lcrypt
/home/informix/lib/esql/libifgls.so: undefined reference to `__ctype_b'
/home/informix/lib/esql/libifgls.so: undefined reference to `__ctype_toupper'
/home/informix/lib/esql/libifgls.so: undefined reference to `__ctype_tolower'
collect2: ld returned 1 exit status
make: *** Error 1


编译出现上述错误,环境为redhat和informix9.4,clientsdk应该为2.8吧??不确定,

上述程序在suse上均编译正常,但是在redhat上编译出错,不知道为何?

liaosnet 发表于 2010-04-20 23:46

直接用esql -o 编译吧...:sleepy::sleepy:
页: [1]
查看完整版本: red hat下esql编译出错,寻求帮助!