On Mon, 17 Feb 2003 07:02:49 +0100
[EMAIL PROTECTED] wrote:
gcc-3.1 ?
> Hello
>
> I can't build fam-oss. This is a totally new install, with everything
>
> up to date.
>
> $ ACCEPT_KEYWORDS="x86" emerge -vup --deep fam-oss
>
> give only fam-oss, so I can't upgrade anything. Any tips on
> downgrading?
>
> Output from emerge:
>
> $ emerge fam-oss
> Calculating dependencies ...done!
> >>> emerge (1 of 1) app-admin/fam-oss-2.6.9 to /
> >>> md5 fam-2.6.9.tar.gz
> >>> md5 dnotify.patch
> >>> Unpacking source...
> >>> Unpacking fam-2.6.9.tar.gz
> patching file acconfig.h
> patching file configure.in
> Hunk #1 succeeded at 103 (offset 4 lines).
> Hunk #3 succeeded at 607 (offset 8 lines).
> patching file fam/DNotify.c++
> patching file fam/DNotify.h
> patching file fam/IMon.h
> patching file fam/Interest.c++
> Hunk #1 succeeded at 43 (offset 2 lines).
> Hunk #3 succeeded at 110 (offset 2 lines).
> Hunk #5 succeeded at 157 (offset 2 lines).
> patching file fam/Interest.h
> patching file fam/Makefile.am
> patching file fam/Monitor.h
> patching file include/BTree.h
> patching file fam/Scheduler.h
> Hunk #1 succeeded at 105 (offset 1 line).
> * Working directory: /var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9...
> * Applying libtool-relink.patch...
> * Applying libtool-tmp.patch...
> * Applying libtool-portage.patch...
> configure.in:40: warning: do not use m4_patsubst: use patsubst or
> m4_bpatsubst configure.in:602: warning: do not use m4_regexp: use
> regexp or m4_bregexp WARNING: Using auxiliary files such as
> `acconfig.h', `config.h.bot' WARNING: and `config.h.top', to define
> templates for `config.h.in' WARNING: is deprecated and discouraged.
>
> WARNING: Using the third argument of `AC_DEFINE' and
> WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
> WARNING: `acconfig.h':
>
> WARNING: AC_DEFINE([NEED_MAIN], 1,
> WARNING: [Define if a function `main' is needed.])
>
> WARNING: More sophisticated templates can also be produced, see the
> WARNING: documentation.
> autoheader-2.54: `config.h.in' is updated
> >>> Source unpacked.
> configure: WARNING: If you wanted to set the --build type, don't use
> --host. If a cross compiler is detected then cross compile mode will
> be used. checking for a BSD-compatible install... /bin/install -c
> checking whether build environment is sane... yes
> /var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9/missing: Unknown `--run'
> option Try `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9/missing
> --help' for more information configure: WARNING: `missing' script is
> too old or missing checking for gawk... gawk
> checking whether make sets ${MAKE}... yes
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for style of include used by make... GNU
> checking for i686-pc-linux-gnu-gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking dependency style of gcc... none
> checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
> checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld...
> yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object
> files... -r checking for BSD-compatible nm... nm
> checking whether ln -s works... yes
> checking how to recognise dependant libraries... pass_all
> checking command to parse nm output... ok
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking for i686-pc-linux-gnu-ranlib... no
> checking for ranlib... ranlib
> checking for i686-pc-linux-gnu-strip... no
> checking for strip... strip
> checking for objdir... .libs
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.lo... yes
> checking if gcc supports -fno-rtti -fno-exceptions... yes
> checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports
> shared libraries... yes checking how to hardcode library paths into
> programs... immediate checking whether stripping libraries is
> possible... yes checking dynamic linker characteristics... GNU/Linux
> ld.so checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking whether -lc should be explicitly linked in... no
> creating libtool
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... none
> checking how to run the C++ preprocessor... g++ -E
> checking for ranlib... (cached) ranlib
> checking for a BSD-compatible install... /bin/install -c
> checking whether make sets ${MAKE}... (cached) yes
> checking for tar... /bin/tar
> checking for ldconfig... /sbin/ldconfig
> checking for dnotify fcntl support... yes
> checking linux/imon.h usability... no
> checking linux/imon.h presence... no
> checking for linux/imon.h... no
> Using imon support module IMonNone
> checking sys/statvfs.h usability... yes
> checking sys/statvfs.h presence... yes
> checking for sys/statvfs.h... yes
> checking sys/syssgi.h usability... no
> checking sys/syssgi.h presence... no
> checking for sys/syssgi.h... no
> checking sys/fs/nfs_clnt.h usability... no
> checking sys/fs/nfs_clnt.h presence... no
> checking for sys/fs/nfs_clnt.h... no
> checking SGI_NOHANG... no
> checking for _daemonize... no
> checking for daemon... yes
> checking getgrmember... no
> checking for stat.st_fstype string... no
> checking for stat.st_ctim.tv_nsec (nanoseconds)... no
> checking for mountlist struct... no
> checking for mountlist pointer... yes
> checking mntent.h for MNTTYPE_NFS... yes
> checking mntent.h for MNTTYPE_NFS2... no
> checking mntent.h for MNTTYPE_NFS3... no
> checking mntent.h for MNTTYPE_CACHEFS... no
> checking netinet/in.h for bindresvport()... yes
> checking for prmap_sgi_t... no
> checking for socklen_t... yes
> checking for built-in bool... yes
> checking for C++ namespace support... yes
> checking for echo... /bin/echo
> checking for echo -e flag... /bin/echo -e
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating build/Makefile
> config.status: creating build/rpm/Makefile
> config.status: creating build/rpm/rpm.spec
> config.status: creating fam/Makefile
> config.status: creating fam/fam.conf
> config.status: creating include/Makefile
> config.status: creating libfam/Makefile
> config.status: creating man/Makefile
> config.status: creating man/fam.1m
> config.status: creating support/Makefile
> config.status: creating test/Makefile
> config.status: creating util/Makefile
> config.status: creating util/editconf/Makefile
> config.status: creating config.h
> config.status: executing default-1 commands
> config.status: executing default-2 commands
> config.status: executing default-3 commands
> removing maintainer comments from fam/fam.conf
> config.status: executing default-4 commands
> replacing XXX_FAM_CONF with /etc/fam.conf and removing maintainer
> comments in man/fam.1m cd . && \
> automake --gnu Makefile
> cd . && \
> CONFIG_HEADERS= CONFIG_LINKS= \
> CONFIG_FILES=Makefile /bin/sh ./config.status
> config.status: creating Makefile
> config.status: executing default-1 commands
> config.status: executing default-2 commands
> config.status: executing default-3 commands
> config.status: executing default-4 commands
> cd . && autoheader
> WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
> WARNING: and `config.h.top', to define templates for `config.h.in'
> WARNING: is deprecated and discouraged.
>
> WARNING: Using the third argument of `AC_DEFINE' and
> WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
> WARNING: `acconfig.h':
>
> WARNING: AC_DEFINE([NEED_MAIN], 1,
> WARNING: [Define if a function `main' is needed.])
>
> WARNING: More sophisticated templates can also be produced, see the
> WARNING: documentation.
> autoheader-2.54: `config.h.in' is unchanged
> cd . \
> && CONFIG_FILES= CONFIG_HEADERS=config.h \
> /bin/sh ./config.status
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing default-1 commands
> config.status: executing default-2 commands
> config.status: executing default-3 commands
> config.status: executing default-4 commands
> make all-recursive
> make[1]: Entering directory
> `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9' Making all in util
> make[2]: Entering directory
> `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9/util' Making all in
> editconf make[3]: Entering directory
> `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9/util/editconf' make[3]:
> Nothing to be done for `all'. make[3]: Leaving directory
> `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9/util/editconf' make[3]:
> Entering directory
> `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9/util' make[3]: Nothing
> to be done for `all-am'. make[3]: Leaving directory
> `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9/util' make[2]: Leaving
> directory `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9/util' Making
> all in include make[2]: Entering directory
> `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9/include' make[2]:
> Nothing to be done for `all'. make[2]: Leaving directory
> `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9/include' Making all in
> support make[2]: Entering directory
> `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9/support' Makefile:318:
> no file name for `-include' g++ -DHAVE_CONFIG_H -I. -I. -I..
> -I../include -DCONFIG_ETC_CONFIG_PATH=\"/etc/fam.conf\"
> -march=pentium3 -O3 -pipe -fomit- frame-pointer -c -o dummy.o `test -f
> dummy.c++ || echo './'`dummy.c++ rm -f libsupport.a
> ar cru libsupport.a dummy.o
> ranlib libsupport.a
> make[2]: Leaving directory
> `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9/support' Making all in
> libfam make[2]: Entering directory
> `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9/libfam' /bin/sh
> ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
> -I../include -DCONFIG_ETC_CONFIG_PATH=\"/etc/fam.conf\" -
> march=pentium3 -O3 -pipe -fomit-frame-pointer -c -o Client.lo `test -f
> Client.c++ || echo './'`Client.c++ /bin/sh ../libtool --mode=compile
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
> -DCONFIG_ETC_CONFIG_PATH=\"/etc/fam.conf\" - march=pentium3 -O3 -pipe
> -fomit-frame-pointer -c -o fam.lo `test -f fam.c++ || echo
> './'`fam.c++ mkdir .libs
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
> -DCONFIG_ETC_CONFIG_PATH=\"/etc/fam.conf\" -march=pentium3 -O3 -pipe
> -fomit- frame-pointer -c Client.c++ -fPIC -DPIC -o .libs/Client.lo rm
> -f .libs/fam.lo g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
> -DCONFIG_ETC_CONFIG_PATH=\"/etc/fam.conf\" -march=pentium3 -O3 -pipe
> -fomit- frame-pointer -c fam.c++ -fPIC -DPIC -o .libs/fam.lo In file
> included from Client.h:27, from fam.c++:37:
> ../include/BTree.h:241: warning: `typename BTree<Key, Value>::Closure'
> is implicitly a typenameIn file included from
> /usr/include/g++-v32/backward/iostream.h:31, from Client.c++:37:
> /usr/include/g++-v32/backward/backward_warning.h:32:2: warning:
> #warning This file includes at least one deprecated or antiquated
> header. Please consider using one of the 32 headers found in section
> 17.4.1.2 of the C++ standard. Examples include substituting the <X>
> header for the <X.h> header for C++ includes, or <sstream> instead of
> the deprecated header <strstream.h>. To disable this warning use
> -Wno-deprecated.
>
> ../include/BTree.h:241: warning: implicit typename is deprecated,
> please see the documentation for details
> ../include/BTree.h:353: warning: `typename BTree<Key, Value>::Closure'
> is implicitly a typename
> ../include/BTree.h:353: warning: implicit typename is deprecated,
> please see the documentation for details
> ../include/BTree.h:409: warning: `typename BTree<Key, Value>::Closure'
> is implicitly a typename
> ../include/BTree.h:409: warning: implicit typename is deprecated,
> please see the documentation for details
> ../include/BTree.h:504: warning: `typename BTree<Key, Value>::Status'
> is implicitly a typename
> ../include/BTree.h:504: warning: implicit typename is deprecated,
> please see the documentation for details
> ../include/BTree.h:562: warning: `typename BTree<Key, Value>::Closure'
> is implicitly a typename
> ../include/BTree.h:562: warning: implicit typename is deprecated,
> please see the documentation for details
> ../include/BTree.h:592: warning: `typename BTree<Key, Value>::Status'
> is implicitly a typename
> ../include/BTree.h:592: warning: implicit typename is deprecated,
> please see the documentation for details
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
> -DCONFIG_ETC_CONFIG_PATH=\"/etc/fam.conf\" -march=pentium3 -O3 -pipe
> -fomit- frame-pointer -c fam.c++ -o fam.o >/dev/null 2>&1 mv -f
> .libs/fam.lo fam.lo In file included from Client.h:27,
> from Client.c++:40:
> ../include/BTree.h:241: warning: `typename BTree<Key, Value>::Closure'
> is implicitly a typename
> ../include/BTree.h:241: warning: implicit typename is deprecated,
> please see the documentation for details
> ../include/BTree.h:353: warning: `typename BTree<Key, Value>::Closure'
> is implicitly a typename
> ../include/BTree.h:353: warning: implicit typename is deprecated,
> please see the documentation for details
> ../include/BTree.h:409: warning: `typename BTree<Key, Value>::Closure'
> is implicitly a typename
> ../include/BTree.h:409: warning: implicit typename is deprecated,
> please see the documentation for details
> ../include/BTree.h:504: warning: `typename BTree<Key, Value>::Status'
> is implicitly a typename
> ../include/BTree.h:504: warning: implicit typename is deprecated,
> please see the documentation for details
> ../include/BTree.h:562: warning: `typename BTree<Key, Value>::Closure'
> is implicitly a typename
> ../include/BTree.h:562: warning: implicit typename is deprecated,
> please see the documentation for details
> ../include/BTree.h:592: warning: `typename BTree<Key, Value>::Status'
> is implicitly a typename
> ../include/BTree.h:592: warning: implicit typename is deprecated,
> please see the documentation for details
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
> -DCONFIG_ETC_CONFIG_PATH=\"/etc/fam.conf\" -march=pentium3 -O3 -pipe
> -fomit- frame-pointer -c Client.c++ -o Client.o >/dev/null 2>&1 mv -f
> .libs/Client.lo Client.lo /bin/sh ../libtool --mode=link g++
> -march=pentium3 -O3 -pipe -fomit-frame-pointer -o libfam.la -rpath
> /usr/lib -export-symbols fam.sym Client.lo fam.lo -lstdc++ rm -fr
> .libs/libfam.la .libs/libfam.* .libs/libfam.* gcc -shared Client.lo
> fam.lo -lstdc++ -Wl,-soname -Wl,libfam.so.0 -Wl,-retain-symbols-file
> -Wl,fam.sym -o .libs/libfam.so.0.0.0
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gn
> u/bin/ld: .libs/libfam.so.0.0.0: undefined versioned symbol name
> std::time_put_w@@GLIBCPP_3.2
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gn
> u/bin/ld: failed to set dynamic section sizes: Bad value collect2: ld
> returned 1 exit status make[2]: *** [libfam.la] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9/libfam' make[1]: ***
> [all-recursive] Error 1 make[1]: Leaving directory
> `/var/tmp/portage/fam-oss-2.6.9/work/fam-2.6.9' make: *** [all] Error
> 2
>
> !!! ERROR: app-admin/fam-oss-2.6.9 failed.
> !!! Function src_compile, Line 57, Exitcode 2
> !!! emake failed
>
> --
> Johan Forssell - [EMAIL PROTECTED], [EMAIL PROTECTED]
>
> "It's a two-in-one schampoo, and two-in-one is a bullshit term,
> 'cos one is not big enough to hold two. That's why two was created."
>
> --
> [EMAIL PROTECTED] mailing list
>
--
Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa
--
[EMAIL PROTECTED] mailing list