Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2011
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.69 KB | None | 0 0
  1. the commands:
  2. $qmake-qt4 /home/mutrox/Proyectos/tuxbrain/productos/nanonote/ardunote/nanokoder/nanokoder/nanokoder.pro -spec linux-g++-ben-openwrt -r CONFIG+=debug
  3. $make
  4.  
  5. The error:
  6. ---------------------------------------------------------------------------------
  7. /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
  8. collect2: ld returned 1 exit status
  9.  
  10. the qmake.conf file
  11. -----------------------------------------------------------------------------------------
  12. #
  13. # qmake configuration for linux-g++
  14. #
  15.  
  16. MAKEFILE_GENERATOR = UNIX
  17. TEMPLATE = app
  18. CONFIG += qt warn_on release incremental link_prl
  19. QT += core gui
  20. QMAKE_INCREMENTAL_STYLE = sublib
  21.  
  22. include(../common/g++.conf)
  23. include(../common/linux.conf)
  24.  
  25. # modifications to g++.conf
  26. 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
  27. 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
  28. 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
  29. 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++
  30. 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++
  31. 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++
  32.  
  33. # modifications to linux.conf
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39.  
  40. load(qt_config)
  41.  
  42. equals(QT_ARCH, powerpc) {
  43. QMAKE_CFLAGS_RELEASE += -fno-optimize-sibling-calls
  44. QMAKE_CXXFLAGS_RELEASE += -fno-optimize-sibling-calls
  45. }
  46.  
  47.  
  48. the generated Makefile
  49. -----------------------------------------------------
  50. #############################################################################
  51. # Makefile for building: nanokoder
  52. # Generated by qmake (2.01a) (Qt 4.6.2) on: mié mar 23 12:12:37 2011
  53. # Project: nanokoder.pro
  54. # Template: app
  55. # Command: /usr/bin/qmake-qt4 -spec /usr/share/qt4/mkspecs/linux-g++-ben-openwrt -unix CONFIG+=debug -o Makefile nanokoder.pro
  56. #############################################################################
  57.  
  58. ####### Compiler, tools and options
  59.  
  60. 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
  61. 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++
  62. DEFINES = -DQT_GUI_LIB -DQT_CORE_LIB
  63. CFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
  64. CXXFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
  65. 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.
  66. 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++
  67. LFLAGS =
  68. 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
  69. 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
  70. RANLIB =
  71. QMAKE = /usr/bin/qmake-qt4
  72. TAR = tar -cf
  73. COMPRESS = gzip -9f
  74. COPY = cp -f
  75. SED = sed
  76. COPY_FILE = $(COPY)
  77. COPY_DIR = $(COPY) -r
  78. 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
  79. INSTALL_FILE = install -m 644 -p
  80. INSTALL_DIR = $(COPY_DIR)
  81. INSTALL_PROGRAM = install -m 755 -p
  82. DEL_FILE = rm -f
  83. SYMLINK = ln -f -s
  84. DEL_DIR = rmdir
  85. MOVE = mv -f
  86. CHK_DIR_EXISTS= test -d
  87. MKDIR = mkdir -p
  88.  
  89. ####### Output directory
  90.  
  91. OBJECTS_DIR = ./
  92.  
  93. ####### Files
  94.  
  95. SOURCES = codeeditor.cpp \
  96. main.cpp \
  97. highlighter.cpp moc_codeeditor.cpp \
  98. moc_highlighter.cpp
  99. OBJECTS = codeeditor.o \
  100. main.o \
  101. highlighter.o \
  102. moc_codeeditor.o \
  103. moc_highlighter.o
  104. DIST = /usr/share/qt4/mkspecs/common/g++.conf \
  105. /usr/share/qt4/mkspecs/common/unix.conf \
  106. /usr/share/qt4/mkspecs/common/linux.conf \
  107. /usr/share/qt4/mkspecs/qconfig.pri \
  108. /usr/share/qt4/mkspecs/features/qt_functions.prf \
  109. /usr/share/qt4/mkspecs/features/qt_config.prf \
  110. /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
  111. /usr/share/qt4/mkspecs/features/default_pre.prf \
  112. /usr/share/qt4/mkspecs/features/debug.prf \
  113. /usr/share/qt4/mkspecs/features/default_post.prf \
  114. /usr/share/qt4/mkspecs/features/warn_on.prf \
  115. /usr/share/qt4/mkspecs/features/qt.prf \
  116. /usr/share/qt4/mkspecs/features/unix/thread.prf \
  117. /usr/share/qt4/mkspecs/features/moc.prf \
  118. /usr/share/qt4/mkspecs/features/resources.prf \
  119. /usr/share/qt4/mkspecs/features/uic.prf \
  120. /usr/share/qt4/mkspecs/features/yacc.prf \
  121. /usr/share/qt4/mkspecs/features/lex.prf \
  122. /usr/share/qt4/mkspecs/features/include_source_dir.prf \
  123. nanokoder.pro
  124. QMAKE_TARGET = nanokoder
  125. DESTDIR =
  126. TARGET = nanokoder
  127.  
  128. first: all
  129. ####### Implicit rules
  130.  
  131. .SUFFIXES: .o .c .cpp .cc .cxx .C
  132.  
  133. .cpp.o:
  134. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  135.  
  136. .cc.o:
  137. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  138.  
  139. .cxx.o:
  140. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  141.  
  142. .C.o:
  143. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
  144.  
  145. .c.o:
  146. $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
  147.  
  148. ####### Build rules
  149.  
  150. all: Makefile $(TARGET)
  151.  
  152. $(TARGET): $(OBJECTS)
  153. $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
  154.  
  155. Makefile: nanokoder.pro /usr/share/qt4/mkspecs/linux-g++-ben-openwrt/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
  156. /usr/share/qt4/mkspecs/common/unix.conf \
  157. /usr/share/qt4/mkspecs/common/linux.conf \
  158. /usr/share/qt4/mkspecs/qconfig.pri \
  159. /usr/share/qt4/mkspecs/features/qt_functions.prf \
  160. /usr/share/qt4/mkspecs/features/qt_config.prf \
  161. /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
  162. /usr/share/qt4/mkspecs/features/default_pre.prf \
  163. /usr/share/qt4/mkspecs/features/debug.prf \
  164. /usr/share/qt4/mkspecs/features/default_post.prf \
  165. /usr/share/qt4/mkspecs/features/warn_on.prf \
  166. /usr/share/qt4/mkspecs/features/qt.prf \
  167. /usr/share/qt4/mkspecs/features/unix/thread.prf \
  168. /usr/share/qt4/mkspecs/features/moc.prf \
  169. /usr/share/qt4/mkspecs/features/resources.prf \
  170. /usr/share/qt4/mkspecs/features/uic.prf \
  171. /usr/share/qt4/mkspecs/features/yacc.prf \
  172. /usr/share/qt4/mkspecs/features/lex.prf \
  173. /usr/share/qt4/mkspecs/features/include_source_dir.prf
  174. $(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++-ben-openwrt -unix CONFIG+=debug -o Makefile nanokoder.pro
  175. /usr/share/qt4/mkspecs/common/g++.conf:
  176. /usr/share/qt4/mkspecs/common/unix.conf:
  177. /usr/share/qt4/mkspecs/common/linux.conf:
  178. /usr/share/qt4/mkspecs/qconfig.pri:
  179. /usr/share/qt4/mkspecs/features/qt_functions.prf:
  180. /usr/share/qt4/mkspecs/features/qt_config.prf:
  181. /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
  182. /usr/share/qt4/mkspecs/features/default_pre.prf:
  183. /usr/share/qt4/mkspecs/features/debug.prf:
  184. /usr/share/qt4/mkspecs/features/default_post.prf:
  185. /usr/share/qt4/mkspecs/features/warn_on.prf:
  186. /usr/share/qt4/mkspecs/features/qt.prf:
  187. /usr/share/qt4/mkspecs/features/unix/thread.prf:
  188. /usr/share/qt4/mkspecs/features/moc.prf:
  189. /usr/share/qt4/mkspecs/features/resources.prf:
  190. /usr/share/qt4/mkspecs/features/uic.prf:
  191. /usr/share/qt4/mkspecs/features/yacc.prf:
  192. /usr/share/qt4/mkspecs/features/lex.prf:
  193. /usr/share/qt4/mkspecs/features/include_source_dir.prf:
  194. qmake: FORCE
  195. @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++-ben-openwrt -unix CONFIG+=debug -o Makefile nanokoder.pro
  196.  
  197. dist:
  198. @$(CHK_DIR_EXISTS) .tmp/nanokoder1.0.0 || $(MKDIR) .tmp/nanokoder1.0.0
  199. $(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
  200.  
  201.  
  202. clean:compiler_clean
  203. -$(DEL_FILE) $(OBJECTS)
  204. -$(DEL_FILE) *~ core *.core
  205.  
  206.  
  207. ####### Sub-libraries
  208.  
  209. distclean: clean
  210. -$(DEL_FILE) $(TARGET)
  211. -$(DEL_FILE) Makefile
  212.  
  213.  
  214. mocclean: compiler_moc_header_clean compiler_moc_source_clean
  215.  
  216. mocables: compiler_moc_header_make_all compiler_moc_source_make_all
  217.  
  218. compiler_moc_header_make_all: moc_codeeditor.cpp moc_highlighter.cpp
  219. compiler_moc_header_clean:
  220. -$(DEL_FILE) moc_codeeditor.cpp moc_highlighter.cpp
  221. moc_codeeditor.cpp: highlighter.h \
  222. codeeditor.h
  223. /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) codeeditor.h -o moc_codeeditor.cpp
  224.  
  225. moc_highlighter.cpp: highlighter.h
  226. /usr/bin/moc-qt4 $(DEFINES) $(INCPATH) highlighter.h -o moc_highlighter.cpp
  227.  
  228. compiler_rcc_make_all:
  229. compiler_rcc_clean:
  230. compiler_image_collection_make_all: qmake_image_collection.cpp
  231. compiler_image_collection_clean:
  232. -$(DEL_FILE) qmake_image_collection.cpp
  233. compiler_moc_source_make_all:
  234. compiler_moc_source_clean:
  235. compiler_uic_make_all:
  236. compiler_uic_clean:
  237. compiler_yacc_decl_make_all:
  238. compiler_yacc_decl_clean:
  239. compiler_yacc_impl_make_all:
  240. compiler_yacc_impl_clean:
  241. compiler_lex_make_all:
  242. compiler_lex_clean:
  243. compiler_clean: compiler_moc_header_clean
  244.  
  245. ####### Compile
  246.  
  247. codeeditor.o: codeeditor.cpp codeeditor.h \
  248. highlighter.h
  249. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o codeeditor.o codeeditor.cpp
  250.  
  251. main.o: main.cpp codeeditor.h \
  252. highlighter.h
  253. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
  254.  
  255. highlighter.o: highlighter.cpp highlighter.h
  256. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o highlighter.o highlighter.cpp
  257.  
  258. moc_codeeditor.o: moc_codeeditor.cpp
  259. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_codeeditor.o moc_codeeditor.cpp
  260.  
  261. moc_highlighter.o: moc_highlighter.cpp
  262. $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_highlighter.o moc_highlighter.cpp
  263.  
  264. ####### Install
  265.  
  266. install: FORCE
  267.  
  268. uninstall: FORCE
  269.  
  270. FORCE:
  271.  
  272.  
  273. places where the libgcc_s.so.1 and libgcc_s.so are
  274. ---------------------------------------------------
  275. /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
  276. /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
  277. /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
  278. /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