Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118914 - [gcc4] net-fs/ncpfs-2.2.6 does not compile
Summary: [gcc4] net-fs/ncpfs-2.2.6 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: PPC64 Linux
: High enhancement (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-01-13 13:09 UTC by Markus Rothe (RETIRED)
Modified: 2006-01-27 21:40 UTC (History)
2 users (show)

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


Attachments
gcc-4 patch (ncpfs-2.2.6-gcc4.patch,1.26 KB, patch)
2006-01-13 14:01 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rothe (RETIRED) gentoo-dev 2006-01-13 13:09:05 UTC
Hi,

net-fs/ncpfs-2.2.6 does not compile using gcc-4.0.2-r3. Here is the error:

ncplib.c: In function 'ncp_initialize_2':
ncplib.c:2424: error: invalid storage class for function 'get_argument'

$ emerge --info
Portage 2.0.53 (default-linux/ppc/2005.1/ppc64/64bit-userland, gcc-4.0.2, glibc-2.3.6-r2, 2.6.12.2-vios ppc64)
=================================================================
System uname: 2.6.12.2-vios ppc64 POWER5 (gr)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O3 -pipe -mtune=power5 -mcpu=power5"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -mtune=power5 -mcpu=power5"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc64 X a52 acl alsa altivec arts audiofile berkdb bitmap-fonts bzip2 cdr cscope cups curl dbus dga djbfft dlloader dv dvd dvdr dvdread encode esd exif expat fam fame flac fortran fpx gcj gdbm gif glut gmp gphoto2 gpm graphviz gstreamer gtk gtk2 hal howl ibm idn ieee1394 imlib imlib2 ipv6 jack jpeg jpeg2k kde kdeenablefinal latex lcms ldap libedit libwww lzo mad matroska mikmod mjpeg mng motif mp3 mpeg mpeg2 mpeg4 mysql nas ncurses network nls nptl nptlonly ogg oggvorbis opengl pam perl png python qt quicktime readline samba ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vorbis xml2 xmms xv yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2006-01-13 14:01:41 UTC
Created attachment 77029 [details, diff]
gcc-4 patch

Took this from Fedora, seems to work, please test it.
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-01-27 21:40:01 UTC
Fixed.