[GRASSLIST:2175] Re: building 5.7 on cygwin
Paul Kelly
paul-grass at stjohnspoint.co.uk
Fri Jan 9 15:17:56 EST 2004
Shared libraries aren't yet supported for 5.7 on Cygwin; you need to use
the --enable-shared=no option to the configure script to build static
libraries.
On Fri, 9 Jan 2004, Richard Greenwood wrote:
> Building 5.7 on cygwin I encounter an error - I can not get datetime to
> build. It fails with: undefined reference to `_WinMain at 16' (complete
> output below). Any suggestions greatly appreciated.
>
> Rich
>
>
> ============================================
> gcc -s -L/usr/local/lib -L/lib/mingw -I/usr/include/mingw
> -I/usr/include/w32api
> -L/home/Rich/grass57_exp_2004_01_03/dist.i686-pc-cygwin/lib \
> OBJ.i686-pc-cygwin/between.o OBJ.i686-pc-cygwin/copy.o
> OBJ.i686-pc-cygwin/same.o OBJ.i686-pc-cygwin/diff.o
> OBJ.i686-pc-cygwin/error.o OBJ.i686-pc-cygwin
> /format.o OBJ.i686-pc-cygwin/incr1.o OBJ.i686-pc-cygwin/incr2.o
> OBJ.i686-pc-cygwin/incr3.o OBJ.i686-pc-cygwin/local.o
> OBJ.i686-pc-cygwin/misc.o OBJ.i686-pc-cygw
> in/change.o OBJ.i686-pc-cygwin/scan.o OBJ.i686-pc-cygwin/sign.o
> OBJ.i686-pc-cygwin/type.o OBJ.i686-pc-cygwin/tz1.o
> OBJ.i686-pc-cygwin/tz2.o OBJ.i686-pc-cygwin/v
> alues.o -o
> /home/Rich/grass57_exp_2004_01_03/dist.i686-pc-cygwin/lib/libgrass_d
> atetime.
> /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(libcmain.o)(.text+0x7
> c): undefined reference to `_WinMain at 16'
> collect2: ld returned 1 exit status
> make[2]: ***
> [/home/Rich/grass57_exp_2004_01_03/dist.i686-pc-cygwin/lib/libgrass
> _datetime.] Error 1
> make[2]: Leaving directory `/home/Rich/grass57_exp_2004_01_03/lib/datetime'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory `/home/Rich/grass57_exp_2004_01_03/lib'
> make: *** [default] Error 1
> --
> Richard Greenwood
> www.greenwoodmap.com
>
>
More information about the grass-user
mailing list