Hi all,

Trying to compile strace under a very recent LFS build (2.6.32.2 kernel) 
results in:

net.c:976: error: field 'nl' has incomplete type

'nl' in this case is of type sockaddr_nl, which should be defined in 
/usr/include/linux/netlink.h.

config.log has this to say:

configure:5882: gcc -c -g -O2  conftest.c >&5
In file included from conftest.c:75:
/usr/include/linux/netlink.h:34: error: expected 
specifier-qualifier-list before 'sa_family_t'

Now, netlink.h has this on line 4:

#include <linux/socket.h> /* for sa_family_t */

But, linux/socket.h has no definition for sa_family_t.  That appears to 
be defined in bits/sockaddr.h.

Any ideas as to what's gone awry here would be much appreciated.

Regards,

Matt.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to