Need help! YANTTCAUV.

Rob Prior rv7@b4.ca
Sat, 04 Jan 2003 13:29:01 -0800


David Hampton wrote:
>>David Hampton wrote:
>
> If you're running with -j1 there would be no
> other jobs to wait for.   Anywhere else you might be specifying a
> parallel make?  Perhaps an environment variable?  (Though the command
> line argument should override that.)

Ah, that's it.  I was building gnucash in a window logged in as root, 
but checked for environment variables in a window logged in as a user. 
The variable MAKE is set to 'make -j2' when logged in as root.

Thanks very much for the help, looking through the archives I can see 
that not all people say thanks for the *free* support you're providing.

> BTW, I can easily reproduce this error in my tree with 'make -j2' in the
> src/engine directory.  A 'make -j1' there is successful.

And it appears it's successful for me too.  I restarted the compile, and 
it's happily compiling away now.

Whoops!  Spoke too soon... Next error:

make[4]: Entering directory `/usr/src/gnucash-1.7.6/src/network-utils'

... snip ...(stuff that worked in this directory removed)

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/gnc-module 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H 
-I/usr/lib/gnome-libs/include -I/usr/include/orbit-1.0 -g -O2 -Wall 
-Wunused -Wmissing-prototypes -Wmissing-declarations 
-Werror-implicit-function-declaration -c gnc-http.c    -fPIC -o 
.libs/gnc-http.o
gnc-http.c:38:19: ghttp.h: No such file or directory
gnc-http.c:56: parse error before "ghttp_request"
gnc-http.c:56: warning: no semicolon at end of struct or union
gnc-http.c:59: parse error before '}' token
gnc-http.c: In function `gnc_http_cancel_requests':
gnc-http.c:91: implicit declaration of function `ghttp_request_destroy'
gnc-http.c:91: dereferencing pointer to incomplete type
gnc-http.c:92: dereferencing pointer to incomplete type
gnc-http.c:93: dereferencing pointer to incomplete type
gnc-http.c: In function `ghttp_check_callback':
gnc-http.c:108: `ghttp_status' undeclared (first use in this function)
gnc-http.c:108: (Each undeclared identifier is reported only once
gnc-http.c:108: for each function it appears in.)
gnc-http.c:108: parse error before "status"
gnc-http.c:120: `status' undeclared (first use in this function)
gnc-http.c:120: implicit declaration of function `ghttp_process'
gnc-http.c:120: dereferencing pointer to incomplete type
gnc-http.c:122: `ghttp_done' undeclared (first use in this function)
gnc-http.c:123: dereferencing pointer to incomplete type
gnc-http.c:124: dereferencing pointer to incomplete type
gnc-http.c:124: dereferencing pointer to incomplete type
gnc-http.c:125: implicit declaration of function `ghttp_get_body'
gnc-http.c:125: dereferencing pointer to incomplete type
gnc-http.c:126: implicit declaration of function `ghttp_get_body_len'
gnc-http.c:126: dereferencing pointer to incomplete type
gnc-http.c:127: dereferencing pointer to incomplete type
gnc-http.c:129: dereferencing pointer to incomplete type
gnc-http.c:130: dereferencing pointer to incomplete type
gnc-http.c:135: `ghttp_error' undeclared (first use in this function)
gnc-http.c:136: dereferencing pointer to incomplete type
gnc-http.c:137: dereferencing pointer to incomplete type
gnc-http.c:137: dereferencing pointer to incomplete type
gnc-http.c:138: implicit declaration of function `ghttp_get_error'
gnc-http.c:138: dereferencing pointer to incomplete type
gnc-http.c:139: dereferencing pointer to incomplete type
gnc-http.c:139: warning: passing arg 1 of `strlen' makes pointer from 
integer without a cast
gnc-http.c:140: dereferencing pointer to incomplete type
gnc-http.c:142: dereferencing pointer to incomplete type
gnc-http.c:143: dereferencing pointer to incomplete type
gnc-http.c:148: `ghttp_not_done' undeclared (first use in this function)
gnc-http.c: In function `gnc_http_start_request':
gnc-http.c:192: sizeof applied to an incomplete type
gnc-http.c:194: dereferencing pointer to incomplete type
gnc-http.c:194: implicit declaration of function `ghttp_request_new'
gnc-http.c:195: dereferencing pointer to incomplete type
gnc-http.c:196: dereferencing pointer to incomplete type
gnc-http.c:197: dereferencing pointer to incomplete type
gnc-http.c:205: implicit declaration of function `ghttp_set_uri'
gnc-http.c:205: dereferencing pointer to incomplete type
gnc-http.c:206: implicit declaration of function `ghttp_set_header'
gnc-http.c:206: dereferencing pointer to incomplete type
gnc-http.c:206: `http_hdr_User_Agent' undeclared (first use in this 
function)
gnc-http.c:208: implicit declaration of function `ghttp_set_sync'
gnc-http.c:208: dereferencing pointer to incomplete type
gnc-http.c:208: `ghttp_async' undeclared (first use in this function)
gnc-http.c:209: implicit declaration of function `ghttp_set_type'
gnc-http.c:209: dereferencing pointer to incomplete type
gnc-http.c:209: `ghttp_type_get' undeclared (first use in this function)
gnc-http.c:210: implicit declaration of function `ghttp_prepare'
gnc-http.c:210: dereferencing pointer to incomplete type
gnc-http.c:211: dereferencing pointer to incomplete type
gnc-http.c: In function `gnc_http_start_post':
gnc-http.c:230: sizeof applied to an incomplete type
gnc-http.c:233: dereferencing pointer to incomplete type
gnc-http.c:234: dereferencing pointer to incomplete type
gnc-http.c:235: dereferencing pointer to incomplete type
gnc-http.c:236: dereferencing pointer to incomplete type
gnc-http.c:243: dereferencing pointer to incomplete type
gnc-http.c:244: dereferencing pointer to incomplete type
gnc-http.c:244: `http_hdr_User_Agent' undeclared (first use in this 
function)
gnc-http.c:246: dereferencing pointer to incomplete type
gnc-http.c:246: `http_hdr_Content_Type' undeclared (first use in this 
function)
gnc-http.c:247: dereferencing pointer to incomplete type
gnc-http.c:247: `ghttp_async' undeclared (first use in this function)
gnc-http.c:248: dereferencing pointer to incomplete type
gnc-http.c:248: `ghttp_type_post' undeclared (first use in this function)
gnc-http.c:250: implicit declaration of function `ghttp_set_body'
gnc-http.c:250: dereferencing pointer to incomplete type
gnc-http.c:252: dereferencing pointer to incomplete type
gnc-http.c:253: dereferencing pointer to incomplete type
make[4]: *** [gnc-http.lo] Error 1
make[4]: Leaving directory `/usr/src/gnucash-1.7.6/src/network-utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gnucash-1.7.6/src/network-utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gnucash-1.7.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnucash-1.7.6'
make: *** [all-recursive-am] Error 2
[root@corsair gnucash-1.7.6]#

Looks like it can't find ghttp.h for some reason.  I'm sure I installed 
it, i'll have to go see where it went.

-RB4