Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157203 - Dhcpcd 3.0.2 merge error
Summary: Dhcpcd 3.0.2 merge error
Status: RESOLVED DUPLICATE of bug 157067
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-05 03:47 UTC by Alex Zanetti de Lima
Modified: 2006-12-05 03:56 UTC (History)
1 user (show)

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 Alex Zanetti de Lima 2006-12-05 03:47:31 UTC
I'm having some problems trying to merge dhcpcd 3.0.2. Here's the error message:

=====================
Unpacking source...
>>> Unpacking dhcpcd-3.0.2.tar.bz2 to /var/tmp/portage/net-misc/dhcpcd-3.0.2/work
 * Applying dhcpcd-3.0.2-if_addr.patch ...                                                                 [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-misc/dhcpcd-3.0.2/work/dhcpcd-3.0.2 ...
echo '#define VERSION "3.0.2"' > version.h
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -c arp.c
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -c client.c
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -c common.c
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -c configure.c
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -c dhcp.c
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -c dhcpcd.c
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -c interface.c
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -c logger.c
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -c signals.c
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -c socket.c
interface.c:33:27: error: linux/if_addr.h: No such file or directory
make: *** [interface.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-misc/dhcpcd-3.0.2 failed.
Call stack:
  ebuild.sh, line 1569:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  dhcpcd-3.0.2.ebuild, line 32:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
========================

I also saw that dhcpcd-3.0.2-if_addr.patch adds the include of this header into the code, but I'm using the linux-headers-2.6.17-r2, which dont have if_addr.h :/

should I copy the if_addr.h from my kernel src folder to my src/include/linux directory ?

thanks
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-05 03:56:12 UTC

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