g-wrap
Laurent Jacques
ljacques@fyma.ucl.ac.be
Fri, 20 Jul 2001 14:15:19 +0200
Hello,
Yesterday, after an installation of a Red Hat 7.1 on my PII 400, after also
the installation of Ximian gnome 1.4, I tried to compiled (because of trouble
with the binaries and the Ximian libguile) my own version of guppi
(0.35.5-5), g-wrap (1.1.10-3) and gnucash 1.6.1 from rpm sources of rpmfind.
Guppi has compiled without problems, but g-wrap stopped always on the same
error: Something like
gw-test-parent.c -> implicit declaration of strcmp
After some downloads, it was the same for g-wrap 1.1.10-2 and 1.1.9.
Finally, I added in the file "gw-test-parent.c" the line
#include <string.h>
which solved the problem.
In fact, I don't know if it is due to my c++ compiler/header (which are the
standard), but if in gw-test-child-spec.scm, I replace:
==
(gw:module-set-declarations-ccodegen!
m
(lambda (client-only?)
(list
"#include \"gw-test-child-code.h\"\n")))
==
by
==
(gw:module-set-declarations-ccodegen!
m
(lambda (client-only?)
(list
"#include \"gw-test-child-code.h\"\n"
"#include <string.h>\n" )))
==
and in gw-test-parent-spec.scm,
this line
==
(gw:module-set-declarations-ccodegen!
m
(lambda (client-only?)
(list
"#include \"gw-test-parent-code.h\"\n")))
==
by
==
(gw:module-set-declarations-ccodegen!
m
(lambda (client-only?)
(list
"#include \"gw-test-parent-code.h\"\n"
"#include <string.h>\n" )))
==
all can be build without stops.
Did someone meet the same trouble ?
Laurent.