Hi Dirk, Wound up solving my own problem somewhat in that I had a few missing libraries. After some further investigation, I had to go back to a machine with RedHat 7.3 on it. Apparently IBM's binary distribution of UniData for linux is compiled on RedHat 7.X, and compiler differences after that make it impossible to "makeudt".
I was able to get callc and intercall compiled and working fine. Also am using a compiled version of some freeware called CALLUB to connect cgi scripts to a UniData database. Good luck with your testing! ---------------------------- Tim MacInnes Email: [EMAIL PROTECTED] ---------------------------- ----- Original Message ----- From: Dirk H Bartley <[EMAIL PROTECTED]> Date: Tuesday, April 6, 2004 10:25 am Subject: Re: Makeudt > Greetings U2-users > > I also am having similar issues. There are three unidata machines > here,1 production and one backup 5.2 on Redhat 7.0 and also one > PersonalEdition on Redhat 9 so I have a couple of machine I can > test with. > > I would like to make it so I can succeed at trying a couple of things > which require making and linking. The things I would like to try are > using callc, callbasic and/or intercall. > > For callc, it is required to follow some steps making a c program and > compiling and then executing makeudt. When I do this I get the > following error: > > [EMAIL PROTECTED] work]# rm udt_test > rm: remove `udt_test'? y > [EMAIL PROTECTED] work]# makeudt > Are you ready to use "cfuncdef" in "/usr/ud52/work" > to make a new udt? (y/n) y > > Generating new udt. It takes a while. > Please wait ... > > make -f new.mk udt: > cc -O2 -c funchead.c > cc -O2 -c interfunc.c > cc -O2 -c callcf.c > cc -O2 -c efs_init.c > cc funchead.o interfunc.o callcf.o efs_init.o > /usr/ud52/work/c_example.o \ > -L/usr/ud52/lib -lapidummy -lshare -ludsql -ludmach -lbasic -lret1 > -lperf -lides -lpipe -lfunc -lndx -lshm -lmglm -lglm -lulc -lcmn - > llicn-ludus -lunix -lbci -lunirpc -lbcidummy -lnfaclnt -lodsdummy \ > -lm -lncurses -lelf -lcrypt -lndbm \ > -o ./udt_test > /usr/bin/ld: cannot find -lndbm > collect2: ld returned 1 exit status > make: *** [udt] Error 1 > Execute "make -f new.mk udt" error, errno = 0 > > Can anybody confirm for me that -lndbm should be replaced with - > lgdbm. > When I try that I get it to compile, but running udt gives me an > immediate segmentation fault. > > > > ictest and intercall > > When I try to compile ictest I get the following: > > [EMAIL PROTECTED] work]# make -f ictest.mak ictest > cc ictest.o -L -luvic -lsocket -lnsl -lm -lc -o ictest > /usr/bin/ld: cannot find -lsocket > collect2: ld returned 1 exit status > make: *** [ictest] Error 1 > > Can anyone tell me if there is a socket library I need to install or > point to?? > > When I try the same things on the personal edition, I get the same > errors. > > > Thanks in advance for any assistance. > > Dirk Bartley > System Administrator > Schupan Aluminum Sales > www.schupanalum.com > > On Sun, 2004-03-21 at 13:51, Tim MacInnes wrote: > > > > Tried using makeudt on a Mandrake Linux 10.0 system and got the > followin output: > > > > ************ > > Are you ready to use "cfuncdef" in "/usr/ud60/work" > > to make a new udt? (y/n) > > Generating new udt. It takes a while. > > Please wait ... > > > > make -f new.mk udt: > > cc -O2 -c funchead.c > > cc -O2 -c interfunc.c > > cc -O2 -c callcf.c > > cc -O2 -c efs_init.c > > cc funchead.o interfunc.o callcf.o efs_init.o \ > > -L/usr/ud60/lib -lapidummy -lshare -ludsql -ludmach -lbasic - > lret1 -lperf -lides -lpipe -lfunc -lndx -lrep -lshm -lmglm -lglm - > lulc -lcmn -llicn -ludus -lunix -lbci -lunirpc -L/.udlibs -lodbc - > lnfaclnt -lodsdummy \ > > -lm -lncurses -lelf -lcrypt -lgdbm -lssl -lcrypto \ > > -o udt > > /usr/ud60/lib/libpipe.a(chk_udir.o)(.text+0x52): In function > `U_check_udtdir':> : warning: `sys_errlist' is deprecated; use > `strerror' or `strerror_r' instead > > /usr/ud60/lib/libfunc.a(fl_syserr.o)(.text+0x13): In function > `U_syserror':> : warning: `sys_nerr' is deprecated; use `strerror' > or `strerror_r' instead > > /usr/ud60/lib/libudsql.a(ss_facc.o)(.text+0xe1): In function > `U_get_midfile':> : warning: the use of `mktemp' is dangerous, > better use `mkstemp' > > /usr/ud60/lib/libfunc.a(U2XML.o)(.text+0xc9e): In function > `read_msg':> : undefined reference to `errno' > > collect2: ld returned 1 exit status > > make: *** [udt] Error 1 > > Execute "make -f new.mk udt" error, errno = 0 > > > > The udt make failed. > > > > > > Anyone run into something like this before? > > > > ---------------------------- > > Tim MacInnes > > Email: [EMAIL PROTECTED] > > ---------------------------- > > > > > > -- > > u2-users mailing list > > [EMAIL PROTECTED] > > http://www.oliver.com/mailman/listinfo/u2-users > > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users > -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
