Rockbox Development > Starting Development and Compiling

compiling rbutil on linux

(1/1)

tdtooke:
Ok, I just set up a linux partition so I can compile things faster, I can't seem to compile rbutil though.  I always get:
make[1]: *** No rule to make target `rbspeex', needed by `rbutilqt'.  Stop.
I also always got that previously on cygwin, though when running qmake and make on a windows command prompt it would always compile and work so I never mentioned it before.  Here is the makefile qmake generates:

--- Code: ---#############################################################################
# Makefile for building: rbutil
# Generated by qmake (2.01a) (Qt 4.3.3) on: Wed Jan 2 03:45:01 2008
# Project:  rbutil.pro
# Template: subdirs
# Command: /usr/lib/qt4-4.3.3/bin/qmake -unix -o Makefile rbutil.pro
#############################################################################

first: make_default
MAKEFILE      = Makefile
QMAKE         = /usr/lib/qt4-4.3.3/bin/qmake
DEL_FILE      = rm -f
CHK_DIR_EXISTS= test -d
MKDIR         = mkdir -p
COPY          = cp -f
COPY_FILE     = $(COPY)
COPY_DIR      = $(COPY) -r
INSTALL_FILE  = install -m 644 -p
INSTALL_PROGRAM = install -m 755 -p
INSTALL_DIR   = $(COPY_DIR)
DEL_FILE      = rm -f
SYMLINK       = ln -sf
DEL_DIR       = rmdir
MOVE          = mv -f
CHK_DIR_EXISTS= test -d
MKDIR         = mkdir -p
SUBTARGETS    =  \
sub-rbutilqt

rbutilqt//$(MAKEFILE):
@$(CHK_DIR_EXISTS) rbutilqt/ || $(MKDIR) rbutilqt/
cd rbutilqt/ && $(QMAKE) rbutilqt.pro -unix -o $(MAKEFILE)
sub-rbutilqt-qmake_all:  FORCE
@$(CHK_DIR_EXISTS) rbutilqt/ || $(MKDIR) rbutilqt/
cd rbutilqt/ && $(QMAKE) rbutilqt.pro -unix -o $(MAKEFILE)
sub-rbutilqt: rbutilqt//$(MAKEFILE) FORCE
cd rbutilqt/ && $(MAKE) -f $(MAKEFILE)
sub-rbutilqt-make_default: rbutilqt//$(MAKEFILE) FORCE
cd rbutilqt/ && $(MAKE) -f $(MAKEFILE)
sub-rbutilqt-make_first: rbutilqt//$(MAKEFILE) FORCE
cd rbutilqt/ && $(MAKE) -f $(MAKEFILE) first
sub-rbutilqt-all: rbutilqt//$(MAKEFILE) FORCE
cd rbutilqt/ && $(MAKE) -f $(MAKEFILE) all
sub-rbutilqt-clean: rbutilqt//$(MAKEFILE) FORCE
cd rbutilqt/ && $(MAKE) -f $(MAKEFILE) clean
sub-rbutilqt-distclean: rbutilqt//$(MAKEFILE) FORCE
cd rbutilqt/ && $(MAKE) -f $(MAKEFILE) distclean
sub-rbutilqt-install_subtargets: rbutilqt//$(MAKEFILE) FORCE
cd rbutilqt/ && $(MAKE) -f $(MAKEFILE) install
sub-rbutilqt-uninstall_subtargets: rbutilqt//$(MAKEFILE) FORCE
cd rbutilqt/ && $(MAKE) -f $(MAKEFILE) uninstall

