This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: can't "make" gtkglarea-1.2.3


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@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 -- =^..^=
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

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]