| Summary: | games-simulation/flightgear-2.0.0 gcc-4.5.1 osg link errors | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Stefan de Konink <stefan> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | EoD, pierre42d |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
This seems to be a duplicate of bug 326225 Same error here with flightgear 1.9.1 and gcc 4.3.4 *** This bug has been marked as a duplicate of bug 326225 *** |
I observe I get (a lot) more compile errors using gcc-4.4 compiling FlightGear. So lets try it with the following. After compilation I end up with: make[2]: Leaving directory `/var/tmp/paludis/games-simulation-flightgear-2.0.0/work/FlightGear-2.0.0/src/Main' make[1]: Leaving directory `/var/tmp/paludis/games-simulation-flightgear-2.0.0/work/FlightGear-2.0.0/src' /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/../../../../lib64/libsgmodel.a(animation.o): In function `SGTexTransformAnimation::createAnimationGroup(osg::Group&)': animation.cxx:(.text+0x9ee1): undefined reference to `osg::StateAttribute::setUpdateCallback(osg::StateAttribute::Callback*)' /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/../../../../lib64/libsgmodel.a(shadanim.o): In function `SGShaderAnimation::createAnimationGroup(osg::Group&)': shadanim.cxx:(.text+0xb8d): undefined reference to `osg::StateAttribute::setUpdateCallback(osg::StateAttribute::Callback*)' /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.1/../../../../lib64/libsgmodel.a(SGMaterialAnimation.o): In function `SGMaterialAnimation::createAnimationGroup(osg::Group&)': SGMaterialAnimation.cxx:(.text+0x2142): undefined reference to `osg::StateAttribute::setUpdateCallback(osg::StateAttribute::Callback*)' collect2: ld returned 1 exit status make[2]: *** [fgfs] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 /usr/libexec/paludis/utils/emake: emake returned error 2 Have tried to reinstall openscenegraph, which doesn't give me any difference. * dev-games/openscenegraph [R 2.8.3] <target> curl -debug -doc -examples ffmpeg -fltk -fox -gdal gif -glut gtk jpeg jpeg2k -openexr -openinventor -osgapps pdf png -qt4 sdl -static-libs svg tiff truetype -vnc -wxwidgets -xine xrandr zlib build_options: -optional_tests split strip -trace -preserve_work Reproducible: Always paludis --info flightgear paludis 0.54.3 Paludis build information: Compiler: CXX: x86_64-pc-linux-gnu-g++ 4.5.1 CXXFLAGS: -march=athlon64 -O2 -pipe -msse3 -pedantic LDFLAGS: -Wl,-O1 -Wl,--as-needed DATE: 2010-09-09T20:53:33+0200 Libraries: C++ Library: GNU libstdc++ 20100731 Paths: DATADIR: /usr/share LIBDIR: /usr/lib64 LIBEXECDIR: /usr/libexec SYSCONFDIR: /etc PYTHONINSTALLDIR: RUBYINSTALLDIR: /usr/lib64/ruby/site_ruby/1.8/x86_64-linux System: Linux nemesis 2.6.35-gentoo-r8 #4 SMP PREEMPT Tue Sep 28 13:16:29 CEST 2010 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ AuthenticAMD GNU/Linux Reduced Privs: reduced_uid: 105 reduced_uid->name: paludisbuild reduced_uid->dir: /dev/null reduced_gid: 1007 reduced_gid->name: paludisbuild Environment: Format: paludis Config dir: /etc/paludis Root: / World file: /var/db/pkg/world Repository installed-virtuals: format: installed_virtuals root: / Repository virtuals: format: virtuals Repository gentoo: format: e location: /usr/portage builddir: /var/tmp/paludis cache: /usr/portage/metadata/cache distdir: /usr/portage/distfiles eapi_when_unknown: 0 eapi_when_unspecified: 0 eclassdirs: /usr/portage/eclass layout: traditional names_cache: /usr/portage/.cache/names newsdir: /usr/portage/metadata/news profile_eapi_when_unspecified: 0 profile_layout: traditional profiles: /usr/portage/profiles/default/linux/amd64/10.0 securitydir: /usr/portage/metadata/glsa setsdir: /usr/portage/sets sync: rsync://rsync.nl.gentoo.org/gentoo-portage sync_options: use_manifest: use write_cache: /var/cache/paludis/metadata Package information: app-admin/eselect-compiler: (none) app-shells/bash: 4.1_p7 dev-java/java-config: 1.3.7-r1 2.1.11 dev-lang/python: 2.5.4-r2 2.6.5-r3 3.1.2-r4 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r2 dev-util/confcache: (none) sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13 2.67 sys-devel/automake: 1.10.3 1.11.1 1.4_p6 1.5 1.6.3 1.7.9-r2 1.8.5-r3 1.9.6-r3 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 3.4.6-r2 4.2.4-r1 4.3.3-r2 4.4.4-r2 4.5.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.35 (for sys-kernel/linux-headers::installed) Repository installed: format: vdb location: /var/db/pkg builddir: /var/tmp/paludis eapi_when_unknown: 0 names_cache: /var/db/pkg/.cache/names provides_cache: /var/db/pkg/.cache/provides root: / Repository localportage: format: e location: /usr/local/portage builddir: /var/tmp/paludis cache: /var/empty distdir: /usr/portage/distfiles eapi_when_unknown: 0 eapi_when_unspecified: 0 eclassdirs: /usr/portage/eclass layout: traditional names_cache: /usr/local/portage/.cache/names newsdir: /usr/local/portage/metadata/news profile_eapi_when_unspecified: 0 profile_layout: traditional profiles: /usr/portage/profiles/default/linux/amd64/10.0 securitydir: /usr/local/portage/metadata/glsa setsdir: /usr/local/portage/sets sync: sync_options: use_manifest: use write_cache: /var/cache/paludis/metadata ACCEPT_KEYWORDS=amd64 CBUILD=x86_64-pc-linux-gnu CFLAGS=-march=athlon64 -O2 -pipe -msse3 CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT= CONFIG_PROTECT_MASK= CPPFLAGS= CTARGET= CXXFLAGS=-march=athlon64 -O2 -pipe -msse3 DISTDIR=/usr/portage/distfiles FEATURES= FFLAGS= GENTOO_MIRRORS= INSTALL_MASK= LANG= LC_ALL=C LDFLAGS=-Wl,-O1 -Wl,--as-needed LINGUAS=en nl MAKEOPTS= PORTAGE_COMPRESS= PORTAGE_COMPRESS_FLAGS= PORTAGE_CONFIGROOT= PORTAGE_RSYNC_EXTRA_OPTS= PORTAGE_RSYNC_OPTS= PORTAGE_TMPDIR=/var/tmp/paludis PORTDIR=/usr/portage PORTDIR_OVERLAY= SYNC= USE=sdl amd64 alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_cgi apache2_modules_cgid apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias cameras_nikon cameras_ptp2 collectd_plugins_df collectd_plugins_interface collectd_plugins_irq collectd_plugins_load collectd_plugins_memory collectd_plugins_rrdtool collectd_plugins_swap collectd_plugins_syslog elibc_glibc gpsd_protocols_aivdm gpsd_protocols_ashtech gpsd_protocols_earthmate gpsd_protocols_evermore gpsd_protocols_fv18 gpsd_protocols_garmin gpsd_protocols_garmintxt gpsd_protocols_gpsclock gpsd_protocols_itrax gpsd_protocols_mtk3301 gpsd_protocols_navcom gpsd_protocols_nmea gpsd_protocols_ntrip gpsd_protocols_oceanserver gpsd_protocols_oldstyle gpsd_protocols_oncore gpsd_protocols_rtcm104v2 gpsd_protocols_rtcm104v3 gpsd_protocols_sirf gpsd_protocols_superstar2 gpsd_protocols_timing gpsd_protocols_tnt gpsd_protocols_tripmate gpsd_protocols_tsip gpsd_protocols_ubx input_devices_evdev input_devices_hyperpen input_devices_mouse input_devices_wacom kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_en linguas_nl qemu_softmmu_targets_arm qemu_user_targets_arm ruby_targets_ruby18 sane_backends_plustek userland_GNU video_cards_none video_cards_nouveau video_cards_nvidia video_cards_v4l xtables_addons_account xtables_addons_chaos xtables_addons_condition xtables_addons_delude xtables_addons_dhcpmac xtables_addons_fuzzy xtables_addons_geoip xtables_addons_iface xtables_addons_ipmark xtables_addons_ipp2p xtables_addons_ipset xtables_addons_ipv4options xtables_addons_length2 xtables_addons_logmark xtables_addons_lscan xtables_addons_pknock xtables_addons_psd xtables_addons_quota2 xtables_addons_rawnat xtables_addons_steal xtables_addons_sysrq xtables_addons_tarpit xtables_addons_tee amd64