Hi,

I have encountered compilation problem of wget-1.7 on Solaris 8 x86. I
am using gcc-2.95.3 and the Solaris 8 x86 is almost fully patched.

The error I got is when compiling log.c:

----

gcc -I. -I.    -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/opt/local/etc/wgetrc\"
-DLOCALEDIR=\"/opt/local/share/locale\" -g -O2 -c log.c
In file included from log.c:31:
/opt/gcc2953/lib/gcc-lib/i386-pc-solaris2.8/2.95.3/include/stdarg.h:170:
conflicting types for `va_list'
/usr/include/stdio.h:120: previous declaration of `va_list'
gmake[1]: *** [log.o] Error 1
gmake[1]: Leaving directory `/tmp/root/wget-1.7/src'
gmake: *** [src] Error 2

----

and if I add this patch in:

----

*** config.h    Tue Jun 12 22:11:19 2001
--- config.h.new        Tue Jun 12 22:14:54 2001
***************
*** 228,233 ****
--- 228,235 ----
  # define NAMESPACE_TWEAKS
  #endif
  
+ #undef NAMESPACE_TWEAKS
+ 
  #ifdef NAMESPACE_TWEAKS
  
  /* Request the "Unix 98 compilation environment". */

----

the whole thing will compile and wget seems to be working fine... 

Cheerios,

{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}
{       Sum Wu                 /\**/\                  Sum           }
{                             ( o_o  )_)               Ergo          }
{   [EMAIL PROTECTED]        ,(u  u  ,),               Sum!!!!       }
{                            {}{}{}{}{}{}                            }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to