On Sat, Oct 22, 2011 at 08:07:13AM +0000, Dietmar Maurer wrote:
I now get another error:
gcc -DHAVE_CONFIG_H -I. -I../include -I../include/qb -I../include -fPIC -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wno-format-nonliteral -Wno-long-long -Wno-strict-aliasing -c -o rb_test-check_rb.o `test -f 'check_rb.c' || echo './'`check_rb.c In file included from check_rb.c:33: ../include/qb/qblog.h:254: error: expected declaration specifiers or \u2018...\u2019 before \u2018va_list\u2019 ../include/qb/qblog.h:289: error: expected declaration specifiers or \u2018...\u2019 before \u2018va_list\u2019 ../include/qb/qblog.h:392: error: expected declaration specifiers or \u2018...\u2019 before \u2018va_list\u2019
Can you try again with the latest in git? I installed a debian-squeeze VM and it now passes a make check.
-Angus
-----Original Message----- From: quarterback-devel-bounces@lists.fedorahosted.org [mailto:quarterback- devel-bounces@lists.fedorahosted.org] On Behalf Of Angus Salkeld Sent: Samstag, 22. Oktober 2011 08:51 To: quarterback-devel@lists.fedorahosted.org Subject: Re: [libqb] problems with SCHED_IDLE
On Sat, Oct 22, 2011 at 04:35:06AM +0000, Dietmar Maurer wrote:
I get the following error when compiling the latest source:
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../include -I../include/qb -I../include -I../include -fPIC -Wall - Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes - Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align - Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wno-format-nonliteral -Wno-long-long -Wno-strict-aliasing -c -o libqb_la- log_thread.lo `test -f 'log_thread.c' || echo './'`log_thread.c
log_thread.c: In function \u2018qb_log_thread_priority_set\u2019: log_thread.c:126: error: \u2018SCHED_IDLE\u2019 undeclared (first use in this function) log_thread.c:126: error: (Each undeclared identifier is reported only once log_thread.c:126: error: for each function it appears in.)
(using debian squeeze)
If you apply the following patch does it compile?
quarterback-devel mailing list quarterback-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/quarterback-devel