* [gentoo-user] dhcpcd-5.1.1 compiling error
@ 2009-09-24 21:06 Hung Dang
2009-09-25 0:04 ` [gentoo-user] " walt
0 siblings, 1 reply; 6+ messages in thread
From: Hung Dang @ 2009-09-24 21:06 UTC (permalink / raw
To: gentoo-user
Hi all,
I get the following errors when compiling net-misc/dhcpcd-5.1.1. Do you
know which package net/if_dl.h and net80211/ieee80211_ioctl.h are
belong to?
if-bsd.c:37:23: error: net/if_dl.h: No such file or directory
if-bsd.c:43:40: error: net80211/ieee80211_ioctl.h: No such file or directory
Thanks a lot
Hung
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: dhcpcd-5.1.1 compiling error
2009-09-24 21:06 [gentoo-user] dhcpcd-5.1.1 compiling error Hung Dang
@ 2009-09-25 0:04 ` walt
2009-09-25 0:22 ` Hung Dang
0 siblings, 1 reply; 6+ messages in thread
From: walt @ 2009-09-25 0:04 UTC (permalink / raw
To: gentoo-user
On 09/24/2009 02:06 PM, Hung Dang wrote:
> Hi all,
>
> I get the following errors when compiling net-misc/dhcpcd-5.1.1. Do you
> know which package net/if_dl.h and net80211/ieee80211_ioctl.h are
> belong to?
>
> if-bsd.c:37:23: error: net/if_dl.h: No such file or directory
> if-bsd.c:43:40: error: net80211/ieee80211_ioctl.h: No such file or directory
I'm sorry but I don't know. I see that the ebuild mentions the KEYWORDS
~sparc-fbsd and ~x86-fbsd. Are you using one of those platforms?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: dhcpcd-5.1.1 compiling error
2009-09-25 0:04 ` [gentoo-user] " walt
@ 2009-09-25 0:22 ` Hung Dang
2009-09-25 0:37 ` Nikos Chantziaras
0 siblings, 1 reply; 6+ messages in thread
From: Hung Dang @ 2009-09-25 0:22 UTC (permalink / raw
To: gentoo-user
Hi Walt,
This is a AMD64 system. The interesting thing is I have another system
which has similar USE flags and it does not have those header files ,
however, I can compile this version of dhcpcd without any problem.
Thanks
Hung
walt wrote:
> On 09/24/2009 02:06 PM, Hung Dang wrote:
>> Hi all,
>>
>> I get the following errors when compiling net-misc/dhcpcd-5.1.1. Do you
>> know which package net/if_dl.h and net80211/ieee80211_ioctl.h are
>> belong to?
>>
>> if-bsd.c:37:23: error: net/if_dl.h: No such file or directory
>> if-bsd.c:43:40: error: net80211/ieee80211_ioctl.h: No such file or
>> directory
>
> I'm sorry but I don't know. I see that the ebuild mentions the KEYWORDS
> ~sparc-fbsd and ~x86-fbsd. Are you using one of those platforms?
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: dhcpcd-5.1.1 compiling error
2009-09-25 0:22 ` Hung Dang
@ 2009-09-25 0:37 ` Nikos Chantziaras
2009-09-25 16:08 ` Hung Dang
0 siblings, 1 reply; 6+ messages in thread
From: Nikos Chantziaras @ 2009-09-25 0:37 UTC (permalink / raw
To: gentoo-user
On 09/25/2009 03:22 AM, Hung Dang wrote:
> walt wrote:
>> On 09/24/2009 02:06 PM, Hung Dang wrote:
>>> Hi all,
>>>
>>> I get the following errors when compiling net-misc/dhcpcd-5.1.1. Do you
>>> know which package net/if_dl.h and net80211/ieee80211_ioctl.h are
>>> belong to?
>>>
>>> if-bsd.c:37:23: error: net/if_dl.h: No such file or directory
>>> if-bsd.c:43:40: error: net80211/ieee80211_ioctl.h: No such file or
>>> directory
>>
>> I'm sorry but I don't know. I see that the ebuild mentions the KEYWORDS
>> ~sparc-fbsd and ~x86-fbsd. Are you using one of those platforms?
>
> Hi Walt,
> This is a AMD64 system. The interesting thing is I have another system
> which has similar USE flags and it does not have those header files ,
> however, I can compile this version of dhcpcd without any problem.
If this is an AMD64 system, then something has gone totally haywire; the
errors you posted indicate that dhcpcd thinks it's being compiled on
BSD. "if-bsd.c" is a source file that does not get compiled on Linux;
"if-linux.c" does.
Can you post your "emerge --info"? Maybe someone can spot something
wrong in it.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: dhcpcd-5.1.1 compiling error
2009-09-25 0:37 ` Nikos Chantziaras
@ 2009-09-25 16:08 ` Hung Dang
2009-09-25 21:00 ` Nikos Chantziaras
0 siblings, 1 reply; 6+ messages in thread
From: Hung Dang @ 2009-09-25 16:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1417 bytes --]
Nikos Chantziaras wrote:
> On 09/25/2009 03:22 AM, Hung Dang wrote:
>> walt wrote:
>>> On 09/24/2009 02:06 PM, Hung Dang wrote:
>>>> Hi all,
>>>>
>>>> I get the following errors when compiling net-misc/dhcpcd-5.1.1. Do
>>>> you
>>>> know which package net/if_dl.h and net80211/ieee80211_ioctl.h are
>>>> belong to?
>>>>
>>>> if-bsd.c:37:23: error: net/if_dl.h: No such file or directory
>>>> if-bsd.c:43:40: error: net80211/ieee80211_ioctl.h: No such file or
>>>> directory
>>>
>>> I'm sorry but I don't know. I see that the ebuild mentions the
>>> KEYWORDS
>>> ~sparc-fbsd and ~x86-fbsd. Are you using one of those platforms?
>>
>> Hi Walt,
>> This is a AMD64 system. The interesting thing is I have another system
>> which has similar USE flags and it does not have those header files ,
>> however, I can compile this version of dhcpcd without any problem.
>
> If this is an AMD64 system, then something has gone totally haywire;
> the errors you posted indicate that dhcpcd thinks it's being compiled
> on BSD. "if-bsd.c" is a source file that does not get compiled on
> Linux; "if-linux.c" does.
>
> Can you post your "emerge --info"? Maybe someone can spot something
> wrong in it.
>
>
Walt: Thanks a lot for your quick reply.
Please find the output of emerge --info in the attached file. Again, my
system only has problem with dhcpcd 5.1.* and it can compile dhcpcd
5.0.6 without any problem.
Thanks
Hung
[-- Attachment #2: emerge-info.txt --]
[-- Type: text/plain, Size: 4364 bytes --]
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-gentoo-hhserver x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-hhserver-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 24 Sep 2009 16:30:01 +0000
app-shells/bash: 4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.6.2-r2, 3.1.1-r1
dev-util/cmake: 2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.4.3-r3
sys-apps/sandbox: 2.1
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils: 2.19.1-r1, 2.19.51.0.14
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LDFLAGS="-Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j7 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 apache2 aspell bash-completion bluetooth boost branding bzip2 cairo cdr cg cli compat consolekit cracklib crypt cups dbus djvu dri dts dvd dvdr eds emboss encode esd evo fam fbcondecor fbsplash ffmpeg fftw flac fltk fortran gcj gd gdbm gfortran gif gnuplot gpm gstreamer gtk hal hddtemp hdf5 iconv imagemagick ipv6 isdnlog java java6 jpeg jpeg2k kde kerberos kpathsea lapack laptop latex lcms ldap libnotify lm_sensors lua lyx mad math mikmod mmx mmxext mng modules mp3 mp4 mpeg msn mudflap multilib multislot mysql ncurses netcdf nls npp nptl nptlonly nsplugin nvidia ocaml ogg opengl openmp pam patented pcre pdf perl php plotutil png ppds pppd python qt3support qt4 quicktime rdesktop readline reflection samba sdl server session spell spl sql sse sse2 ssl ssse3 startup-notification svg swat symlink sysfs tcl tcpd threads thunar thunderbird tidy tiff tk truetype unicode usb v4l v4l2 vhosts vnc vorbis webkit winbind wma wxwidgets wxwindows x264 xcomposite xml xorg xulrunner xv xvid xvmc yahoo zeroconf 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: dhcpcd-5.1.1 compiling error
2009-09-25 16:08 ` Hung Dang
@ 2009-09-25 21:00 ` Nikos Chantziaras
0 siblings, 0 replies; 6+ messages in thread
From: Nikos Chantziaras @ 2009-09-25 21:00 UTC (permalink / raw
To: gentoo-user
On 09/25/2009 07:08 PM, Hung Dang wrote:
> Nikos Chantziaras wrote:
>> On 09/25/2009 03:22 AM, Hung Dang wrote:
>>> walt wrote:
>>>> On 09/24/2009 02:06 PM, Hung Dang wrote:
>>>>> Hi all,
>>>>>
>>>>> I get the following errors when compiling net-misc/dhcpcd-5.1.1. Do
>>>>> you
>>>>> know which package net/if_dl.h and net80211/ieee80211_ioctl.h are
>>>>> belong to?
>>>>>
>>>>> if-bsd.c:37:23: error: net/if_dl.h: No such file or directory
>>>>> if-bsd.c:43:40: error: net80211/ieee80211_ioctl.h: No such file or
>>>>> directory
>>>> [...]
>>> This is a AMD64 system.
>>> [...]
>> If this is an AMD64 system, then something has gone totally haywire;
>> the errors you posted indicate that dhcpcd thinks it's being compiled
>> on BSD. "if-bsd.c" is a source file that does not get compiled on
>> Linux; "if-linux.c" does.
>>
>> Can you post your "emerge --info"? Maybe someone can spot something
>> wrong in it.
>>
> [...] Please find the output of emerge --info in the attached file.
> Again, my system only has problem with dhcpcd 5.1.* and it can compile
> dhcpcd 5.0.6 without any problem.
Our configuration is very similar; same GCC and glibc, same binutils,
same baselayout and openrc, etc. I can't see anything wrong. I even
tried it by setting all my USE flags the same way as you, but still I
can't reproduce the problem.
Does it compile OK if you do it manually?
(you don't have to be root)
cd ~
tar -xjf /usr/portage/distfiles/dhcpcd-5.1.1.tar.bz2
cd dhcpcd-5.1.1
./configure (ignore the errors from _arc4random/_closefrom/_strlcpy)
make
What output do you get from that? It should begin with:
Configuring dhcpcd for ... linux
Looking for compiler ... gcc
The crucial part is "for ... linux".
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-09-25 21:01 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-24 21:06 [gentoo-user] dhcpcd-5.1.1 compiling error Hung Dang
2009-09-25 0:04 ` [gentoo-user] " walt
2009-09-25 0:22 ` Hung Dang
2009-09-25 0:37 ` Nikos Chantziaras
2009-09-25 16:08 ` Hung Dang
2009-09-25 21:00 ` Nikos Chantziaras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox