When I emerged l2tpd with gcc-3.4.2, I got this error avp.c: In function `handle_avps': avp.c:1612: error: syntax error before "__FUNCTION__" make: *** [avp.o] Error 1 make: *** Waiting for unfinished jobs.... Reproducible: Always Steps to Reproduce: install gcc 3.4.2 emerge l2tpd Actual Results: I got an error compiling l2tpd Expected Results: l2tpd should be compiled Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 AMD Athlon(TM) XP 1800+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo http://mirror.datapipe.net/gentoo http://www.gigaload.org/gentoo.org/ http://www.las.ic.unicamp.br/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage" USE="X alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups encode esd f77 foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib java jikes jpeg kde kerberos libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba sdl slang spell ssl svg svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Yes, it is a syntactical error at that line. Please test l2tpd-0.70_pre20031121. If it works, I will mark as stable on x86; it stayed too long in unstable state.
The l2tpd-0.70_pre20031121 at least compiled. However, I'm still in process of testing it.
saw this error elsewhere - you can't concatinate __FUNCTION__ with another string as of gcc 3.4.somthing.
well the problem here is that you need to pass __FUNCTION__ into a '%s' ... you cant use it with the old style anymore invalid: printf(__FUNCTION__ ": blah blah\n"); valid: printf("%s: blah blah\n", __FUNCTION__); this seems to be fixed in newer versions (according to Comment #1) ... net-dialup, feel free to back port patches, make new patches, or just unmask newer versions
stable on x86