delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/12/03:35:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A5EC144.6D4C4777@sirius.cab.u-szeged.hu>
Date: Fri, 12 Jan 2001 09:33:08 +0100
From: =?iso-8859-1?Q?Sz=FBcs=20G=E1bor?= <szgabor AT sirius DOT cab DOT u-szeged DOT hu>
X-Mailer: Mozilla 4.71 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: szgabor AT sirius DOT cab DOT u-szeged DOT hu
Subject: WinMain AT 16

Dear MailList Members,

First of all, if it is really a mailing list, please CC the answer to
me,  as I am not participant of the list.

I have downloaded the latest release yesterday. My problem is with the
following error message:

g++ -g *.o -L/usr/X11R6/lib -lSDL -lSDL_mixer -lSDL_image -lGL -lGLU -o
bl2d
/usr/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c: undefined
reference to `WinMain AT 16'
collect2: ld returned 1 exit status
make: *** [ld] Error 1

Since I haven't found either libGL or libGLU, I found out from the
opengl package's readme file, that a symlink to libgl32 and libglu32,
respectively, should solve the problem. These are all the unusual (?)
things I've done. Indeed, before symlinking, ld stopped before this
message. The long and the short of it, libcygwin.a includes a reference
to WinMain AT 16, and I can't find any solution to resolve it.

Do you have any ideas what may be the problem? What is this WinMain AT 16?
Why do I need anything ending with '16' even though I'm using a
full-32-bit-system?

In hope of an early response (I'm desperate, I beg you!)
Respects,

Gábor


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019