Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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?= 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 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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