Problem compiling 1.0.0 in cygwin

A. H. W. Kong ahwkong at ahwkong.com
Wed Feb 4 20:12:11 EST 2004


Hi,

I have encountered this problem when I try to compile the physfs-1.0.0 
in cygwin.

/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(libcmain.o)(.text+0x7c): 
undefined refere
nce to `_WinMain at 16'



Here is some information about my envirnoment
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
Configured with: /GCC/gcc-3.3.1-3/configure --with-gcc --with-gnu-ld 
--with-gnu-as --prefix=/usr --e
xec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib 
--libexecdir=/usr/sbin --mandir=/usr/share/man -
-infodir=/usr/share/info 
--enable-languages=c,ada,c++,f77,pascal,java,objc --enable-libgcj --enable-
threads=posix --with-system-zlib --enable-nls --without-included-gettext 
--enable-interpreter --enab
le-sjlj-exceptions --disable-version-specific-runtime-libs 
--enable-shared --disable-win32-registry
--enable-java-gc=boehm --disable-hash-synchronization --verbose 
--target=i686-pc-cygwin --host=i686-
pc-cygwin --build=i686-pc-cygwin
Thread model: posix
gcc version 3.3.1 (cygming special)

Any workaround/fix available?

Thanks,

Anthony



More information about the physfs mailing list