hostapd segfault, unable to restart, unable to compile 2.0

Norman Henderson norm.audrey at gmail.com
Thu Aug 29 16:09:20 EDT 2013


Thanks, that's helpful guidance, I'm completely new at this. Below is
an abbreviated log, followed by the output of apt-cache show for a
couple of packages that seemed (to me!) relevant. -Norman

(ok to this point)

  CC  ../src/drivers/driver_hostap.c
../src/drivers/driver_nl80211.c:19:31: warning: netlink/genl/genl.h:
No such file or directory
../src/drivers/driver_nl80211.c:20:33: warning: netlink/genl/family.h:
No such file or directory
../src/drivers/driver_nl80211.c:21:31: warning: netlink/genl/ctrl.h:
No such file or directory
../src/drivers/driver_nl80211.c: In function ‘nl80211_handle_alloc’:
../src/drivers/driver_nl80211.c:91: warning: implicit declaration of
function ‘nl_handle_alloc_cb’
../src/drivers/driver_nl80211.c:91: warning: assignment makes pointer
from integer without a cast
../src/drivers/driver_nl80211.c:101: warning: implicit declaration of
function ‘nl_socket_set_local_port’
../src/drivers/driver_nl80211.c: In function ‘nl80211_handle_destroy’:
../src/drivers/driver_nl80211.c:108: warning: implicit declaration of
function ‘nl_socket_get_local_port’
../src/drivers/driver_nl80211.c:113: warning: implicit declaration of
function ‘nl_handle_destroy’
../src/drivers/driver_nl80211.c: At top level:
../src/drivers/driver_nl80211.c:118: warning: ‘struct nl_cb’ declared
inside parameter list
../src/drivers/driver_nl80211.c:118: warning: its scope is only this
definition or declaration, which is probably not what you want
../src/drivers/driver_nl80211.c: In function ‘nl_create_handle’:
../src/drivers/driver_nl80211.c:129: warning: implicit declaration of
function ‘genl_connect’
../src/drivers/driver_nl80211.c: At top level:
../src/drivers/driver_nl80211.c:376: warning: ‘struct nl_msg’ declared
inside parameter list
../src/drivers/driver_nl80211.c:380: warning: ‘struct nl_msg’ declared
inside parameter list
../src/drivers/driver_nl80211.c: In function ‘ack_handler’:
../src/drivers/driver_nl80211.c:384: error: ‘NL_STOP’ undeclared
(first use in this function)
../src/drivers/driver_nl80211.c:384: error: (Each undeclared
identifier is reported only once
../src/drivers/driver_nl80211.c:384: error: for each function it appears in.)
../src/drivers/driver_nl80211.c: At top level:
../src/drivers/driver_nl80211.c:387: warning: ‘struct nl_msg’ declared
inside parameter list
../src/drivers/driver_nl80211.c: In function ‘finish_handler’:
../src/drivers/driver_nl80211.c:391: error: ‘NL_SKIP’ undeclared
(first use in this function)
../src/drivers/driver_nl80211.c: In function ‘error_handler’:
../src/drivers/driver_nl80211.c:399: error: ‘NL_SKIP’ undeclared
(first use in this function)
../src/drivers/driver_nl80211.c: At top level:

(lots more errors and warnings of a similar nature)

make: *** [../src/drivers/driver_nl80211.o] Error 1

(end of compile)

Package: libnl1
Priority: optional
Section: libs
Installed-Size: 368
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Original-Maintainer: Michael Biebl <biebl at debian.org>
Architecture: i386
Source: libnl
Version: 1.1-5build1
Replaces: libnl1-pre6, libnl1-pre8
Depends: libc6 (>= 2.8)
Conflicts: libnl1-pre6, libnl1-pre8
Filename: pool/main/libn/libnl/libnl1_1.1-5build1_i386.deb
Size: 129370
MD5sum: 25b80da95e8e93d2c33a455cfe7ef3b3
SHA1: 93903ebb6e1b6515238b7c5406d3f65e7501d872
SHA256: ff9f00180adad8bc33388ba3b930a54ea8eab11bac5bd87bbd58d513e6fd80df
Description: library for dealing with netlink sockets
 This is a library for applications dealing with netlink sockets.
 The library provides an interface for raw netlink messaging and various
 netlink family specific interfaces.
Homepage: http://people.suug.ch/~tgr/libnl/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, server, kubuntu-desktop, kubuntu-netbook,
edubuntu-desktop, xubuntu-desktop, mythbuntu-backend-master,
mythbuntu-backend-slave, mythbuntu-desktop, mythbuntu-frontend,
ubuntu-netbook

Package: libnl-dev
Priority: optional
Section: libdevel
Installed-Size: 308
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Original-Maintainer: Michael Biebl <biebl at debian.org>
Architecture: i386
Source: libnl
Version: 1.1-5build1
Depends: libnl1 (= 1.1-5build1)
Suggests: libnl-doc
Filename: pool/main/libn/libnl/libnl-dev_1.1-5build1_i386.deb
Size: 24758
MD5sum: 33095e45e51d2e9d179505c10c8261ab
SHA1: eadcc68cf25065591c7aa68921caa3a6bf745611
SHA256: 49986bc862ab0594d6114f2f3cf00963e6adab1a9770dde34c57f75dad2cbb3e
Description: development library and headers for libnl
 This is a library for applications dealing with netlink sockets.
 The library provides an interface for raw netlink messaging and various
 netlink family specific interfaces.

 This package contains all files that are needed to build applications using
 libnl.
Homepage: http://people.suug.ch/~tgr/libnl/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 18m

On 8/29/13, Holger Schurig <holgerschurig at gmail.com> wrote:
> There is no need to send 100 kB of compile log into the mailing list.
> Search for "error:" and post only the first line and around 10 lines
> about that error. That will give us the error and some context around
> it,
>


More information about the HostAP mailing list