QLC 3.0.0 for Mandriva 2009.1

qlc-3-on-mandriva-2009 I’ve upgraded my old QLC RPM to the 3.0.0 version. This release is built for Mandriva 2009.1 and x86_64 architecture only, and do not depends on LLA. I also had to remove the FTDI output plugin as it doesn’t compile on my machine. You can find the QLC RPM in my repository.

In the end, this RPM is quite a prototype. I didn’t checked that it works well beyond the UI (check the screenshot for a proof). So use it at your own risks !

5 Responses to “QLC 3.0.0 for Mandriva 2009.1”


  • What compiler errors did you have so that I can try and fix it. There should have no dependancies.

  • Chris, you’re right about the LLA dependency: it’s not required by QLC 3.0.0. I just assumed it was based on my old RPM (which requires it).

    About the compilation of the FTDI output plugin, here is the error message I have (with latest QLC trunk, aka SVN revision #1179):

    (...)
    g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -shared -o libftdidmxout.so configureftdidmx.o ftdidmx.o ftdidmxdevice.o moc_configureftdidmx.o moc_ftdidmx.o moc_ftdidmxdevice.o   -L/usr/lib64 libftd2xx.a.0.4.16 -lQtGui -L/usr/lib64 -L/usr/lib -pthread -lpng -lfreetype -lgobject-2.0 -lSM -lICE -pthread -pthread -lXrender -lfontconfig -lXext -lX11 -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(ftd2xx.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(Event.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(usb_control.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(bulk_in.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(ftee2232.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(ftee232.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(ftee232r.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(serialno.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(ftee2232h.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(ftee4232h.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(usb.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(linux.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(error.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(descriptors.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(baud.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(fte2data.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: i386 architecture of input file `libftd2xx.a.0.4.16(eedata.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: Dwarf Error: Offset (692) greater than or equal to .debug_str size (165).
    libftd2xx.a.0.4.16(serialno.o): In function `i64toa':
    /home/amiller/Desktop/Linux_D2XX/eeprom/serialno.c:48: undefined reference to `__moddi3'
    /home/amiller/Desktop/Linux_D2XX/eeprom/serialno.c:49: undefined reference to `__divdi3'
    /usr/bin/ld: final link failed: No space left on device
    collect2: ld a retourné 1 code d'état d'exécution
    make[2]: *** [libftdidmxout.so] Erreur 1
    make[2]: quittant le répertoire « /home/maison/rpm/BUILD/qlc-3.0.0.trunk.r1179/libs/ftdidmx »
    make[1]: *** [sub-ftdidmx-make_default] Erreur 2
    make[1]: quittant le répertoire « /home/maison/rpm/BUILD/qlc-3.0.0.trunk.r1179/libs »
    make: *** [sub-libs-make_default] Erreur 2
    make: *** Attente des tâches non terminées....
    (...)
    

    My dirty fix was to disable the FTDI plugin compilation with this one-liner just before running qmake:

    sed -i -e 's,SUBDIRS\t\t\t+= ftdidmx,#SUBDIRS\t\t\t+= ftdidmx,g' libs/libs.pro
    
  • This is because you are trying to compile the 64bit version with the 32bit FTDI library. This is very simple to fix. Just download http://www.ftdichip.com/Drivers/D2XX/Linux/libftd2xx0.4.16_x86_64.tar.gz and change the link to this library rather than the distributed one. Perhaps I should include this and have a 64bit makefile flag for it?

  • @Chris: Thanks for the tip ! I managed to compile QLC with enabled FTDI output plugin by using the library you pointed to.

    In the mean time, Heikki Junnila added the necessary stuff in the trunk. Thanks to his changes, I can now build the RPM out of the latest SVN revision without any hack.

    You can find a RPM of the revision #1235 in my repository.

  • FYI, I’ve built a new RPM of QLC based on a fresh trunk (SVN revision #1276). I’ve dropped it in my Mandriva 2009.1 repository.

Leave a Reply

Additional comments powered by BackType