> rpm -qa | grep libeventd
> (eller libeventdev)
Den kom videre da libevent-devel kom ind. Tak.
Men kun lidt videre
[root@adsl trickle-1.06]# make
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -g -O2 -c trickle.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -g -O2 -c util.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -g -O2 -c getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -g -O2 -c strlcat.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -g -O2 -c strlcpy.c
/bin/sh ./libtool --mode=link gcc -Wall -Icompat -g -O2 -o trickle
trickle.o util.o getopt.o strlcat.o strlcpy.o -lnsl -ldl
mkdir .libs
gcc -Wall -Icompat -g -O2 -o trickle trickle.o util.o getopt.o strlcat.o
strlcpy.o -lnsl -ldl
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -g -O2 -c trickled.c
In file included from trickled.c:33:
/usr/include/netinet/in.h:136: error: two or more data types in declaration
specifiers
/usr/include/netinet/in.h:136: error: two or more data types in declaration
specifiers
make: *** [trickled.o] Error 1
[root@adsl trickle-1.06]#
Hvis den henviser til linie 136 i in.h står der typedef der:
/* Internet address. */
typedef uint32_t in_addr_t;
struct in_addr
{
in_addr_t s_addr;
};
Hvad mon man gør nu?