delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/06/07:54:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <43451057.4000303@familiehaase.de>
Date: Thu, 06 Oct 2005 13:53:59 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915
MIME-Version: 1.0
To: grant AT forum8 DOT co DOT nz
CC: cygwin AT cygwin DOT com
Subject: Re: can't "make" gtkglarea-1.2.3
References: <51362 DOT 210 DOT 148 DOT 102 DOT 27 DOT 1128588140 DOT squirrel AT www DOT forum8 DOT co DOT nz>
In-Reply-To: <51362.210.148.102.27.1128588140.squirrel@www.forum8.co.nz>
X-IsSubscribed: yes

--------------030205010801060604030209
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Grant Allan wrote:

> hi,
> 
> i have been trying to install gtkglarea-1.2.3 downloaded from a couple of
> different sources, one of them here:
> 
> http://sourceforge.net/project/showfiles.php?group_id=6087&package_id=130531
> 
> but after successful "configure", running "make" fails with an error as
> follows:
> 
>   dlltool: Syntax error in def file .libs/cyggdk-1-2-0.dll-def.0
>   /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o)::
> undefined reference to `_WinMain AT 16'
>   collect2: ld returned 1 exit status
>   ../libtool: line 2663: .libs/impgen: No such file or directory
>   make[1]: *** [libgtkgl.la] Error 127
>   make: *** [all-recursive] Error 1
> 
> any clues how i can resolve this?

Apply the attached patch, run `autreconf --install --verbose --force`.


Gerrit
-- 
=^..^=

--------------030205010801060604030209
Content-Type: text/plain;
 name="gtkglarea-1.2.3-1.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="gtkglarea-1.2.3-1.patch"

diff -urN -x .build -x .inst -x .sinst gtkglarea-1.2.3-orig/gtkgl/Makefile.am gtkglarea-1.2.3/gtkgl/Makefile.am
--- gtkglarea-1.2.3-orig/gtkgl/Makefile.am	2000-08-07 08:47:57.000000000 +0200
+++ gtkglarea-1.2.3/gtkgl/Makefile.am	2005-10-06 13:50:45.399089200 +0200
@@ -11,7 +11,7 @@
 
 gtkglinclude_HEADERS= gdkgl.h gtkglarea.h
 libgtkgl_la_SOURCES = gdkgl.c gtkglarea.c
-libgtkgl_la_LDFLAGS = -version-info $(GTKGL_LIBRARY_VERSION) @GTK_LIBS@ @GL_LIBS@
+libgtkgl_la_LDFLAGS = -no-undefined -version-info $(GTKGL_LIBRARY_VERSION) @GTK_LIBS@ @GL_LIBS@
 
 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/gtkgl/makefile.mingw.in
 	cd $(top_builddir) && CONFIG_FILES=gtkgl/$@ CONFIG_HEADERS= $(SHELL) ./config.status


--------------030205010801060604030209
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------030205010801060604030209--

- Raw text -


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