Re: wfmath
On Sun, Oct 20, 2002 at 04:14:38PM +0200, Michael Koch wrote:
> I have uploaded a new version of a library I maintain, wfmath_0.2.9-3.
> The problem is that the mips/el autobuilders didnt built it. Can
> someone please sent me a config.log of wfmath ?
I have tried building wfmath_0.2.10-3. The configure fails.
When calling gcc-3.2 with -lstdc++, it looks like libm has to
be linked in manually, while when calling g++-3.2 this seems to
be done automatically. The configure calls gcc with -libstdc++
and fails:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:752: checking for a BSD compatible install
configure:805: checking whether build environment is sane
configure:862: checking whether make sets ${MAKE}
configure:908: checking for working aclocal-1.4
configure:921: checking for working autoconf
configure:934: checking for working automake-1.4
configure:947: checking for working autoheader
configure:960: checking for working makeinfo
configure:982: checking for c++
configure:1014: checking whether the C++ compiler (g++-3.2 -lstdc++) works
configure:1030: g++-3.2 -o conftest -lstdc++ conftest.C 1>&5
configure:1056: checking whether the C++ compiler (g++-3.2 -lstdc++) is a cross-compiler
configure:1061: checking whether we are using GNU C++
configure:1070: g++-3.2 -E conftest.C
configure:1089: checking whether g++-3.2 accepts -g
configure:1155: checking for Cygwin environment
configure:1171: gcc-3.2 -c -g -Wall -O2 conftest.c 1>&5
configure: In function `main':
configure:1167: `__CYGWIN32__' undeclared (first use in this function)
configure:1167: (Each undeclared identifier is reported only once
configure:1167: for each function it appears in.)
configure: failed program was:
#line 1160 "configure"
#include "confdefs.h"
int main() {
#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1188: checking for mingw32 environment
configure:1200: gcc-3.2 -c -g -Wall -O2 conftest.c 1>&5
configure: In function `main':
configure:1196: `__MINGW32__' undeclared (first use in this function)
configure:1196: (Each undeclared identifier is reported only once
configure:1196: for each function it appears in.)
configure: failed program was:
#line 1193 "configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
configure:1217: checking how to run the C preprocessor
configure:1238: gcc-3.2 -E conftest.c >/dev/null 2>conftest.out
configure:1349: checking host system type
configure:1370: checking build system type
configure:1390: checking for gcc
configure:1503: checking whether the C compiler (gcc-3.2 -g -Wall -O2 -lstdc++) works
configure:1519: gcc-3.2 -o conftest -g -Wall -O2 -lstdc++ conftest.c 1>&5
configure:1516: warning: return type defaults to `int'
/usr/lib/gcc-lib/mipsel-linux/3.2.1/libstdc++.so: undefined reference to `log'
/usr/lib/gcc-lib/mipsel-linux/3.2.1/libstdc++.so: undefined reference to `sqrt'
/usr/lib/gcc-lib/mipsel-linux/3.2.1/libstdc++.so: undefined reference to `cosh'
/usr/lib/gcc-lib/mipsel-linux/3.2.1/libstdc++.so: undefined reference to `cos'
/usr/lib/gcc-lib/mipsel-linux/3.2.1/libstdc++.so: undefined reference to `tanh'
/usr/lib/gcc-lib/mipsel-linux/3.2.1/libstdc++.so: undefined reference to `sin'
/usr/lib/gcc-lib/mipsel-linux/3.2.1/libstdc++.so: undefined reference to `atan2'
/usr/lib/gcc-lib/mipsel-linux/3.2.1/libstdc++.so: undefined reference to `pow'
/usr/lib/gcc-lib/mipsel-linux/3.2.1/libstdc++.so: undefined reference to `sinh'
/usr/lib/gcc-lib/mipsel-linux/3.2.1/libstdc++.so: undefined reference to `log10'
/usr/lib/gcc-lib/mipsel-linux/3.2.1/libstdc++.so: undefined reference to `exp'
/usr/lib/gcc-lib/mipsel-linux/3.2.1/libstdc++.so: undefined reference to `tan'
collect2: ld returned 1 exit status
configure: failed program was:
#line 1514 "configure"
#include "confdefs.h"
main(){return(0);}
HTH,
Karsten
--
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung
oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung.
Reply to:
- References:
- wfmath
- From: Michael Koch <konqueror@gmx.de>