Makefile: rbutil.pro  /usr/lib/qt4-4.3.3/mkspecs/linux-g++/qmake.conf /usr/lib/qt4-4.3.3/mkspecs/common/g++.conf \
/usr/lib/qt4-4.3.3/mkspecs/common/unix.conf \
/usr/lib/qt4-4.3.3/mkspecs/common/linux.conf \
/usr/lib/qt4-4.3.3/mkspecs/qconfig.pri \
/usr/lib/qt4-4.3.3/mkspecs/features/qt_functions.prf \
/usr/lib/qt4-4.3.3/mkspecs/features/qt_config.prf \
/usr/lib/qt4-4.3.3/mkspecs/features/exclusive_builds.prf \
/usr/lib/qt4-4.3.3/mkspecs/features/default_pre.prf \
/usr/lib/qt4-4.3.3/mkspecs/features/release.prf \
/usr/lib/qt4-4.3.3/mkspecs/features/default_post.prf \
/usr/lib/qt4-4.3.3/mkspecs/features/warn_on.prf \
/usr/lib/qt4-4.3.3/mkspecs/features/qt.prf \
/usr/lib/qt4-4.3.3/mkspecs/features/unix/thread.prf \
/usr/lib/qt4-4.3.3/mkspecs/features/moc.prf \
/usr/lib/qt4-4.3.3/mkspecs/features/resources.prf \
/usr/lib/qt4-4.3.3/mkspecs/features/uic.prf \
/usr/lib/qt4-4.3.3/mkspecs/features/yacc.prf \
/usr/lib/qt4-4.3.3/mkspecs/features/lex.prf
$(QMAKE) -unix -o Makefile rbutil.pro
/usr/lib/qt4-4.3.3/mkspecs/common/g++.conf:
/usr/lib/qt4-4.3.3/mkspecs/common/unix.conf:
/usr/lib/qt4-4.3.3/mkspecs/common/linux.conf:
/usr/lib/qt4-4.3.3/mkspecs/qconfig.pri:
/usr/lib/qt4-4.3.3/mkspecs/features/qt_functions.prf:
/usr/lib/qt4-4.3.3/mkspecs/features/qt_config.prf:
/usr/lib/qt4-4.3.3/mkspecs/features/exclusive_builds.prf:
/usr/lib/qt4-4.3.3/mkspecs/features/default_pre.prf:
/usr/lib/qt4-4.3.3/mkspecs/features/release.prf:
/usr/lib/qt4-4.3.3/mkspecs/features/default_post.prf:
/usr/lib/qt4-4.3.3/mkspecs/features/warn_on.prf:
/usr/lib/qt4-4.3.3/mkspecs/features/qt.prf:
/usr/lib/qt4-4.3.3/mkspecs/features/unix/thread.prf:
/usr/lib/qt4-4.3.3/mkspecs/features/moc.prf:
/usr/lib/qt4-4.3.3/mkspecs/features/resources.prf:
/usr/lib/qt4-4.3.3/mkspecs/features/uic.prf:
/usr/lib/qt4-4.3.3/mkspecs/features/yacc.prf:
/usr/lib/qt4-4.3.3/mkspecs/features/lex.prf:
qmake: qmake_all FORCE
@$(QMAKE) -unix -o Makefile rbutil.pro

qmake_all: sub-rbutilqt-qmake_all FORCE

make_default: sub-rbutilqt-make_default FORCE
make_first: sub-rbutilqt-make_first FORCE
all: sub-rbutilqt-all FORCE
clean: sub-rbutilqt-clean FORCE
distclean: sub-rbutilqt-distclean FORCE
-$(DEL_FILE) Makefile
install_subtargets: sub-rbutilqt-install_subtargets FORCE
uninstall_subtargets: sub-rbutilqt-uninstall_subtargets FORCE

mocclean: compiler_moc_header_clean compiler_moc_source_clean

mocables: compiler_moc_header_make_all compiler_moc_source_make_all
install: install_subtargets  FORCE

uninstall:  uninstall_subtargets FORCE

FORCE:


--- End code ---

linuxstb:
Did you checkout the whole of the Rockbox source tree, or just the rbutil folder?  You now need the whole source tree.

The rbutil source code used to be self-contained in the rbutil folder, but the recent addition of speex encoding support changed that (I've just updated the RockboxUtility wiki page to that effect).  

tdtooke:
Yeah, I was compiling from within the entire rockbox folder.  I just noticed that I can compile it from within rbutil/rbutilqt, just not rbutil like I used to on windows.

Navigation

[0] Message Index

Go to full version