From owner-freebsd-questions Tue Jan 11 6:58:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from bomber.avantgo.com (ws1.avantgo.com [207.214.200.194]) by hub.freebsd.org (Postfix) with ESMTP id 9C7B914F5D for ; Tue, 11 Jan 2000 06:58:36 -0800 (PST) (envelope-from scott@avantgo.com) Received: from river ([10.0.128.30]) by bomber.avantgo.com (Netscape Messaging Server 3.5) with SMTP id 75 for ; Tue, 11 Jan 2000 06:54:09 -0800 Message-ID: <1e1301bf5c44$39357740$1e80000a@avantgo.com> From: "Scott Hess" To: Subject: Huge problems building linuxthreads port under 3.4-stable. Date: Tue, 11 Jan 2000 06:57:47 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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