Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[KINDA SOLVED] gam-server fails with GCC-4.6.1 on ~x64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
deno
Guru
Guru


Joined: 13 Sep 2006
Posts: 406

PostPosted: Fri Jul 08, 2011 3:55 pm    Post subject: [KINDA SOLVED] gam-server fails with GCC-4.6.1 on ~x64 Reply with quote

Hi,

I am using gnome profile. gam-server fails with error:

Quote:
from gam_tree.h:6,
from gam_poll_basic.c:33:
gam_subscription.h:24:16: error: expected ■=■, ■,■, ■;■, ■asm■ or ■__attribute__■ before ■char■
In file included from gam_tree.h:6:0,
from gam_poll_basic.c:33:
gam_node.h:61:16: error: expected ■=■, ■,■, ■;■, ■asm■ or ■__attribute__■ before ■char■
gam_poll_basic.c: In function ■gam_poll_basic_add_subscription■:
gam_poll_basic.c:74:2: warning: implicit declaration of function ■gam_subscription_get_path■ [-Wimplicit-function-declaration]
gam_poll_basic.c:74:2: warning: nested extern declaration of ■gam_subscription_get_path■ [-Wnested-externs]
gam_poll_basic.c:74:21: warning: initialization makes pointer from integer without a cast [enabled by default]
gam_poll_basic.c: In function ■gam_poll_basic_remove_subscription■:
gam_poll_basic.c:180:21: warning: initialization makes pointer from integer without a cast [enabled by default]
gam_poll_basic.c: In function ■gam_poll_basic_poll_file■:
gam_poll_basic.c:286:2: warning: implicit declaration of function ■gam_node_get_path■ [-Wimplicit-function-declaration]
gam_poll_basic.c:286:2: warning: nested extern declaration of ■gam_node_get_path■ [-Wnested-externs]
gam_poll_basic.c:286:7: warning: assignment makes pointer from integer without a cast [enabled by default]
gam_poll_basic.c:282:14: warning: variable ■path■ set but not used [-Wunused-but-set-variable]
make[3]: *** [gam_poll_basic.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-admin/gam-server-0.1.10/work/gamin-0.1.10/server'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-admin/gam-server-0.1.10/work/gamin-0.1.10/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-admin/gam-server-0.1.10/work/gamin-0.1.10'
make: *** [all] Error 2
emake failed


emerge --info:
Quote:
Portage 2.2.0_alpha43 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.1, glibc-2.13-r3, 2.6.39-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 08 Jul 2011 13:15:01 +0000
app-shells/bash: 4.2_p10
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.2, 3.2
dev-util/cmake: 2.8.4-r1
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.8.3-r1
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.68
sys-devel/automake: 1.11.1-r1
sys-devel/binutils: 2.21.1
sys-devel/gcc: 4.6.1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc: 2.13-r3
Repositories: gentoo enlightenment gnome qting-edge kde lxde rubenqba keruspe suka
Installed sets:
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA @GPL-COMPATIBLE @OSI-APPROVED @EULA BitstreamVera dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ rsync://gentoo.lagis.at/gentoo-distfiles/ http://gentoo.lagis.at/ ftp://gentoo.lagis.at/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ rsync://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ rsync://mirrors.tera-byte.com/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.supp.name/ http://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://ftp6.linux.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ rsync://gentoo.mirror.dkm.cz/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.imj.fr/pub/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/enlightenment /var/lib/layman/gnome /var/lib/layman/qting-edge /var/lib/layman/kde /var/lib/layman/lxde /var/lib/layman/rubenqba /var/lib/layman/keruspe /var/lib/layman/suka"
SYNC="rsync://rsync.at.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk gtk2 iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vaapi vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Any suggestions what could I try to solve this?


Last edited by deno on Sat Jul 09, 2011 12:00 am; edited 1 time in total
Back to top
View user's profile Send private message
deno
Guru
Guru


Joined: 13 Sep 2006
Posts: 406

PostPosted: Fri Jul 08, 2011 11:58 pm    Post subject: Reply with quote

Emerging fam instead works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum