Re: libsavi library NOT FOUND
| Newsgroups | gmane.comp.security.virus.vtools |
|---|---|
| Message-ID | <[email protected]> |
Yes it did fail. The output is attatched... Is something wrong whith my gcc versions? # rpm -qa |grep gcc libgcc-3.2.2-5 gcc-3.2.2-5 gcc-g77-3.2.2-5 gcc-c++-3.2.2-5 # rpm -qa |grep glibc glibc-devel-2.3.2-11.9 glibc-2.3.2-11.9 glibc-kernheaders-2.4-8.10 glibc-utils-2.3.2-11.9 glibc-common-2.3.2-11.9 glibc-profile-2.3.2-11.9 ----- Original Message ----- From: "Alain Fauconnet" <[email protected]> To: "Discussion about Virge/Sophie/Trophie/..." <[email protected]> Sent: Thursday, February 12, 2004 1:20 AM Subject: Re: [vtools] libsavi library NOT FOUND > Can you try to compile the file below with the following command > line? > > gcc -o foo -v -L/usr/local/lib -lsavi foo.c > > If it fails, post the output. > > ----------------- foo.c - cut here ---------------------- > char SAVIsweepFile (); > int > main () > { > SAVIsweepFile (); > ; > return 0; > } > ----------------- foo.c - cut here ---------------------- > > Greets, > _A_ > _______________________________________________ > vtools mailing list > [email protected] > http://www.vanja.com/list/listinfo.cgi/vtools > _______________________________________________ vtools mailing list [email protected] http://www.vanja.com/list/listinfo.cgi/vtools
gcc_output.txt
(text/plain, 2.2 KB)
# gcc -o foo -v -L/usr/local/lib -lsavi foo.c
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=2 -D__GXX_ABI_VERSION=102 -D__ELF__ -Dunix -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i386__ foo.c -quiet -dumpbase foo.c -version -o /tmp/ccsSuJ1M.s
GNU CPP version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) (cpplib) (i386 Linux/ELF)
GNU C version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) (i386-redhat-linux)
compiled by GNU C version 3.2.2 20030222 (Red Hat Linux 3.2.2-5).
ignoring nonexistent directory "/usr/i386-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include
/usr/include
End of search list.
foo.c:8:2: warning: no newline at end of file
as -V -Qy -o /tmp/ccsn7Gmr.o /tmp/ccsSuJ1M.s
GNU assembler version 2.13.90.0.18 (i386-redhat-linux) using BFD version 2.13.90.0.18 20030206
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o foo /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crti.o /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/crtbegin.o -L/usr/local/lib -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.2 -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../.. -lsavi /tmp/ccsn7Gmr.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/crtend.o /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crtn.o
/usr/local/lib/libsavi.so: the `llseek' function may be dangerous; use `lseek64' instead.
/usr/local/lib/libsavi.so: undefined reference to `__ctype_toupper'
/usr/local/lib/libsavi.so: undefined reference to `__ctype_tolower'
collect2: ld returned 1 exit status
#