Welcome in this Forum - This information is closed after your registration automaticly

You are watching this forum as a guest with limited access to discussion and other functions. If you register for free you can create new topics unter your name, send other members private messages, take part on polls and other special functions. The registration is very simple and free !

Now register for free.

Already registered ? Login now !

Username:
Password:

  Log me on automatically each visit
  Hide my online status this session

Qpxtool 0.7.0 Linux Error Installation

everything about installing the gui

Moderators: ShultZ, piewie

Qpxtool 0.7.0 Linux Error Installation

Postby Iceman » Mon Jan 04, 2010 13:06

Hi,
I have this problem:
$ ./configure
Checking OS... Linux
Checking machine arch... x86_64
Checking for make... yes
Checking if we have GNU Make... yes
Checking C compiler... gcc 4.4.1
Checking C++ compiler... gcc 4.4.1
Checking for libpng... 1.2.37
libpng compiler flags: -I/usr/include/libpng12
libpng linker flags: -L/usr/lib -lpng12
Checking png.h presense... yes
Checking png.h usability... yes
Checking for Qt4... /usr/lib (4.5.2), qmake command: qmake-qt4

** Creating Makefiles...
* Makefile
* lib/Makefile.lib
* plugins/Makefile.plugin
* gui/Makefile

** install prefix: /usr/local
** debug version: no
** PNG support: yes
** build gui: yes

Installation paths:
bin : /usr/local/bin
sbin : /usr/local/sbin
libs : /usr/local/lib64
plugins : /usr/local/li[album]64[/album]qpxtool
includes : /usr/local/include/qpxtool
man : /usr/local/share/man
** Configuration finished! run `make` now

So far, so good but when I do:
$ make
make -C lib
make[1]: ingresso nella directory «/home/andrea/Scaricati/qpxtool-0.7.0/lib»
make -C qpxtransport DIR=qpxtransport
make[2]: ingresso nella directory «/home/andrea/Scaricati/qpxtool-0.7.0/lib/qpxtransport»
make[2]: Non c'è da fare nulla per «all»
make[2]: uscita dalla directory «/home/andrea/Scaricati/qpxtool-0.7.0/lib/qpxtransport»
make -C qpxplextor DIR=qpxplextor
make[2]: ingresso nella directory «/home/andrea/Scaricati/qpxtool-0.7.0/lib/qpxplextor»
make[2]: Non c'è da fare nulla per «all»
make[2]: uscita dalla directory «/home/andrea/Scaricati/qpxtool-0.7.0/lib/qpxplextor»
make -C qpxpioneer DIR=qpxpioneer
make[2]: ingresso nella directory «/home/andrea/Scaricati/qpxtool-0.7.0/lib/qpxpioneer»
make[2]: Non c'è da fare nulla per «all»
make[2]: uscita dalla directory «/home/andrea/Scaricati/qpxtool-0.7.0/lib/qpxpioneer»
make -C qpxyamaha DIR=qpxyamaha
make[2]: ingresso nella directory «/home/andrea/Scaricati/qpxtool-0.7.0/lib/qpxyamaha»
make[2]: Non c'è da fare nulla per «all»
make[2]: uscita dalla directory «/home/andrea/Scaricati/qpxtool-0.7.0/lib/qpxyamaha»
make -C qpxscan DIR=qpxscan
make[2]: ingresso nella directory «/home/andrea/Scaricati/qpxtool-0.7.0/lib/qpxscan»
make[2]: Non c'è da fare nulla per «all»
make[2]: uscita dalla directory «/home/andrea/Scaricati/qpxtool-0.7.0/lib/qpxscan»
make[1]: uscita dalla directory «/home/andrea/Scaricati/qpxtool-0.7.0/lib»
make -C console
make[1]: ingresso nella directory «/home/andrea/Scaricati/qpxtool-0.7.0/console»
make -C readdvd DIR=readdvd
make[2]: ingresso nella directory «/home/andrea/Scaricati/qpxtool-0.7.0/console/readdvd»
make[2]: «readdvd» è aggiornato.
make[2]: uscita dalla directory «/home/andrea/Scaricati/qpxtool-0.7.0/console/readdvd»
make -C cdvdcontrol DIR=cdvdcontrol
make[2]: ingresso nella directory «/home/andrea/Scaricati/qpxtool-0.7.0/console/cdvdcontrol»
make[2]: «cdvdcontrol» è aggiornato.
make[2]: uscita dalla directory «/home/andrea/Scaricati/qpxtool-0.7.0/console/cdvdcontrol»
make -C pxfw DIR=pxfw
make[2]: ingresso nella directory «/home/andrea/Scaricati/qpxtool-0.7.0/console/pxfw»
make[2]: «pxfw» è aggiornato.
make[2]: uscita dalla directory «/home/andrea/Scaricati/qpxtool-0.7.0/console/pxfw»
make -C f1tattoo DIR=f1tattoo
make[2]: ingresso nella directory «/home/andrea/Scaricati/qpxtool-0.7.0/console/f1tattoo»
g++ -Wall -O2 -fPIC -DUSE_LIBPNG -I. -I../../lib/include -I/usr/include/libpng12 f1tattoo.o -o f1tattoo -lqpxtransport -lqpxyamaha -L/usr/lib -lpng12 -L../../lib/lib
f1tattoo.o: In function `get_device_info(drive_info*)':
f1tattoo.cpp:(.text+0x7fe): undefined reference to `isYamaha(drive_info*)'
f1tattoo.o: In function `main':
f1tattoo.cpp:(.text+0xbfe): undefined reference to `scanbus(int)'
../../lib/lib/libqpxyamaha.so: undefined reference to `wait_fix(drive_info*, int)'
../../lib/lib/libqpxyamaha.so: undefined reference to `qpx_bswap16u(unsigned char*)'
../../lib/lib/libqpxyamaha.so: undefined reference to `qpx_bswap16(unsigned char*)'
collect2: ld returned 1 exit status
make[2]: *** [f1tattoo] Errore 1
make[2]: uscita dalla directory «/home/andrea/Scaricati/qpxtool-0.7.0/console/f1tattoo»
make[1]: *** [f1tattoo] Errore 2
make[1]: uscita dalla directory «/home/andrea/Scaricati/qpxtool-0.7.0/console»
make: *** [console] Errore 2

the same error with make cli, What should I do?

I have Ubuntu 9.10 AMD64.
uname -a :
Linux andrea-desktop 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 GNU/Linux

PS
Please write only in English because I'm Italian
Iceman
 
Posts: 1
Joined: Mon Jan 04, 2010 12:56

Re: Qpxtool 0.7.0 Linux Error Installation

Postby pkvamme » Sat Jan 23, 2010 15:50

Most likely the problem is an older Qpxtool installation that is causing problems. You will need to remove this first. If you installed it using apt_get or some other package manager, just remove it the same way.

Technical details: In my case, I had installed Qpxtool 0.6.something from the ubuntu repositories. When I tried building 0.7.0 from sources, the linker picked up /usr/lib/libqpxtransport.so and other private shared libraries that belonged to 0.6.x instead of the newly built ones from the 0.7.0 source areas.

One other tip: The new shared libraries will by default be installed in /usr/local/lib64 on a 64-bit ubuntu. Which is reasonable. But at least on my Ubuntu 9.04 install, that library was missing from the loader configuration. You need to edit a file in /etc/ld.so.conf.d to add it, then run /sbin/ldconfig.
pkvamme
 
Posts: 1
Joined: Sun Apr 12, 2009 01:15


Return to Installation and General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron