WhiteKnight:qpxtool-0.7.0pre4 jonathanabbott$ make
make -C lib
make -C qpxtransport DIR=qpxtransport all
g++ -Wall -O2 -D__unix -fPIC -I. -I./include -I../include -dynamiclib -Wl -install_name /usr/lib/ common_functions.o qpx_transport.o qpx_mmc.o qpx_mmc_css.o threads.o sense.o -o lib)qpxtransport.0.7.0.dylib -framework CoreFoundation -framework IOKit
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `g++ -Wall -O2 -D__unix -fPIC -I. -I./include -I../include -dynamiclib -Wl -install_name /usr/lib/ common_functions.o qpx_transport.o qpx_mmc.o qpx_mmc_css.o threads.o sense.o -o lib)qpxtransport.0.7.0.dylib -framework CoreFoundation -framework IOKit'
make[2]: *** [lib)qpxtransport.0.7.0.dylib] Error 2
make[1]: *** [all] Error 2
make: *** [lib] Error 2diff -Nu qpxtool-0.7.0pre5/configure qpxtool-0.7.0pre5.001/configure
--- qpxtool-0.7.0pre5/configure 2009-10-01 16:48:40.000000000 +0400
+++ qpxtool-0.7.0pre5.001/configure 2009-10-04 23:06:25.000000000 +0400
@@ -16,7 +16,6 @@
__cc=cc
__cxx=c++
__defprefix=""
-__prefx=""
__prefix=""
__enable_debug=no
__enable_png=yes
@@ -264,7 +263,7 @@
echo "CFLAGS += -g" >> Makefile
fi
- if test "$QSL" = "darwin" ; then
+ if test "$OSL" = "darwin" ; then
echo "QMAKESPEC=macx-g++" >> Makefile
echo "export QMAKESPEC" >> Makefile
fi
@@ -444,8 +443,8 @@
case "$OSL" in
darwin)
echo "
-LIB_SHORT = $__libpref)\$(LIBN)$__libsuff
-LIB = $__libpref)\$(LIBN).\$(VER_MAJOR).\$(VER_MINOR).\$(VER_MICRO)$__libsuff
+LIB_SHORT = $__libpref\$(LIBN)$__libsuff
+LIB = $__libpref\$(LIBN).\$(VER_MAJOR).\$(VER_MINOR).\$(VER_MICRO)$__libsuff
CXXFLAGS += -I. -I./include -I../include
LDFLAGS += -dynamiclib -Wl -install_name \$(LIBDIR)/\$(LIB_NAME)
caleban wrote:~/Downloads/qpxtool-0.7.0pre5 > make cli
make: *** No rule to make target `cli'. Stop.
~/Downloads/qpxtool-0.7.0pre5 > make cli
make -C lib
make -C qpxtransport DIR=qpxtransport all
g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include -c -o common_functions.o common_functions.cpp
g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include -c -o qpx_transport.o qpx_transport.cpp
qpx_transport.cpp:767: warning: ‘int iokit_err(IOReturn, SCSITaskStatus, const unsigned char*)’ defined but not used
g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include -c -o qpx_mmc.o qpx_mmc.cpp
qpx_mmc.cpp: In function ‘int scanbus(int)’:
qpx_mmc.cpp:665: warning: unused variable ‘j’
./include/qpx_transport.h: At global scope:
./include/qpx_transport.h:326: warning: ‘int iokit_err(IOReturn, SCSITaskStatus, const unsigned char*)’ declared ‘static’ but never defined
g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include -c -o qpx_mmc_css.o qpx_mmc_css.cpp
qpx_mmc_css.cpp:598:2: warning: #warning clean title keys
qpx_mmc_css.cpp:1611:2: warning: #warning "Reset the drive before trying to continue"
./include/qpx_transport.h:326: warning: ‘int iokit_err(IOReturn, SCSITaskStatus, const unsigned char*)’ declared ‘static’ but never defined
g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include -c -o threads.o threads.cpp
g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include -c -o sense.o sense.cpp
g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include -dynamiclib -Wl -install_name /usr/lib/ common_functions.o qpx_transport.o qpx_mmc.o qpx_mmc_css.o threads.o sense.o -o lib)qpxtransport.0.7.0.dylib -framework CoreFoundation -framework IOKit -lpthread
/bin/sh: -c: line 0: syntax error near unexpected token `)'
/bin/sh: -c: line 0: `g++ -Wall -O2 -D__unix -fPIC -DUSE_LIBPNG -I. -I./include -I../include -dynamiclib -Wl -install_name /usr/lib/ common_functions.o qpx_transport.o qpx_mmc.o qpx_mmc_css.o threads.o sense.o -o lib)qpxtransport.0.7.0.dylib -framework CoreFoundation -framework IOKit -lpthread '
make[2]: *** [lib)qpxtransport.0.7.0.dylib] Error 2
make[1]: *** [all] Error 2
make: *** [lib] Error 2
caleban wrote:Thanks. That helped a lot. Now I get the below error:
caleban wrote:Do I need to download qpxtool-0.7.0pre5.001/configure from somewhere?
I looked on sourceforge and couldn't find it.
Return to Installation and General Discussion
Users browsing this forum: No registered users and 1 guest