Date: Tue, 11 Jan 2000 06:57:47 -0800 From: "Scott Hess" <scott@avantgo.com> To: <freebsd-questions@freebsd.org> Subject: Huge problems building linuxthreads port under 3.4-stable. Message-ID: <1e1301bf5c44$39357740$1e80000a@avantgo.com>
next in thread | raw e-mail | index | archive | help
I'm having significant problems building this port under 3.4-stable, and these problems don't appear to be related to the OS itself. The problems I'm having: The port creates a tm.h file which a comment indicates should match src/gcc/usr.bin/cc/cc_tools/Makefile. The resulting file appears to contain a number of mutually-exclusive includes, plus inclusion of a file which doesn't exist. Assuming this comment actually meant src/gnu/usr.bin/cc/cc_tools/Makefile, then the tm.h file created is very wrong. #include <sys/time.h> needs to be added to freebsd-compat.h and wrapsyscall.c, and #define socklen_t int to wrapsyscall.c. When compiling /usr/src/contrib/gcc/libgcc1.c, I get "cc1: Invalid option `-fexceptions'". If I drop the -fexceptions, I get "tconfig.h:1: gansidecl.h: No such file or directory" (indeed, I can't find that include file in either linuxthreads or /usr/src). If I drop gansidecl.h, the make dies because it doesn't know how to make new1.cc. There's no new1.cc in linuxthreads or /usr/src. At this point, it's clear that I'm making more than cosmetic changes, and even if I manage to get things to compile, it's not going to work for what I need it to work for _anyhow_. [I'm trying to use it for mysql, which involves C++ code, and at this point it looks like it's trying to build the C++ support.] Any ideas? While I could see 3.x-current having support for various different interesting kernel things, I'm not clear why it would be different at _this_ level. Thanks, scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1e1301bf5c44$39357740$1e80000a>