Hi all,
I have already asked this question, but I had no answers, so I reask.
I tried to build pgsql but there's a compilation error. The same error
in versions 6.4.1 and 6.4.2.
I typed :
./configure --with-template=linux_ppc --with-tcl --with-perl --with-odbc
-- with-x
gmake all
everything seems to be ok, with a lot of warnings, and suddenly :
***********************************************************************************************************************************************
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes
-I. -DHAVE_CONFIG_H -fpic -c mis
c.c -o misc.o
misc.c:61: warning: no previous prototype for `mylog'
misc.c: In function `mylog':
misc.c:69: request for member `gpr' in something not a structure or
union
misc.c:69: request for member `fpr' in something not a structure or
union
misc.c:69: request for member `reg_save_area' in something not a
structure or union
misc.c:69: request for member `overflow_arg_area' in something not a
structure or union
misc.c:70: request for member `fpr' in something not a structure or
union
misc.c:70: request for member `reg_save_area' in something not a
structure or union
misc.c:70: request for member `fpr' in something not a structure or
union
misc.c:70: request for member `fpr' in something not a structure or
union
misc.c:70: request for member `gpr' in something not a structure or
union
misc.c:70: request for member `reg_save_area' in something not a
structure or union
misc.c:70: request for member `gpr' in something not a structure or
union
misc.c:70: request for member `gpr' in something not a structure or
union
misc.c:70: request for member `gpr' in something not a structure or
union
misc.c:70: request for member `gpr' in something not a structure or
union
misc.c:70: request for member `gpr' in something not a structure or
union
misc.c:70: request for member `gpr' in something not a structure or
union
misc.c:70: request for member `reg_save_area' in something not a
structure or union
misc.c:70: request for member `gpr' in something not a structure or
union
misc.c:70: request for member `gpr' in something not a structure or
union
misc.c:70: request for member `gpr' in something not a structure or
union
misc.c:70: request for member `gpr' in something not a structure or
union
misc.c:70: request for member `overflow_arg_area' in something not a
structure or union
misc.c:70: request for member `overflow_arg_area' in something not a
structure or union
misc.c:70: request for member `overflow_arg_area' in something not a
structure or union
misc.c:70: request for member `overflow_arg_area' in something not a
structure or union
misc.c:70: request for member `overflow_arg_area' in something not a
structure or union
misc.c:70: request for member `overflow_arg_area' in something not a
structure or union
misc.c:70: request for member `overflow_arg_area' in something not a
structure or union
misc.c:70: request for member `overflow_arg_area' in something not a
structure or union
misc.c:80: warning: passing arg 3 of `vfprintf' from incompatible
pointer type
misc.c:64: warning: `args' might be used uninitialized in this function
misc.c:70: warning: `__ptr' might be used uninitialized in this function
misc.c: At top level:
misc.c:91: warning: no previous prototype for `qlog'
misc.c: In function `qlog':
misc.c:99: request for member `gpr' in something not a structure or
union
misc.c:99: request for member `fpr' in something not a structure or
union
misc.c:99: request for member `reg_save_area' in something not a
structure or union
misc.c:99: request for member `overflow_arg_area' in something not a
structure or union
misc.c:100: request for member `fpr' in something not a structure or
union
misc.c:100: request for member `reg_save_area' in something not a
structure or union
misc.c:100: request for member `fpr' in something not a structure or
union
misc.c:100: request for member `fpr' in something not a structure or
union
misc.c:100: request for member `gpr' in something not a structure or
union
misc.c:100: request for member `reg_save_area' in something not a
structure or union
misc.c:100: request for member `gpr' in something not a structure or
union
misc.c:100: request for member `gpr' in something not a structure or
union
misc.c:100: request for member `gpr' in something not a structure or
union
misc.c:100: request for member `gpr' in something not a structure or
union
misc.c:100: request for member `gpr' in something not a structure or
union
misc.c:100: request for member `gpr' in something not a structure or
union
misc.c:100: request for member `reg_save_area' in something not a
structure or union
misc.c:100: request for member `gpr' in something not a structure or
union
misc.c:100: request for member `gpr' in something not a structure or
union
misc.c:100: request for member `gpr' in something not a structure or
union
misc.c:100: request for member `gpr' in something not a structure or
union
misc.c:100: request for member `overflow_arg_area' in something not a
structure or union
misc.c:100: request for member `overflow_arg_area' in something not a
structure or union
misc.c:100: request for member `overflow_arg_area' in something not a
structure or union
misc.c:100: request for member `overflow_arg_area' in something not a
structure or union
misc.c:100: request for member `overflow_arg_area' in something not a
structure or union
misc.c:100: request for member `overflow_arg_area' in something not a
structure or union
misc.c:100: request for member `overflow_arg_area' in something not a
structure or union
misc.c:100: request for member `overflow_arg_area' in something not a
structure or union
misc.c:111: warning: passing arg 3 of `vfprintf' from incompatible
pointer type
misc.c:94: warning: `args' might be used uninitialized in this function
misc.c:100: warning: `__ptr' might be used uninitialized in this
function
make: *** [misc.o] Error 1
************************************************************************************************************************************
Everything seems to be ok if I remove --with-odbc.
I use mkLinux DR3 and egcs-2.90.25 980302 (egcs-1.0.2 prerelease) .
What is wrong ??? Help!!!!
Vincent RUIZ - CORSICA