attempting to build mrouted results in a compilation error two fold: 1) it doesn't seem to include types.h properly 2) once it is completed properly the build sequence requires yacc so dependancy information must be updated in the ebuild Reproducible: Always Steps to Reproduce: 1. emerge mrouted 2. build fails 3. Actual Results: gcc -O2 -march=athlon-mp -fomit-frame-pointer -DRSRR -D__BSD_SOURCE -DRAW_INPUT_IS_RAW -DRAW_OUTPUT_IS_RAW -DIOCTL_OK_ON_RAW_SOCKET -c -o igmp.o igmp.c In file included from netinet/ip_mroute.h:6, from defs.h:48, from igmp.c:14: /usr/include/linux/mroute.h:116: error: syntax error before "__u32" /usr/include/linux/mroute.h:122: error: syntax error before '}' token In file included from igmp.c:14: defs.h:235: warning: conflicting types for built-in function `log' make: *** [igmp.o] Error 1 there are still some warnings left about the defs.h:235: warning: conflicting types for built-in function `log' but nothing serious also the init script which I submitted with this ebuild originally doesn't seem to be included, however the line is still in the ebuild
Created attachment 27162 [details, diff] fixes a types.h inclusion The lack of this line prevents compiling on linux for some odd reason.
Created attachment 27163 [details, diff] adds patch line and yacc dependancy patches the ebuild to apply the types.h patch and a yacc dependancy
the init script which should be in mrouted/files is still attached to the old bug I filed: http://bugs.gentoo.org/attachment.cgi?id=18135&action=view
yeah, i must have been retarded or something that i forgot to add the init script ... sorry about that the type.h thing is a kernel bug and is an issue with 2.6.x headers plasmaroo: could we get a patch to linux/mroute.h ? just need to #include <linux/types.h> at the top of the file somewhere
oh, and what's up with the yacc dependency ? i looked and didnt see yacc being executed anywhere ...
well try unmerging yacc and then building... it executes yacc somewhere in there.
ah, it's a make built in ... tell it to build a .y file and it'll run yacc added yacc to DEPEND, thanks
Fixed in linux-headers-2.6.4. Thanks!
The same bug upper now with gentoo 2006.1. types.h inclusion patch solve this problem again. Is this ebuild discontinued ? is there any other possibilities to set multicasting up? emerge --info Portage 2.1.2_rc4-r7 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19.2 i686) ================================================================= System uname: 2.6.19.2 i686 Pentium III (Coppermine) Gentoo Base System version 1.12.8 Last Sync: Wed, 10 Jan 2007 17:30:01 +0000 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium3 -O2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" 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.gentoo.org/gentoo-portage" USE="acpi apache2 apm arts berkdb bitmap-fonts bzip2 cli cracklib crypt dlloader eds emboss encode esd foomaticdb fortran gdbm gif gpm iconv imlib ipv6 isdnlog jpeg libg++ libwww lm_sensors mad mikmod motif mp3 mpeg mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nptl nptlonly ogg oss pam pcre perl png pppd python quicktime readline reflection samba sdl session snmp spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis x86 xml xv 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY