Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] wpa_supplicant doesn't compile
@ 2013-12-08 23:39 Javier Alejandro Saenz Leguizamon
  2013-12-09  8:19 ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Javier Alejandro Saenz Leguizamon @ 2013-12-08 23:39 UTC (permalink / raw)
  To: buildroot

Good day.

I'm having trouble when try to compile the wpa_supplicant package, I always
get this error, can anyone please help me with this. I will attach the
.config I'm using.

jasaenzl at Killer-Laptop:~/develop/test/thesis_dev_repo/buildroot-2013.08.1$
make
/usr/bin/make -j5  HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++"
silentoldconfig
make[1]: Entering directory
`/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1'
BR2_DEFCONFIG=''
KCONFIG_AUTOCONFIG=/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/output/build/buildroot-config/auto.conf
KCONFIG_AUTOHEADER=/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/output/build/buildroot-config/autoconf.h
KCONFIG_TRISTATE=/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/output/build/buildroot-config/tristate.config
BUILDROOT_CONFIG=/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/.config
/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/output/build/buildroot-config/conf
--silentoldconfig Config.in
make[1]: Leaving directory
`/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1'
>>> wpa_supplicant 2.0 Building
PATH="/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/output/host/bin:/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/output/host/usr/bin:/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/output/host/usr/sbin/:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-7-oracle/bin:/opt/Xilinx/13.4/ISE_DS/ISE/bin/lin/:/home/jasaenzl/develop/test/arm-2008q3/bin:/home/jasaenzl/develop/devproview/os_linux/hw_x86/exp/exe"
PERLLIB="/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/output/host/usr/lib/perl"
CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 -pipe -Os
 -I/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/output/host/usr/armeb-buildroot-linux-gnueabi/sysroot/usr/include/libnl3/"
LDFLAGS="" /usr/bin/make -j5
CC="/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/output/host/usr/bin/arm-none-linux-gnueabi-gcc"
-C
/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/output/build/wpa_supplicant-2.0/wpa_supplicant
make[1]: Entering directory
`/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/output/build/wpa_supplicant-2.0/wpa_supplicant'
  LD  wpa_cli
../src/drivers/driver_wext.c: In function 'wpa_driver_wext_set_key_ext':
../src/drivers/driver_wext.c:1703: error: 'IW_ENCODE_ALG_AES_CMAC'
undeclared (first use in this function)
../src/drivers/driver_wext.c:1703: error: (Each undeclared identifier is
reported only once
../src/drivers/driver_wext.c:1703: error: for each function it appears in.)
../src/drivers/driver_wext.c: In function 'wpa_driver_wext_associate':
../src/drivers/driver_wext.c:2130: error: 'IW_AUTH_MFP_DISABLED' undeclared
(first use in this function)
../src/drivers/driver_wext.c:2133: error: 'IW_AUTH_MFP_OPTIONAL' undeclared
(first use in this function)
../src/drivers/driver_wext.c:2136: error: 'IW_AUTH_MFP_REQUIRED' undeclared
(first use in this function)
../src/drivers/driver_wext.c:2139: error: 'IW_AUTH_MFP' undeclared (first
use in this function)
make[1]: *** [../src/drivers/driver_wext.o] Error 1
make[1]: Leaving directory
`/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/output/build/wpa_supplicant-2.0/wpa_supplicant'
make: ***
[/home/jasaenzl/develop/test/thesis_dev_repo/buildroot-2013.08.1/output/build/wpa_supplicant-2.0/.stamp_built]
Error 2
jasaenzl at Killer-Laptop:~/develop/test/thesis_dev_repo/buildroot-2013.08.1$


Javier Alejandro S?enz Leguizam?n
Ingeniero Electr?nico
Universidad Nacional de Colombia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131208/95b80df2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 32188 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131208/95b80df2/attachment-0001.obj>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] wpa_supplicant doesn't compile
  2013-12-08 23:39 [Buildroot] wpa_supplicant doesn't compile Javier Alejandro Saenz Leguizamon
@ 2013-12-09  8:19 ` Peter Korsgaard
  2013-12-09 10:34   ` Javier Alejandro Saenz Leguizamon
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2013-12-09  8:19 UTC (permalink / raw)
  To: buildroot

>>>>> "Javier" == Javier Alejandro Saenz Leguizamon <jasaenzl@unal.edu.co> writes:

 > Good day.

 > I'm having trouble when try to compile the wpa_supplicant package, I
 > always get this error, can anyone please help me with this. I will
 > attach the .config I'm using.

 > jasaenzl at Killer-Laptop:~/develop/test/thesis_dev_repo/buildroot-2013.08.1$ make

Notice that 2013.11 has been released, so consider moving to it.

 > ../src/drivers/driver_wext.c: In function 'wpa_driver_wext_set_key_ext':
 > ../src/drivers/driver_wext.c:1703: error: 'IW_ENCODE_ALG_AES_CMAC' undeclared
 > (first use in this function)
 > ../src/drivers/driver_wext.c:1703: error: (Each undeclared identifier is
 > reported only once
 > ../src/drivers/driver_wext.c:1703: error: for each function it appears in.)
 > ../src/drivers/driver_wext.c: In function 'wpa_driver_wext_associate':
 > ../src/drivers/driver_wext.c:2130: error: 'IW_AUTH_MFP_DISABLED' undeclared
 > (first use in this function)
 > ../src/drivers/driver_wext.c:2133: error: 'IW_AUTH_MFP_OPTIONAL' undeclared
 > (first use in this function)
 > ../src/drivers/driver_wext.c:2136: error: 'IW_AUTH_MFP_REQUIRED' undeclared
 > (first use in this function)
 > ../src/drivers/driver_wext.c:2139: error: 'IW_AUTH_MFP' undeclared (first use
 > in this function)

