Re: LIBARAIES
Posted in 2000
Just get rid of the INFORMIXLIBS variable altogether (Informix feels it's their right, nay their duty, to change the libraries, their names, and their contents frequently) and replace cc with c4gl and all will be well. C4gl will always know what Informix libraries it needs to link in. Art S. Kagel Thorsten Zech wrote: > > HI ! > > I have two big problems : > > I must recompile an old 4GL Sources Code under SuSe Linux 7.0 (4GL Version > 7.3) > The old Source was written on SCO OpenServer 5.0.2 with 4GL Version 6.04. > The old makefile include one Informixlibrary, there are not in the 7.3 4GL > Version. > > the name INFORMIXLIBS=$(INFORMIXDIR)/lib/netlib.a > > ---------- > what is new name of the library, it is maybe substituted by netsubst.a. > > My other Problem concerns the LINUXLIBs. > > the error message : > > xxx.o(.text+0xad) undefinded references > .... > .... > .... > and so on > > (all Object entries in the makefile) > > extract of the makefile : > > # EXECUTE=x1x1 > > # LFLAGS=-lnsl_s -lprot -lsocket -lx -lsurses -lm -lcrypt_i -lm -lcurses > > # cc -c xxx $(MYLIBS) $(INFORMIXLIBS) -o xxx.out $(LFLAGS) > > -----------> my problem !!! > > Where are these LIBRARIES under SuSE Linux 7.0. > > Can anybody help me, please !!! > > THANKS !