Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146493 - net-misc/gnomba-0.6.2-r1 fails to compile after update to gcc 4.1.1
Summary: net-misc/gnomba-0.6.2-r1 fails to compile after update to gcc 4.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-09-05 19:18 UTC by Alexander Topolanek
Modified: 2006-11-05 12:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gnomba-0.6.2-gcc-fix.patch (gnomba-0.6.2-gcc-fix.patch,824 bytes, patch)
2006-11-04 19:59 UTC, John N. Laliberte (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Topolanek 2006-09-05 19:18:29 UTC
net.c: In function 
Comment 1 Alexander Topolanek 2006-09-05 19:18:29 UTC
net.c: In function getNMBInfo:
net.c:375: error: invalid lvalue in unary &
net.c:389: warning: implicit declaration of function trim


shuttle linux # emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ "
LANG="de_AT.utf8"
LC_ALL="en_US.utf8"
LINGUAS="de en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apache2 apm arts avi berkdb bitmap-fonts bluetooth cli crypt cups dbus dlloader dri eds emboss encode esd foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal imlib ipod ipv6 isdnlog java joystick jpeg kde libg++ libwww mad mikmod mono motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl sqlite ssl tcpd truetype truetype-fonts type1-fonts udev usb vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de linguas_en userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 David Grant 2006-09-12 18:13:01 UTC
same here
Comment 3 Rafael Fernández López 2006-10-09 16:56:46 UTC
same here
Comment 4 Michael Lelli 2006-11-04 19:03:46 UTC
Same here.

Is anybody working on this?
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2006-11-04 19:59:14 UTC
no, but i decided to take a quick look :)

can you try the attached patch?

I'll apply it if it works for you guys.
Comment 6 John N. Laliberte (RETIRED) gentoo-dev 2006-11-04 19:59:51 UTC
Created attachment 101254 [details, diff]
gnomba-0.6.2-gcc-fix.patch
Comment 7 Michael Lelli 2006-11-05 11:24:10 UTC
Thanks; the patch worked perfectly, although would it book a good idea to test to see if it still worked on lower versions of GCC?
Comment 8 John N. Laliberte (RETIRED) gentoo-dev 2006-11-05 12:03:30 UTC
thanks for testing.

in cvs.