[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] compilation error while cross compiling netperf application...pls help
hi all,
I'm cross compiling a net-perf tool for uclinux-microblaze ( this is a network performance analyzer tool to check the performance of tcp etc)
while cross compiling,
I ran into a compile error. undefined __gtdf2.
its at this point:
=============
usr/loca/microblaze-elf-tools/bin/../lib/gcc-lib/microblaze/2.95.3.4/./../../../../microblaze/lib/libc.a
netperf.elf2flt: In function '__ieee754_sqrt':
/uClinux-dist/uclibc/libm.e_sqrt.c:117 : undefined reference to '__gtdf2'
make: *** [netperf] Error 1
=============
can some 1 help me cross compile this???
The make file looks like this .....
============== Makefile ===============
ifndef ROOTDIR
ROOTDIR=/uClinux-dist
endif
UCLINUX_BUILD_USER = 1
include $(ROOTDIR)/.config
LIBCDIR = $(CONFIG_LIBCDIR)
include $(ROOTDIR)/config.arch
EXEC = netperf
#OBJS = cmds.o cmdtab.o domacro.o ftp.o glob.o main.o ruserpass.o
OBJS = netperf.o netsh.o netlib.o nettest_bsd.o \
nettest_dlpi.o nettest_unix.o \
nettest_xti.o nettest_ipv6.o \
nettest_dns.o
all: $(EXEC)
$(EXEC): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)
romfs:
$(ROMFSINST) /bin/$(EXEC)
clean:
-rm -f $(EXEC) *.gdb *.elf *.o
============= end of makefile ==========