[Linux-HA] Compile cl_status

magnus.olsson at ringhals.se magnus.olsson at ringhals.se
Mon Mar 7 07:44:50 MST 2005


When I try to compile cl_status I get the following message

gcc -DHAVE_CONFIG_H -I. -I. -I../../linux-ha -I../../include   -I/usr/include/libxml2 -g -O2 -fno-strict-aliasing  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Werror  -ggdb3  -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -g -O2 -fno-strict-aliasing  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Werror  -ggdb3 -c `test -f 'IPv6addr.c' || echo './'`IPv6addr.c
In the file included from IPv6addr.c:83:
../../include/clplumbing/cl_log.h:4:25: glib.h: File not found
In the file included from IPv6addr.c:83:
../../include/clplumbing/cl_log.h:6: syntax error for "G_GNUC_PRINTF"
cc1: warnings being treated as errors
../../include/clplumbing/cl_log.h:6: warning: type defaults to `int' in declaration of `G_GNUC_PRINTF'
../../include/clplumbing/cl_log.h:6: warning: funktionsdeklaration är inte en prototyp
../../include/clplumbing/cl_log.h:6: warning: datadefinition har ingen typ eller lagringsklass
../../include/clplumbing/cl_log.h:7: syntax error for "G_GNUC_PRINTF"
../../include/clplumbing/cl_log.h:7: warning: type defaults to `int' in declaration of `G_GNUC_PRINTF'
../../include/clplumbing/cl_log.h:7: warning: funktionsdeklaration är inte en prototyp
../../include/clplumbing/cl_log.h:7: warning: datadefinition har ingen typ eller lagringsklass
../../include/clplumbing/cl_log.h:15: warning: type defaults to `int' in declaration of `gchar'
../../include/clplumbing/cl_log.h:15: syntax error for symbol '*'
../../include/clplumbing/cl_log.h:17: warning: function declaration is not a prototyp

I have install glib-2.6.3.tar.gz and I get the right result from "/usr/bin/pkg-config glib-2.0" (if I fist runt "sentenv PKG_CONFIG_PATH /usr/local/lib/pkgconfig"), but not if I run "/usr/bin/pkg-config glib"


More information about the Linux-HA mailing list