#112 Import library missing almost all symbols


I'm working on porting Cuneiform from Linux to MinGW. The code is here: https://code.launchpad.net/~jpakkane/cuneiform-linux/winport

I build a bunch of dlls from source and link them to the main binary. Most work fine, but in one instance the import library has virtually no defined symbols at all. This causes link errors. This happens both with the release version of MinGW as well as 4.3.0 20080305. The problematical library is librimage.dll and librimage.dll.a.

If I look at the .obj files and .dll with a hex editor, the symbols are there. No matter what I do, I can't get them to appear in the import library.

I suspected that this could be caused by #defines that hide the symbols. I tested this by adding a test function to a source file in a way that it can't get hidden. It still does not show up in the import library.


  • Keith Marshall

    Keith Marshall - 2008-09-19

    What MinGW bug are you reporting?

    I've redesignated this as a support request, but you really would be better advised to seek help via the MinGW-Users ML; mailto:mingw-users@lists.sourceforge.net, and you must subscribe before you post: see https://lists.sourceforge.net/mailman/listinfo/mingw-users

  • Jussi Pakkanen

    Jussi Pakkanen - 2008-09-20

    The bug is that MinGW generates incorrect .dll.a files.

  • Jussi Pakkanen

    Jussi Pakkanen - 2008-09-22

    Got this fixed, closing.

  • Jussi Pakkanen

    Jussi Pakkanen - 2008-09-22
    • status: open --> closed

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks