Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  compiling rbutil on linux
« previous next »
  • Print
Pages: [1]

Author Topic: compiling rbutil on linux  (Read 1378 times)

Offline tdtooke

  • Member
  • *
  • Posts: 151
compiling rbutil on linux
« on: January 02, 2008, 04:55:28 AM »
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: [Select]
#############################################################################
# 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:

Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: compiling rbutil on linux
« Reply #1 on: January 02, 2008, 05:42:06 AM »
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).  
Logged

Offline tdtooke

  • Member
  • *
  • Posts: 151
Re: compiling rbutil on linux
« Reply #2 on: January 02, 2008, 11:33:43 AM »
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.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  compiling rbutil on linux
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.073 seconds with 15 queries.