This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Please help with library


Hallo

I am using an old library from Entropic, probably compiled with libc5
and I got core dumped.

I installed compat-* and I updated the settings as following (in
makefile):

OBJS = energy.o
SRCS = energy.c
PROGNAME =  energy
MANNAME = energy.1
DEFPARAM = Penergy

GLIBC20=/usr/i386-glibc20-linux

CFLAGS=-O -DSCCS -I$(ESPS_BASE)/include -I $(GLIBC20)/include -DLINUX \
        -b i386-glibc20-linux
LINK_FLAGS=-L$(ESPS_BASE)/lib -L $(GLIBC20)/lib -b i386-glibc20-linux

$(PROGNAME):    $(OBJS)
        gcc $(LINK_FLAGS) $(OBJS) -lexv -lhdre -lespsg -lm -o
$(PROGNAME)

energy.o: energy.c
        gcc $(CFLAGS) -c energy.c -o energy.o


Now the program works but I guess there is a problem with dynmaic links.
The sqrt function doesn't work!!!

What is it wrong?

Please send a mail to my address, I am not in your mailing list.

Thanks a lot in advance


Attilio Erriquez
Institute of Phonetics, University of the Saarland
D-66041 Saarbruecken, Germany
tel: +49 681 302 4244        fax: +49 681 302 4684




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]