Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77180 - net-misc/asterisk-0.9.0 failed to compile because a potential problem in /usr/include/linux/ixjuser.h, using linux26-headers-2.6.8.1
Summary: net-misc/asterisk-0.9.0 failed to compile because a potential problem in /usr...
Status: RESOLVED DUPLICATE of bug 65195
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: voip herd (OBSOLETE)
URL: http://lists.digium.com/pipermail/ast...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-08 15:25 UTC by Jonathan Fors
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Fors 2005-01-08 15:25:01 UTC
Asterisk-0.9.0 failed to compile with the following error message:
In file included from chan_phone.c:35:
/usr/include/linux/ixjuser.h:353: error: syntax error before '*' token
distcc[21669] ERROR: compile chan_phone.c on localhost failed
make[1]: *** [chan_phone.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/asterisk-0.9.0/work/asterisk-0.9.0/channels'
make: *** [subdirs] Error 1

!!! ERROR: net-misc/asterisk-0.9.0 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! Make failed
!!! If you need support, post the topmost build error, NOT this status message.

I ran a quick search on google, and as I expected, the solution was to edit the file /usr/include/linux/ixjuser.h on line 353 as stated in the URL.
There seems to be a problem with linux26headers-2.6.8.1 (the version I am using).

Reproducible: Always
Steps to Reproduce:
1.Install linux26headers-2.6.8.1
2.Emerge asterisk-0.9.0

Actual Results:  
The compilation failed

Expected Results:  
The software should have been installed normally

Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O2 -pipe -ftracer -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.1/share/config /usr/kde/3.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
/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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O2 -pipe -ftracer -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo
http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.du.se/pub/os/gentoo
ftp://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://blixtfyr/gentoo-portage"
USE="x86 X aalib acl adns alsa apm arts avi berkdb bitmap-fonts bonobo crypt
cups directfb encode esd fam flac foomaticdb fortran gdbm gif gnome gphoto2 gpm
gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit kde ldap libwww mad
mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline samba scanner sdl slang speex spell ssl svga tcltk
tcpd tetex tiff truetype xml xml2 xmms xv zlib linguas_se"
Comment 1 xlyz 2005-01-12 13:40:49 UTC
same problem in 1.0.0
Comment 2 Martin von Gagern 2005-01-17 00:43:07 UTC
This is a dup of bug#65195
Comment 3 Jonathan Fors 2005-01-17 04:26:43 UTC
Confirmed dupe.

*** This bug has been marked as a duplicate of 65195 ***