Re: make gtkglarea on cygwin?



hi,

now it is making, after some advice from cygwin mailing list.  here is how
to do it, in case someone else has the same problem another day:
  1. go into gtgtk subdirectory that got created when you un-tarred
  2. locate makefile.am in that directory, and open it in a text editor
  3. locate the line that starts: libgtkgl_la_LDFLAGS = -version-info ...
  4. insert -no-undefined flag, to read: libgtkgl_la_LDFLAGS =
-no-undefined -version-info ...
  5. save, and exit text editor.
  6. go back to parent of gtgtk sub-directory
  7. run this command: `autoreconf --install --verbose --force`
  8. run "make"

cheers,
grant


> hi,
>
> i'm using latest version of cygwin (all packages, downloaded yesterday) on
> windowsXP.  "configure" works OK, but "make" gives me the following error:
>
>   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
>
> anyone seen this error before?  know how to solve it?
>
> thanks in advance,
> grant
>
>
>
> _______________________________________________
> GtkGlArea-list mailing list
> GtkGlArea-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkglarea-list
>
>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]