[1.7] compile error after updating 1.7

Dave Korn dave.korn.cygwin@googlemail.com
Thu Jun 18 18:34:00 GMT 2009


jean-luc malet wrote:
> hi!
> I just decided to update my 1.7 cygwin to the latest release
> it seems to run more smoothly now than in previous release :)
> 
> however I'm getting strange errors when try to compile a project I'm working on
> I didn't get this on previous release
> I tryed to clean and rebuild everything and same result
> cc  -shared                 -o GENERATED/libglui-0.0.1.dll
 ^^^^

  What is this?

> -Wl,--out-implib=GENERATED/libglui-0.0.1.dll.a
> -Wl,--export-all-symbols -Wl,--enable-auto-import
> -Wl,--no-whole-archive  -lGLU -lGL -L/usr/X11R6/lib -lglut -L/bin
> GENERATED/algebra3.o GENERATED/button.o GENERATED/callback.o
> GENERATED/collapsible.o GENERATED/container.o GENERATED/control.o
> GENERATED/debug.o GENERATED/DefaultTheme.o GENERATED/event_handler.o
> GENERATED/Exception.o GENERATED/imKStoUCS.o GENERATED/LightningTheme.o
> GENERATED/MasterObject.o GENERATED/node.o GENERATED/separator.o
> GENERATED/statictext.o GENERATED/text.o GENERATED/themes.o
> GENERATED/todo.o GENERATED/VertexObject.o GENERATED/window.o
> GENERATED/GLUT/window.o

  It looks like you've maybe got a mix of gcc-3 objects (using sjlj
exceptions) and are trying to link them against gcc-4's shared libgcc (uses
Dwarf-2 exceptions).

    cheers,
      DaveK


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



More information about the Cygwin mailing list