PicoGui and cygwin

"Mark and Janice Juszczec" <[email protected]> Thu, 12 Jun 2003 15:31:57 +0000
Newsgroups gmane.comp.video.picogui.devel
Message-ID <[email protected]>
Hi folks

I'm trying to compile picogui-0.45 on cygwin.

Here's the list of commands showing how I did almost everything the web page 
said.  I had to run autogen a couple of times, don't know if this is a 
problem.  Ran libtoolize twice and the second time with --recheck, don't 
know if this is a problem.  Built in picogui-0.45/cygwin, don't know if that 
is a problem.

  558  cp /usr/local/lib/SDL.dll .
  559  ./autogen.sh
  560  history | grep export
  561  export PATH=/usr/autotool/stable/bin:$PATH
  562  ./autogen.sh
  563  ls -l ltmain.sh
  564  export PATH=$PATH:.
  565  ./autogen.sh
  566  ls
  567  which libtoolize
  568  libtoolize
  569  libtoolize --force
  570  cd cygwin/
  571  ../configure >& configure.out
  572  more configure.out
  573  make menuconfig
  574  ../configure >& configure2.out
  575  more configure2.out
  576  cp Makefile Makefile.orig
  577  vi Makefile
  578  make >& make.out

BTW, make menuconfig worked for me.

The compile failed.  I've included the errors below.  Any idea what I got 
screwed up?

Mark

Making all in widget
make[2]: Entering directory 
`/usr/local/src/picogui-0.45/pgserver/cygwin/widget'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../widget 
-I.. -I../include -I../../include    -O2 -g -c ../../widget/widget.c
gcc -DHAVE_CONFIG_H -I. -I../../widget -I.. -I../include -I../../include -O2 
-g -Wp,-MD,.deps/widget.pp -c ../../widget/widget.c -o widget.o
In file included from /usr/include/cygwin/in.h:21,
                 from /usr/include/netinet/in.h:14,
                 from ../../include/picogui/network.h:34,
                 from ../../include/pgserver/video.h:32,
                 from ../../include/pgserver/divtree.h:35,
                 from ../../include/pgserver/widget.h:35,
                 from ../../widget/widget.c:30:
/usr/include/cygwin/types.h:120: parse error before "int16_t"
/usr/include/cygwin/types.h:124: parse error before "int32_t"
/usr/include/cygwin/types.h:128: parse error before "int64_t"
/usr/include/cygwin/types.h:137: parse error before "uint16_t"
/usr/include/cygwin/types.h:141: parse error before "uint32_t"
/usr/include/cygwin/types.h:145: parse error before "uint64_t"
/usr/include/cygwin/types.h:154: parse error before "u_int16_t"
/usr/include/cygwin/types.h:158: parse error before "u_int32_t"
/usr/include/cygwin/types.h:162: parse error before "u_int64_t"
/usr/include/cygwin/types.h:177: parse error before "register_t"
In file included from /usr/include/netinet/in.h:14,
                 from ../../include/picogui/network.h:34,
                 from ../../include/pgserver/video.h:32,
                 from ../../include/pgserver/divtree.h:35,
                 from ../../include/pgserver/widget.h:35,
                 from ../../widget/widget.c:30:
/usr/include/cygwin/in.h:40: parse error before "in_port_t"
/usr/include/cygwin/in.h:81: parse error before "in_addr_t"
make[2]: *** [widget.lo] Error 1
make[2]: Leaving directory 
`/usr/local/src/picogui-0.45/pgserver/cygwin/widget'

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5