From owner-freebsd-current Fri Oct 18 19:52: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 450A137B401 for ; Fri, 18 Oct 2002 19:52:03 -0700 (PDT) Received: from pimout3-ext.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id A235943EA3 for ; Fri, 18 Oct 2002 19:52:02 -0700 (PDT) (envelope-from wa1ter@hotmail.com) Received: from hotmail.com (adsl-67-119-36-231.dsl.lsan03.pacbell.net [67.119.36.231]) by pimout3-ext.prodigy.net (8.12.3 da nor stuldap/8.12.3) with ESMTP id g9J2q1ne208390 for ; Fri, 18 Oct 2002 22:52:01 -0400 Message-ID: <3DB0C854.203@hotmail.com> Date: Fri, 18 Oct 2002 19:49:56 -0700 From: walt Organization: none User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021017 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: open-motif compilation problem Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG While compiling the open-motif port on -CURRENT I see this error during the 'configure' phase. Anyone else seeing this? checking for vprintf... yes checking whether sprintf returns void... Bus error (core dumped) yes checking for wcslen... yes =============================================== This seems to be the code that causes the error: =============================================== echo $ac_n "checking whether sprintf returns void""... $ac_c" 1>&6 echo "configure:8121: checking whether sprintf returns void" >&5 if eval "test \"`echo '$''{'ac_cv_func_void_sprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then ac_cv_func_void_sprintf=yes else cat > conftest.$ac_ext < int sprintf(); main() { exit(sprintf(".")); } EOF if { (eval echo configure:8134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_void_sprintf=no else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_func_void_sprintf=yes fi rm -fr conftest* fi fi echo "$ac_t""$ac_cv_func_void_sprintf" 1>&6 if test $ac_cv_func_void_sprintf = no; then cat >> confdefs.h <<\EOF #define VOID_SPRINTF 1 EOF fi ================= From config.log: ================= configure:8121: checking whether sprintf returns void configure:8134: cc -o conftest -O -pipe -mcpu=pentiumpro -DCSRG_BASED -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI conftest.c 1>&5 configure: failed program was: #line 8129 "configure" #include "confdefs.h" #include int sprintf(); main() { exit(sprintf(".")); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message