Those defines come from the kernel headers, and have existed for quite
some time (2.6.29 or so). What kernel headers / toolchain are you using?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] wpa_supplicant doesn't compile
  2013-12-09  8:19 ` Peter Korsgaard
@ 2013-12-09 10:34   ` Javier Alejandro Saenz Leguizamon
  2013-12-09 10:40     ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Javier Alejandro Saenz Leguizamon @ 2013-12-09 10:34 UTC (permalink / raw)
  To: buildroot

Hi, and thx for the quick answer, its probably the toolchain, im using
codesourcery 2008q3, I'm going to try again with codesoucery 2013.11 i also
have another problem with openvpn and LZO compression but I'm going to fix
this first.

Javier Alejandro S?enz Leguizam?n
Ingeniero Electr?nico
Universidad Nacional de Colombia


2013/12/9 Peter Korsgaard <jacmet@uclibc.org>

> >>>>> "Javier" == Javier Alejandro Saenz Leguizamon <jasaenzl@unal.edu.co>
> writes:
>
>  > Good day.
>
>  > I'm having trouble when try to compile the wpa_supplicant package, I
>  > always get this error, can anyone please help me with this. I will
>  > attach the .config I'm using.
>
>  > jasaenzl at Killer-Laptop:~/develop/test/thesis_dev_repo/buildroot-2013.08.1$
> make
>
> Notice that 2013.11 has been released, so consider moving to it.
>
>  > ../src/drivers/driver_wext.c: In function 'wpa_driver_wext_set_key_ext':
>  > ../src/drivers/driver_wext.c:1703: error: 'IW_ENCODE_ALG_AES_CMAC'
> undeclared
>  > (first use in this function)
>  > ../src/drivers/driver_wext.c:1703: error: (Each undeclared identifier is
>  > reported only once
>  > ../src/drivers/driver_wext.c:1703: error: for each function it appears
> in.)
>  > ../src/drivers/driver_wext.c: In function 'wpa_driver_wext_associate':
>  > ../src/drivers/driver_wext.c:2130: error: 'IW_AUTH_MFP_DISABLED'
> undeclared
>  > (first use in this function)
>  > ../src/drivers/driver_wext.c:2133: error: 'IW_AUTH_MFP_OPTIONAL'
> undeclared
>  > (first use in this function)
>  > ../src/drivers/driver_wext.c:2136: error: 'IW_AUTH_MFP_REQUIRED'
> undeclared
>  > (first use in this function)
>  > ../src/drivers/driver_wext.c:2139: error: 'IW_AUTH_MFP' undeclared
> (first use
>  > in this function)
>
> Those defines come from the kernel headers, and have existed for quite
> some time (2.6.29 or so). What kernel headers / toolchain are you using?
>
> --
> Bye, Peter Korsgaard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131209/c058b2af/attachment.html>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] wpa_supplicant doesn't compile
  2013-12-09 10:34   ` Javier Alejandro Saenz Leguizamon
@ 2013-12-09 10:40     ` Peter Korsgaard
  2013-12-09 18:45       ` Javier Alejandro Saenz Leguizamon
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2013-12-09 10:40 UTC (permalink / raw)
  To: buildroot

>>>>> "Javier" == Javier Alejandro Saenz Leguizamon <jasaenzl@unal.edu.co> writes:

 > Hi, and thx for the quick answer, its probably the toolchain, im
 > using codesourcery 2008q3, I'm going to try again with codesoucery
 > 2013.11 i also have another problem with openvpn and LZO compression
 > but I'm going to fix this

Yes, a toolchain from 2008 can hardly contain uptodate Linux kernel
headers (2.6.29 is from 2009).

In general, you are likely to end up with problems if you try to combine
components of significant different age.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] wpa_supplicant doesn't compile
  2013-12-09 10:40     ` Peter Korsgaard
@ 2013-12-09 18:45       ` Javier Alejandro Saenz Leguizamon
  0 siblings, 0 replies; 5+ messages in thread
From: Javier Alejandro Saenz Leguizamon @ 2013-12-09 18:45 UTC (permalink / raw)
  To: buildroot

Good Day.

Thanks a lot for your advice now wpa_supplicant is working.

Javier Alejandro S?enz Leguizam?n
Ingeniero Electr?nico
Universidad Nacional de Colombia


2013/12/9 Peter Korsgaard <jacmet@uclibc.org>

> >>>>> "Javier" == Javier Alejandro Saenz Leguizamon <jasaenzl@unal.edu.co>
> writes:
>
>  > Hi, and thx for the quick answer, its probably the toolchain, im
>  > using codesourcery 2008q3, I'm going to try again with codesoucery
>  > 2013.11 i also have another problem with openvpn and LZO compression
>  > but I'm going to fix this
>
> Yes, a toolchain from 2008 can hardly contain uptodate Linux kernel
> headers (2.6.29 is from 2009).
>
> In general, you are likely to end up with problems if you try to combine
> components of significant different age.
>
> --
> Bye, Peter Korsgaard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131209/e68ae5d2/attachment.html>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-12-09 18:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-08 23:39 [Buildroot] wpa_supplicant doesn't compile Javier Alejandro Saenz Leguizamon
2013-12-09  8:19 ` Peter Korsgaard
2013-12-09 10:34   ` Javier Alejandro Saenz Leguizamon
2013-12-09 10:40     ` Peter Korsgaard
2013-12-09 18:45       ` Javier Alejandro Saenz Leguizamon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox