View previous topic :: View next topic |
Author |
Message |
Noyan Apprentice
Joined: 24 Mar 2005 Posts: 212
|
Posted: Wed Feb 08, 2006 9:52 pm Post subject: Trickle Compile Problem with gcc4 |
|
|
Code: |
config.status: creating config.h
i686-gentoo-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -I/usr/include -O2 -march=pentium-m -pipe -c trickle.c
i686-gentoo-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -I/usr/include -O2 -march=pentium-m -pipe -c util.c
i686-gentoo-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -I/usr/include -O2 -march=pentium-m -pipe -c getopt.c
i686-gentoo-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -I/usr/include -O2 -march=pentium-m -pipe -c strlcat.c
i686-gentoo-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -I/usr/include -O2 -march=pentium-m -pipe -c strlcpy.c
/bin/sh ./libtool --mode=link i686-gentoo-linux-gnu-gcc -Wall -Icompat -I/usr/include -O2 -march=pentium-m -pipe -o trickle trickle.o util.o getopt.o strlcat.o strlcpy.o -lnsl -ldl
mkdir .libs
i686-gentoo-linux-gnu-gcc -Wall -Icompat -I/usr/include -O2 -march=pentium-m -pipe -o trickle trickle.o util.o getopt.o strlcat.o strlcpy.o -lnsl -ldl
i686-gentoo-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -I/usr/include -O2 -march=pentium-m -pipe -c trickled.c
In file included from trickled.c:33:
/usr/include/netinet/in.h:136: error: two or more data types in declaration specifiers
/usr/include/netinet/in.h:136: error: two or more data types in declaration specifiers
make: *** [trickled.o] Error 1
!!! ERROR: net-misc/trickle-1.06 failed.
Call stack:
ebuild.sh, line 1894: Called dyn_compile
ebuild.sh, line 941: Called src_compile
!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
Code: |
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-gentoo-r2 i686)
=================================================================
System uname: 2.6.15-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.0_pre15
dev-lang/python: 2.4.2-r1
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-r1
sys-devel/binutils: 2.16.1-r1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-gentoo-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 acpi alsa apache2 avi berkdb bitmap-fonts crypt cups dri dvd dvdr dvdread eds emboss encode fame ffmpeg firefox foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell ssl symlink tcpd truetype truetype-fonts type1-fonts vorbis win32codecs xml2 xmms xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_synaptics kernel_linux userland_GNU video_cards_i810"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
|
all solutions welcome..I need this app :/ |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Wed Feb 08, 2006 10:42 pm Post subject: |
|
|
Seams like a bug with the source. I can not compile it under gcc 4.0.2 nor under 4.1.0-beta20060203. If you realy need this app, then try to fix the code or try to contact the author or compile it with 3.x.
cheers
Steveb |
|
Back to top |
|
|
Noyan Apprentice
Joined: 24 Mar 2005 Posts: 212
|
Posted: Thu Feb 09, 2006 12:17 pm Post subject: |
|
|
anyone can compile and make a pkg for me ? :p
thanks steve for ur reply |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Thu Feb 09, 2006 2:27 pm Post subject: |
|
|
Noyan wrote: | anyone can compile and make a pkg for me ? :p
thanks steve for ur reply |
Compile it with gcc 3.x?
cheers
SteveB |
|
Back to top |
|
|
Noyan Apprentice
Joined: 24 Mar 2005 Posts: 212
|
Posted: Thu Feb 09, 2006 5:54 pm Post subject: |
|
|
i dont want to install gcc 3.x thats why i want a precompiled pack |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Fri Jun 02, 2006 4:36 am Post subject: |
|
|
It seems net-misc/trickle has disappeared from Portage and there doesn't seem to be a replacement.... ? |
|
Back to top |
|
|
|