Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/jpeg

Buildroot ulf at uclibc.org 2 participants 2 messages Oct 13, 2007

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2007-10-13 16:08:01 -0700 (Sat, 13 Oct 2007) New Revision: 20245

Log:
Create dir before use in jpeg pkg

Modified:
trunk/buildroot/package/jpeg/jpeg.mk

Changeset:
Modified: trunk/buildroot/package/jpeg/jpeg.mk
===================================================================

buildroot/package/jpeg/jpeg.mk +1 -0
@@ -73,6 +73,7 @@
 	touch -c $@
 
 $(TARGET_DIR)/usr/lib/libjpeg.so: $(STAGING_DIR)/lib/libjpeg.a
+	mkdir -p $(TARGET_DIR)/usr/lib
 	cp -dpf $(STAGING_DIR)/lib/libjpeg.so* $(TARGET_DIR)/usr/lib/
 	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libjpeg.so*
 	touch -c $@
#1 lore raw

Build breaks :(

Quoted 17 lines · ulf at uclibc.org

Author: ulf
Date: 2007-10-13 16:08:01 -0700 (Sat, 13 Oct 2007) New Revision: 20245

Log:
Create dir before use in jpeg pkg

Modified:
trunk/buildroot/package/jpeg/jpeg.mk

Changeset:
Modified: trunk/buildroot/package/jpeg/jpeg.mk
===================================================================

buildroot/package/jpeg/jpeg.mk line 79

Quoted 7 lines
buildroot/package/jpeg/jpeg.mk +1 -0
@@ -73,6 +73,7 @@
 	touch -c $@
 
 $(TARGET_DIR)/usr/lib/libjpeg.so: $(STAGING_DIR)/lib/libjpeg.a
+	mkdir -p $(TARGET_DIR)/usr/lib
 	cp -dpf $(STAGING_DIR)/lib/libjpeg.so* $(TARGET_DIR)/usr/lib/
 	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libjpeg.so*
 	touch -c $@

.../build_i486/staging_dir/usr/bin/i486-linux-uclibc-gcc -Os -pipe
-I.../build_i486/staging_dir/usr/include -I.../build_i486/staging_dir/include --sysroot=.../build_i486/staging_dir/ -isysroot .../build_i486/staging_dir -mtune=i486
-march=i486 -o .libs/cjpeg cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o cdjpeg.o -Wl,--rpath -Wl,/lib .libs/libjpeg.so .../build_i486/staging_dir//lib/libc.so.0:
undefined reference to `_dl_app_init_array' .../build_i486/staging_dir//lib/libc.so.0:
undefined reference to `_dl_app_fini_array'
collect2: ld returned 1 exit status
make[1]: *** [cjpeg] Error 1
make[1]: Leaving directory
`.../build_i486/jpeg-6b'

Thanks,

Signature · 1 line
Cristian