[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sys/un.h problem on linux with libc5

From: Kurt Roeckx
Subject: sys/un.h problem on linux with libc5
Date: Sun, 2 Mar 2003 15:26:12 +0100
User-agent: Mutt/1.4i

I just saw this:
checking sys/un.h usability... no
checking sys/un.h presence... yes
configure: WARNING: sys/un.h: present but cannot be compiled
configure: WARNING: sys/un.h: check for missing prerequisite headers?
configure: WARNING: sys/un.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for sys/un.h... yes

This was with autoconf 2.57 on a Linux system that still uses

In config.log it says:
/usr/include/linux/un.h:7: parse error before `sa_family_t'
/usr/include/linux/un.h:7: warning: no semicolon at end of struct or union
/usr/include/linux/un.h:9: parse error before `}'

You need to include <sys/socket.h> before it to work.  That is
the right place to define sa_family_t.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]