Re: Building 0.0.27 on LinuxPPC



Simon Piette wrote:

> * Stephan Heinze (Stephan.Heinze@xcom.de) [991115 13:58]:
> > try the attached files (copy into the intl-directory).
> >
> > not mailed to list, because the attachment.
> >
> > hope that works.
> >
>
> Yes, it goes through the make until:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/lib/glib/include -g -O2 "-DHINSTANCE=void*" -DWINAPI= -Wp,-MD,.deps/misc.pp -c  -fPIC -DPIC misc.c -o .libs/misc.lo
> misc.c: In function `qlog':
> misc.c:63: request for member `gpr' in something not a structure or union
> misc.c:63: request for member `fpr' in something not a structure or union
> misc.c:63: request for member `reg_save_area' in something not a structure or union
> misc.c:63: request for member `overflow_arg_area' in something not a structure or union
> misc.c:64: request for member `fpr' in something not a structure or union
> misc.c:64: request for member `reg_save_area' in something not a structure or union
> misc.c:64: request for member `fpr' in something not a structure or union
> misc.c:64: request for member `fpr' in something not a structure or union
> misc.c:64: request for member `gpr' in something not a structure or union
> misc.c:64: request for member `reg_save_area' in something not a structure or union
> misc.c:64: request for member `gpr' in something not a structure or union
> misc.c:64: request for member `gpr' in something not a structure or union
> misc.c:64: request for member `gpr' in something not a structure or union
> misc.c:64: request for member `gpr' in something not a structure or union
> misc.c:64: request for member `gpr' in something not a structure or union
> misc.c:64: request for member `gpr' in something not a structure or union
> misc.c:64: request for member `reg_save_area' in something not a structure or union
> misc.c:64: request for member `gpr' in something not a structure or union
> misc.c:64: request for member `gpr' in something not a structure or union
> misc.c:64: request for member `gpr' in something not a structure or union
> misc.c:64: request for member `gpr' in something not a structure or union
> misc.c:64: request for member `overflow_arg_area' in something not a structure or union
> misc.c:64: request for member `overflow_arg_area' in something not a structure or union
> misc.c:64: request for member `overflow_arg_area' in something not a structure or union
> misc.c:64: request for member `overflow_arg_area' in something not a structure or union
> misc.c:64: request for member `overflow_arg_area' in something not a structure or union
> misc.c:64: request for member `overflow_arg_area' in something not a structure or union
> misc.c:72: warning: passing arg 3 of `vfprintf' from incompatible pointer type
> make[2]: *** [misc.lo] Error 1
> make[2]: Leaving directory `/home/simonp/dwld/gnome-db/postgres'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/simonp/dwld/gnome-db'
> make: *** [all-recursive-am] Error 2
>

This error seems to be something related to the va_list, va_start... types/structures. Could you please check your system header files to see what is the version of these functions
used by your system. As there are 2 versions of these functions:

void va_start( va_list arg_ptr ); (UNIX version)
void va_start( va_list arg_ptr, prev_param ); (ANSI version)

Also, the va_dcl line (line 56) could be the reason of the problem, as it is said (in VC++ help):

va_dcl -> Declaration of va_alist (UNIX version only)

I think this is the problem, so please check your header files and tell me what you find.

Cheers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]