TCT Compile Problems on SuSE 8.2
Adam Daniel <[email protected]> Fri, 11 Jul 2003 12:54:42 +1000
| Newsgroups | gmane.comp.security.forensics.tct |
|---|---|
| Message-ID | <[email protected]> |
Hi all, Im having a few issues with compiling the latest TCT version on SuSE 8.2, it appears to be failing on when compiling file. heres the system details: uname -a Linux deadlock 2.4.20-4GB #1 Wed Jul 2 09:56:25 EST 2003 i686 unknown unknown GNU/Linux rpm -q gcc gcc-3.3-23 gcc -v Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux Thread model: posix gcc version 3.3 20030226 (prerelease) (SuSE Linux) ** I notice this is a pre-release ..could this be part of the problem? here the compile errors: chmod 700 . cd src/aux; make "CC=gcc" MAKELEVEL= gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -g -c -o mymalloc.o mymalloc.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -g -c -o error.o error.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -g -c -o strerror.o strerror.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -g -c -o split_at.o split_at.c ar rv aux_lib.a mymalloc.o error.o strerror.o split_at.o a - mymalloc.o a - error.o a - strerror.o a - split_at.o ranlib aux_lib.a cd src/misc; make "CC=gcc" MAKELEVEL= gcc -O -g -I. -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o md5.o md5.c gcc -O -g -I. -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o md5c.o md5c.c gcc -O -g -I. -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ../../bin/md5 md5.o md5c.o gcc -O -g -I. -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o timeout.o timeout.c gcc -O -g -I. -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ../../bin/timeout timeout.o cd src/fstools; make "CC=gcc" MAKELEVEL= gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g -c -o fs_buf.o fs_buf.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g -c -o fs_inode.o fs_inode.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g -c -o fs_io.o fs_io.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g -c -o fs_copy_file.o fs_copy_file.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g -c -o fs_open.o fs_open.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g -c -o ffs.o ffs.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g -c -o ext2fs.o ext2fs.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g -c -o mylseek.o mylseek.c ar rv fs_lib.a fs_buf.o fs_inode.o fs_io.o fs_copy_file.o fs_open.o ffs.o ext2fs.o mylseek.o a - fs_buf.o a - fs_inode.o a - fs_io.o a - fs_copy_file.o a - fs_open.o a - ffs.o a - ext2fs.o a - mylseek.o ranlib fs_lib.a gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g -c -o ils.o ils.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g -o ../../bin/ils ils.o fs_lib.a ../aux/aux_lib.a gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g -c -o unrm.o unrm.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g -o ../../bin/unrm unrm.o fs_lib.a ../aux/aux_lib.a gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g -c -o icat.o icat.c gcc -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../aux -O -g -o ../../bin/icat icat.o fs_lib.a ../aux/aux_lib.a cd src/pcat; make "CC=gcc" MAKELEVEL= gcc -I../aux -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -g -c -o pcat.o pcat.c gcc -I../aux -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -g -o ../../bin/pcat pcat.o ../aux/aux_lib.a cd src/file; make "CC=gcc" MAKELEVEL= gcc -O -g -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc; pwd`/magic\"" -c -o file.o file.c gcc -O -g -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc; pwd`/magic\"" -c -o apprentice.o apprentice.c gcc -O -g -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc; pwd`/magic\"" -c -o fsmagic.o fsmagic.c gcc -O -g -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc; pwd`/magic\"" -c -o softmagic.o softmagic.c gcc -O -g -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc; pwd`/magic\"" -c -o ascmagic.o ascmagic.c gcc -O -g -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc; pwd`/magic\"" -c -o compress.o compress.c gcc -O -g -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc; pwd`/magic\"" -c -o is_tar.o is_tar.c gcc -O -g -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc; pwd`/magic\"" -c -o print.o print.c gcc -O -g -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc; pwd`/magic\"" -c -o international.o international.c gcc -O -g -DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMAGIC="\"`cd ../../etc; pwd`/magic\"" -o ../../bin/file file.o apprentice.o fsmagic.o softmagic.o ascmagic.o compress .o is_tar.o print.o international.o file.o(.text+0x232): In function `unwrap': /usr/src/tct-1.11/src/file/file.c:184: undefined reference to `errno' file.o(.text+0x340): In function `process': /usr/src/tct-1.11/src/file/file.c:223: undefined reference to `errno' file.o(.text+0x411):/usr/src/tct-1.11/src/file/file.c:247: undefined reference to `errno' file.o(.text+0x45d):/usr/src/tct-1.11/src/file/file.c:258: undefined reference to `errno' file.o(.text+0x558):/usr/src/tct-1.11/src/file/file.c:300: undefined reference to `errno' file.o(.text+0x5aa):/usr/src/tct-1.11/src/file/file.c:304: more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [../../bin/file] Error 1 make: *** [what] Error 2 make: *** [compile] Error 2 here it just bombs back to the prompt. is there something simple im missing here or is the gcc version thats causing me grief? Thanks in advance for any light you can shed on this problem. Adam -- Technical Consultant ----------------------------------------------------------------------- FORENSIC DATA SERVICES PTY LIMITED http://www.forensicdata.com.au ------------------------------------------------------------------------ The information contained in this e-mail is confidential and is intended solely for the addressee. If you received this e-mail by mistake please notify us immediately and delete all copies of this message. You must not disclose or use in any way the information in the e-mail. It is the responsibility of the recipient to virus scan this e-mail and any attachments included.