compiling using CYGWIN b20
- From: clausen lanl gov (Bjorn Clausen)
- To: gtk-list redhat com
- Subject: compiling using CYGWIN b20
- Date: Wed, 19 Jul 2000 15:47:26 -0600
Hi,
I tried to compile the program napi.c, including som files from the
directory e:\gnu\HDFgnu\include and linking to libraries in
e:\gnu\HDFgnu\lib as demonstrated in the line below, but I got the shown
error message.
E:\DATA\c\NeXus>gcc -o napi.exe napi.c -Ie:\gnu\HDFgnu\include
-Le:\gnu\HDFgnu\lib -lmfhdf -ldf -lz -ljpeg
e:\gnu\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\..\..\..\..\i586-cygwin32\lib/libcygwin.a(libcmain.o):
In function`main':/home/noer/src/b20/comp-tools/devo/winsup/libcmain.cc:38:
undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
Do you know how to get around this??
Thanks,
Bjørn
=========================================================
Bjørn Clausen, B.Sc., M.Sc., Ph.D.
Postdoctoral Research Associate
LANSCE-12
Los Alamos National Laboratory
P.O. Box 1663, Mail Stop H805
Los Alamos, NM 87545
Phone: (505) 667-2944
Fax: (505) 665-2676
Email: clausen@lanl.gov
==========================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]