Compiling problem with libnl

Karl Hiramoto karl at hiramoto.org
Tue Nov 30 17:05:04 EST 2010


I can confirm the same on RHEL 5.5

if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.  -Wall -I../include -I../include -D_GNU_SOURCE
-DSYSCONFDIR=\"/usr/local/etc/libnl\"   -g -O2 -MT route/cls/cgroup.lo
-MD -MP -MF "$depbase.Tpo" -c -o route/cls/cgroup.lo route/cls/cgroup.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f
"$depbase.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -I../include -I../include
-D_GNU_SOURCE -DSYSCONFDIR=\"/usr/local/etc/libnl\" -g -O2 -MT
route/cls/cgroup.lo -MD -MP -MF route/cls/.deps/cgroup.Tpo -c
route/cls/cgroup.c  -fPIC -DPIC -o route/cls/.libs/cgroup.o
 gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -I../include -I../include
-D_GNU_SOURCE -DSYSCONFDIR=\"/usr/local/etc/libnl\" -g -O2 -MT
route/cls/cgroup.lo -MD -MP -MF route/cls/.deps/cgroup.Tpo -c
route/cls/cgroup.c -o route/cls/cgroup.o >/dev/null 2>&1
bison -y -d  -o route/cls/ematch_syntax.c route/cls/ematch_syntax.y
route/cls/ematch_syntax.y:31.9-16: syntax error, unexpected identifier,
expecting string
make[2]: *** [route/cls/ematch_syntax.c] Error 1
make[2]: Leaving directory `/home/karl/libnl/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/karl/libnl/lib'
make: *** [all-recursive] Error 1



$ bison --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.




More information about the libnl mailing list