Wireshark-bugs: [Wireshark-bugs] [Bug 1704] New: wireshark-0.99.6 does not compiles with if C li
Date: Tue, 24 Jul 2007 08:31:17 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1704

           Summary: wireshark-0.99.6 does not compiles with if C library is
                    not libc (uclibc)
           Product: Wireshark
           Version: 0.99.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: pva@xxxxxxxxxx


Build Information:
this is build problem.
--
Hello. We received the following report: https://bugs.gentoo.org/186424 .
Copying it here so that search 'll work:

I bet there is a missing -lm in LDFLAGS somewhere there.

/bin/sh ./libtool --tag=CC --mode=link i386-gentoo-linux-uclibc-gcc  -DINET6
-D_U_="__attribute__((unused))" -march=i386 -O3 -pipe -fomit-frame-pointer
-fno-stack-protector -Wall -W -Wdeclaration-after-statement -Wendif-labels
-Wpointer-arith -I/usr/local/include -I/usr/include/glib-1.2
-I/usr/lib/glib/include -DNETSNMP_ENABLE_IPV6 -march=i386 -pipe -O2 -Ulinux
-Dlinux=linux -I. -I/usr/include  -L/usr/local/lib -o capinfos  capinfos.o
plugins.o report_err.o privileges.o filesystem.o wiretap/libwiretap.la
-L/usr/lib -rdynamic -lgmodule -lglib -lz 
i386-gentoo-linux-uclibc-gcc -DINET6 "-D_U_=__attribute__((unused))"
-march=i386 -O3 -pipe -fomit-frame-pointer -fno-stack-protector -Wall -W
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-DNETSNMP_ENABLE_IPV6 -march=i386 -pipe -O2 -Ulinux -Dlinux=linux -I.
-I/usr/include -o .libs/mergecap mergecap.o merge.o -rdynamic  -L/usr/local/lib
wiretap/.libs/libwiretap.so -L/usr/lib /usr/lib/libgmodule.so
/usr/lib/libglib.so -lz
wiretap/.libs/libwiretap.so: undefined reference to `modf'
collect2: ld returned 1 exit status
make[2]: *** [mergecap] Error 1
make[2]: *** Waiting for unfinished jobs....
i386-gentoo-linux-uclibc-gcc -DINET6 "-D_U_=__attribute__((unused))"
-march=i386 -O3 -pipe -fomit-frame-pointer -fno-stack-protector -Wall -W
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-DNETSNMP_ENABLE_IPV6 -march=i386 -pipe -O2 -Ulinux -Dlinux=linux -I.
-I/usr/include -o .libs/capinfos capinfos.o plugins.o report_err.o privileges.o
filesystem.o -rdynamic  -L/usr/local/lib wiretap/.libs/libwiretap.so -L/usr/lib
/usr/lib/libgmodule.so /usr/lib/libglib.so -lz
rm -f .libs/tshark.nm .libs/tshark.nmS .libs/tshark.nmT
creating .libs/tsharkS.c
(cd .libs && i386-gentoo-linux-uclibc-gcc  -march=i386 -O3 -pipe
-fomit-frame-pointer -fno-stack-protector -c -fno-builtin "tsharkS.c")
wiretap/.libs/libwiretap.so: undefined reference to `modf'
collect2: ld returned 1 exit status
make[2]: *** [capinfos] Error 1

As soon as we resolve the issue, I'll post patch here.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.