Error on make gnucash-1.7.7

Karl Schlicker karl@schlicker.org
15 Jan 2003 19:52:50 +0100


Hey Thomas,

after the insertion of the line I got already on something, but now I
have the following mistake, and because I am no C-Coder:

Wechsel in das Verzeichnis Verzeichnis »/daten/downloads/gnucash-1.7.7/
src/engine«
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../..    -I..
/../lib/libc -I../../src/gnc-module -I/usr/local/include/gnucash
-I/usr/include/
glib-1.2 -I/usr/lib/glib/include -I /usr/local/include/g-wrap  -g -O2
-Werror -W
all -Wunused   -c gw-engine.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc
-I../../src/gnc-module -I/u
sr/local/include/gnucash -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I /usr
/local/include/g-wrap -g -O2 -Werror -Wall -Wunused -c gw-engine.c   
-fPIC -o .
libs/gw-engine.o
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../..    -I..
/../lib/libc -I../../src/gnc-module -I/usr/local/include/gnucash
-I/usr/include/
glib-1.2 -I/usr/lib/glib/include -I /usr/local/include/g-wrap  -g -O2
-Werror -W
all -Wunused   -c engine-helpers.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc
-I../../src/gnc-module -I/u
sr/local/include/gnucash -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I /usr
/local/include/g-wrap -g -O2 -Werror -Wall -Wunused -c
engine-helpers.c    -fPIC
 -o .libs/engine-helpers.o
cc1: warnings being treated as errors
engine-helpers.c: In function `gnc_scm_to_gint64':
engine-helpers.c:2169: warning: passing arg 2 of `scm_num2long_long'
makes integ
er from pointer without a cast
make[4]: *** [engine-helpers.lo] Fehler 1


Best Regards

Karl Schlicker


Am Mit, 2003-01-15 um 10.57 schrieb Thomas Spahni:
> 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
> >
>