Error on make gnucash-1.7.7

Thomas Spahni tsp@lawbiz.ch
Wed, 15 Jan 2003 10:57:10 +0100 (CET)


Karl,

try to add the following line as line 15 of file
gnucash-1.7.7/src/gnc-module/gnc-module.c

#include <stdio.h>

 ...that's where printf() is defined.

Thomas Spahni


On 11 Jan 2003, Karl Schlicker wrote:

> hello,
>
> I've configure gnucash with this parameters
> ./configure --enable-openhbci --with-openhbce-prefix=/usr/local/openhbci
> --disable-openhbcitest
> After configure all seems OK!
>
> But, trying make,i've got this error lines:
>
> (cd .libs && rm -f libgw-core-utils.la && ln -s ../libgw-core-utils.la
> libgw-core-utils.la)
> make[3]: Verlassen des Verzeichnisses Verzeichnis
> »/daten/downloads/gnucash-1.7.7/src/core-utils«
> Making all in gnc-module
> make[3]: Wechsel in das Verzeichnis Verzeichnis
> »/daten/downloads/gnucash-1.7.7/src/gnc-module«
> Making all in .
> make[4]: Wechsel in das Verzeichnis Verzeichnis
> »/daten/downloads/gnucash-1.7.7/src/gnc-module«
> rm -f gnucash g-wrapped
> ln -sf . gnucash
> ln -sf . g-wrapped
> touch .scm-links
> FLAVOR=gnome guile -c \
>   "(set! %load-path (cons \"/usr/share/guile\" %load-path)) \
>   (primitive-load \"./gw-gnc-module-spec.scm\") \
>   (gw:generate-wrapset \"gw-gnc-module\")"
> add-ws-t gw-gnc-module #<output: gw-gnc-module.c 3>
> gw:global-declarations-ccg
>  for-client gw-wct gw-gnc-module
>  for-client gw-standard gw-gnc-module
>  for-parent gw-gnc-module
> add-ws-t gw-gnc-module #<output: gw-gnc-module.c 3>
> gw:global-definitions-ccg
>  for-client gw-wct gw-gnc-module
>  for-client gw-standard gw-gnc-module
>  for-parent gw-gnc-module
> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../..    -I../../src/core-utils -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -I /usr/local/include/g-wrap  -g -O2 -Werror
> -Wall -Wunused   -c gnc-module.c
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/core-utils
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I
> /usr/local/include/g-wrap -g -O2 -Werror -Wall -Wunused -c gnc-module.c
> -fPIC -o .libs/gnc-module.o
> cc1: warnings being treated as errors
> gnc-module.c: In function `gnc_module_load_common':
> gnc-module.c:505: warning: implicit declaration of function `printf'
> make[4]: *** [gnc-module.lo] Fehler 1
> make[4]: Verlassen des Verzeichnisses Verzeichnis
> »/daten/downloads/gnucash-1.7.7/src/gnc-module«
> make[3]: *** [all-recursive] Fehler 1
> make[3]: Verlassen des Verzeichnisses Verzeichnis
> »/daten/downloads/gnucash-1.7.7/src/gnc-module«
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Verlassen des Verzeichnisses Verzeichnis
> »/daten/downloads/gnucash-1.7.7/src«
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Verlassen des Verzeichnisses Verzeichnis
> »/daten/downloads/gnucash-1.7.7«
>
> Where is the error?
>
> Best Regards
>
> Karl
>
> P.S: It's long way making gnucash running....
>
>
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user@lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>