Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Some compilation errors

Anonymous
2011-06-01
2013-05-14

  • Anonymous
    2011-06-01

    Hi all,

    I've found these two issues when compiling the project:

    - DBBrowserField, DBBrowserIndex and DBBrowserTable classes' field 'name' (QString) is trying to be initialized with 0, which fails. I just removed the explicit initialization of this field.
    - At link stage, the following error appeared:

    /usr/bin/ld: .obj/sqlite3.o: undefined reference to symbol 'dlopen@@GLIBC_2.1'
    /usr/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line
    /lib/libdl.so.2: could not read symbols: Invalid operation

    Adding "-ldl" to the linker flags, it worked.

    I'm using Fedora 14 (Linux 2.6.35.13-91.fc14.i686, gcc version 4.5.1 20100924, GNU ld version 2.20.51.0.7-6.fc14) and Qt 4.7.0.

    Hope it helps!