[ccan] Mathematics Module

Rupinder Singh plitanium at gmail.com
Tue Jan 20 02:56:54 EST 2009


Hi,

Here is a very basic ccanmath.h for a Mathematics Module, also the _info.c

Though I can do a run.c with a bit of backtracking, any ideas on how to fix
the following ?:


$ make tools
gcc -g -O2 -Wall -Wstrict-prototypes -Wold-style-definition
-Wmissing-prototypes -Wmissing-declarations -Werror -I.   -c -o
tools/ccan_depends.o tools/ccan_depends.c
In file included from tools/ccan_depends.c:2:
tools/err.h:4:23: sys/cdefs.h: No such file or directory
In file included from tools/ccan_depends.c:2:
tools/err.h:9: error: syntax error before "void"
In file included from c:/mingw/bin/../lib/gcc/
mingw32/3.4.5/../../../../include/stdlib.h:21,
                 from tools/ccan_depends.c:3:
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/include/stddef.h:213: error: syntax
error before "typedef"
tools/ccan_depends.c: In function `main':
tools/ccan_depends.c:26: warning: `errx' is deprecated (declared at
tools/err.h:11)
make: *** [tools/ccan_depends.o] Error 1


Regards
Rupinder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20090119/843d951c/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ccanmath.h
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20090119/843d951c/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: _info.c
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20090119/843d951c/attachment.txt>


More information about the ccan mailing list