Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 168657

Summary: net-dialup/linux-atm-2.4.1-r1 does not compile with linux-headers-2.6.17-r1
Product: Gentoo Linux Reporter: Arhont <mlists>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arhont 2007-02-27 23:40:59 UTC
The linux-atm exits with an error when trying to compile against sys-kernel/linux-headers-2.6.17-r1.
In order to solve the problem, I've upgraded to the sys-kernel/linux-headers-2.6.19.2-r2 and linux-atm compiled smoothly.

Suggestion: Insert a dependency that would check that new headers is installed.
Here is a sample error log:
Write-strings -Wstrict-prototypes -c io.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..     -I../../src/include -O2 -march=nocona -fomit-frame-pointer -pipe -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c itf.c
In file included from /usr/include/linux/netdevice.h:28,
                 from /usr/include/linux/if_arp.h:26,
                 from io.c:24:
/usr/include/linux/if.h:118: error: redefinition of ‘struct ifmap’
/usr/include/linux/if.h:154: error: redefinition of ‘struct ifreq’
/usr/include/linux/if.h:204: error: redefinition of ‘struct ifconf’
io.c: In function ‘accept_new’:
io.c:281: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness
io.c:296: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness
io.c: In function ‘get_local’:
io.c:618: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness
make[3]: *** [io.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/net-dialup/linux-atm-2.4.1-r1/work/linux-atm-2.4.1/src/arpd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-dialup/linux-atm-2.4.1-r1/work/linux-atm-2.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-dialup/linux-atm-2.4.1-r1/work/linux-atm-2.4.1'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-dialup/linux-atm-2.4.1-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3331:   Called src_compile
  ebuild.sh, line 645:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-dialup/linux-atm-2.4.1-r1/temp/build.log'.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-27 23:52:58 UTC

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