Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- the commands:
- $qmake-qt4 /home/mutrox/Proyectos/tuxbrain/productos/nanonote/ardunote/nanokoder/nanokoder/nanokoder.pro -spec linux-g++-ben-openwrt -r CONFIG+=debug
- $make
- The error:
- ---------------------------------------------------------------------------------
- /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: cannot find -lgcc_s
- collect2: ld returned 1 exit status
- the qmake.conf file
- -----------------------------------------------------------------------------------------
- #
- # qmake configuration for linux-g++
- #
- MAKEFILE_GENERATOR = UNIX
- TEMPLATE = app
- CONFIG += qt warn_on release incremental link_prl
- QT += core gui
- QMAKE_INCREMENTAL_STYLE = sublib
- include(../common/g++.conf)
- include(../common/linux.conf)
- # modifications to g++.conf
- QMAKE_CC = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-gcc
- QMAKE_LINK_C = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-gcc
- QMAKE_LINK_C_SHLIB = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-gcc
- QMAKE_CXX = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-g++
- QMAKE_LINK = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-g++
- QMAKE_LINK_SHLIB = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-g++
- # modifications to linux.conf
- QMAKE_AR = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-ar cqs
- QMAKE_OBJCOPY = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-objcopy
- QMAKE_STRIP = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-strip
- QMAKE_INCDIR_QT = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include
- QMAKE_LIBDIR_QT = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib
- load(qt_config)
- equals(QT_ARCH, powerpc) {
- QMAKE_CFLAGS_RELEASE += -fno-optimize-sibling-calls
- QMAKE_CXXFLAGS_RELEASE += -fno-optimize-sibling-calls
- }
- the generated Makefile
- -----------------------------------------------------
- #############################################################################
- # Makefile for building: nanokoder
- # Generated by qmake (2.01a) (Qt 4.6.2) on: mié mar 23 12:12:37 2011
- # Project: nanokoder.pro
- # Template: app
- # Command: /usr/bin/qmake-qt4 -spec /usr/share/qt4/mkspecs/linux-g++-ben-openwrt -unix CONFIG+=debug -o Makefile nanokoder.pro
- #############################################################################
- ####### Compiler, tools and options
- CC = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-gcc
- CXX = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-g++
- DEFINES = -DQT_GUI_LIB -DQT_CORE_LIB
- CFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
- CXXFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
- INCPATH = -I/usr/share/qt4/mkspecs/linux-g++-ben-openwrt -I. -I../../../SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/QtCore -I../../../SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/QtGui -I../../../SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I.
- LINK = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-g++
- LFLAGS =
- LIBS = $(SUBLIBS) -L/home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -lQtGui -lQtCore -lpthread
- AR = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-ar cqs
- RANLIB =
- QMAKE = /usr/bin/qmake-qt4
- TAR = tar -cf
- COMPRESS = gzip -9f
- COPY = cp -f
- SED = sed
- COPY_FILE = $(COPY)
- COPY_DIR = $(COPY) -r
- STRIP = /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/mipsel-openwrt-linux-uclibc-strip
- INSTALL_FILE = install -m 644 -p
- INSTALL_DIR = $(COPY_DIR)
- INSTALL_PROGRAM = install -m 755 -p
- DEL_FILE = rm -f
- SYMLINK = ln -f -s
- DEL_DIR = rmdir
- MOVE = mv -f
- CHK_DIR_EXISTS= test -d
- MKDIR = mkdir -p
- ####### Output directory
- OBJECTS_DIR = ./
- ####### Files
- SOURCES = codeeditor.cpp \
- main.cpp \
- highlighter.cpp moc_codeeditor.cpp \
- moc_highlighter.cpp
- OBJECTS = codeeditor.o \
- main.o \
- highlighter.o \
- moc_codeeditor.o \
- moc_highlighter.o
- DIST = /usr/share/qt4/mkspecs/common/g++.conf \
- /usr/share/qt4/mkspecs/common/unix.conf \
- /usr/share/qt4/mkspecs/common/linux.conf \
- /usr/share/qt4/mkspecs/qconfig.pri \
- /usr/share/qt4/mkspecs/features/qt_functions.prf \
- /usr/share/qt4/mkspecs/features/qt_config.prf \
- /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
- /usr/share/qt4/mkspecs/features/default_pre.prf \
- /usr/share/qt4/mkspecs/features/debug.prf \
- /usr/share/qt4/mkspecs/features/default_post.prf \
- /usr/share/qt4/mkspecs/features/warn_on.prf \
- /usr/share/qt4/mkspecs/features/qt.prf \
- /usr/share/qt4/mkspecs/features/unix/thread.prf \
- /usr/share/qt4/mkspecs/features/moc.prf \
- /usr/share/qt4/mkspecs/features/resources.prf \
- /usr/share/qt4/mkspecs/features/uic.prf \
- /usr/share/qt4/mkspecs/features/yacc.prf \
- /usr/share/qt4/mkspecs/features/lex.prf \
- /usr/share/qt4/mkspecs/features/include_source_dir.prf \
- nanokoder.pro
- QMAKE_TARGET = nanokoder
- DESTDIR =
- TARGET = nanokoder
- first: all
- ####### Implicit rules
- .SUFFIXES: .o .c .cpp .cc .cxx .C
- .cpp.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
- .cc.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
- .cxx.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
- .C.o:
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
- .c.o:
- $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
- ####### Build rules
- all: Makefile $(TARGET)
- $(TARGET): $(OBJECTS)
- $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
- Makefile: nanokoder.pro /usr/share/qt4/mkspecs/linux-g++-ben-openwrt/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
- /usr/share/qt4/mkspecs/common/unix.conf \
- /usr/share/qt4/mkspecs/common/linux.conf \
- /usr/share/qt4/mkspecs/qconfig.pri \
- /usr/share/qt4/mkspecs/features/qt_functions.prf \
- /usr/share/qt4/mkspecs/features/qt_config.prf \
- /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
- /usr/share/qt4/mkspecs/features/default_pre.prf \
- /usr/share/qt4/mkspecs/features/debug.prf \
- /usr/share/qt4/mkspecs/features/default_post.prf \
- /usr/share/qt4/mkspecs/features/warn_on.prf \
- /usr/share/qt4/mkspecs/features/qt.prf \
- /usr/share/qt4/mkspecs/features/unix/thread.prf \
- /usr/share/qt4/mkspecs/features/moc.prf \
- /usr/share/qt4/mkspecs/features/resources.prf \
- /usr/share/qt4/mkspecs/features/uic.prf \
- /usr/share/qt4/mkspecs/features/yacc.prf \
- /usr/share/qt4/mkspecs/features/lex.prf \
- /usr/share/qt4/mkspecs/features/include_source_dir.prf
- $(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++-ben-openwrt -unix CONFIG+=debug -o Makefile nanokoder.pro
- /usr/share/qt4/mkspecs/common/g++.conf:
- /usr/share/qt4/mkspecs/common/unix.conf:
- /usr/share/qt4/mkspecs/common/linux.conf:
- /usr/share/qt4/mkspecs/qconfig.pri:
- /usr/share/qt4/mkspecs/features/qt_functions.prf:
- /usr/share/qt4/mkspecs/features/qt_config.prf:
- /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
- /usr/share/qt4/mkspecs/features/default_pre.prf:
- /usr/share/qt4/mkspecs/features/debug.prf:
- /usr/share/qt4/mkspecs/features/default_post.prf:
- /usr/share/qt4/mkspecs/features/warn_on.prf:
- /usr/share/qt4/mkspecs/features/qt.prf:
- /usr/share/qt4/mkspecs/features/unix/thread.prf:
- /usr/share/qt4/mkspecs/features/moc.prf:
- /usr/share/qt4/mkspecs/features/resources.prf:
- /usr/share/qt4/mkspecs/features/uic.prf:
- /usr/share/qt4/mkspecs/features/yacc.prf:
- /usr/share/qt4/mkspecs/features/lex.prf:
- /usr/share/qt4/mkspecs/features/include_source_dir.prf:
- qmake: FORCE
- @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++-ben-openwrt -unix CONFIG+=debug -o Makefile nanokoder.pro
- dist:
- @$(CHK_DIR_EXISTS) .tmp/nanokoder1.0.0 || $(MKDIR) .tmp/nanokoder1.0.0
- $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/nanokoder1.0.0/ && $(COPY_FILE) --parents codeeditor.h highlighter.h .tmp/nanokoder1.0.0/ && $(COPY_FILE) --parents codeeditor.cpp main.cpp highlighter.cpp .tmp/nanokoder1.0.0/ && (cd `dirname .tmp/nanokoder1.0.0` && $(TAR) nanokoder1.0.0.tar nanokoder1.0.0 && $(COMPRESS) nanokoder1.0.0.tar) && $(MOVE) `dirname .tmp/nanokoder1.0.0`/nanokoder1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/nanokoder1.0.0
- clean:compiler_clean
- -$(DEL_FILE) $(OBJECTS)
- -$(DEL_FILE) *~ core *.core
- ####### Sub-libraries
- distclean: clean
- -$(DEL_FILE) $(TARGET)
- -$(DEL_FILE) Makefile
- mocclean: compiler_moc_header_clean compiler_moc_source_clean
- mocables: compiler_moc_header_make_all compiler_moc_source_make_all
- compiler_moc_header_make_all: moc_codeeditor.cpp moc_highlighter.cpp
- compiler_moc_header_clean:
- -$(DEL_FILE) moc_codeeditor.cpp moc_highlighter.cpp
- moc_codeeditor.cpp: highlighter.h \
- codeeditor.h
- /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) codeeditor.h -o moc_codeeditor.cpp
- moc_highlighter.cpp: highlighter.h
- /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) highlighter.h -o moc_highlighter.cpp
- compiler_rcc_make_all:
- compiler_rcc_clean:
- compiler_image_collection_make_all: qmake_image_collection.cpp
- compiler_image_collection_clean:
- -$(DEL_FILE) qmake_image_collection.cpp
- compiler_moc_source_make_all:
- compiler_moc_source_clean:
- compiler_uic_make_all:
- compiler_uic_clean:
- compiler_yacc_decl_make_all:
- compiler_yacc_decl_clean:
- compiler_yacc_impl_make_all:
- compiler_yacc_impl_clean:
- compiler_lex_make_all:
- compiler_lex_clean:
- compiler_clean: compiler_moc_header_clean
- ####### Compile
- codeeditor.o: codeeditor.cpp codeeditor.h \
- highlighter.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o codeeditor.o codeeditor.cpp
- main.o: main.cpp codeeditor.h \
- highlighter.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
- highlighter.o: highlighter.cpp highlighter.h
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o highlighter.o highlighter.cpp
- moc_codeeditor.o: moc_codeeditor.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_codeeditor.o moc_codeeditor.cpp
- moc_highlighter.o: moc_highlighter.cpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_highlighter.o moc_highlighter.cpp
- ####### Install
- install: FORCE
- uninstall: FORCE
- FORCE:
- places where the libgcc_s.so.1 and libgcc_s.so are
- ---------------------------------------------------
- /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-mipsel_uClibc-0.9.30.1/root-xburst/lib
- /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-mipsel_uClibc-0.9.30.1/root-xburst/usr/lib
- /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-mipsel_uClibc-0.9.30.1/root-xburst/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3
- /home/mutrox/Proyectos/tuxbrain/productos/nanonote/SDK/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/lib
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement