Nove funkcije #17945
Zatvorennmraka-2: build astlinux
0%
Opis
build dependencies:
sudo apt-get install nasm texinfo
Povezani tiketi 1 (0 otvoreno — 1 zatvoren)
Izmjenjeno od Ernad Husremović prije skoro 16 godina
bringout@nmraka-2:~/devel/work$ git clone git@gitorious.bring.out.ba:~hernad/astlinux/hernads-astlinux.git astlinux
bringout@nmraka-2:~/devel/work/astlinux$ ln -s ../astlinux_dl/ dl
cp astlinux.config .config
Izmjenjeno od Ernad Husremović prije skoro 16 godina
bringout@nmraka-2:~/devel/work/astlinux$ git rm ./target/device/kernel-patches/linux-2.6.27*patch
make V=99
... Applying linux-wanpipe.patch using plaintext: patching file net/socket.c Hunk #1 FAILED at 68. 1 out of 1 hunk FAILED -- saving rejects to file net/socket.c.rej Patch failed! Please fix linux-wanpipe.patch! make: *** [/home/bringout/devel/work/astlinux/build_i586/linux-2.6.26.8-astlinux/Makefile] Error 1
bringout@nmraka-2:~/devel/work/astlinux$ git diff -- toolchain
diff --git a/toolchain/astrelease/astrelease.mk b/toolchain/astrelease/astreleas index 9313a11..de699cb 100644 --- a/toolchain/astrelease/astrelease.mk +++ b/toolchain/astrelease/astrelease.mk @@ -4,9 +4,10 @@ # ###################################################################### -ASTURL= $(shell svn info | grep URL | cut -d" " -f2) -ASTBASE= $(shell basename $(ASTURL)) -ASTREV= $(shell svn info | grep 'Last Changed Rev' | cut -d" " -f4) +#ASTURL= $(shell svn info | grep URL | cut -d" " -f2) +ASTURL= http://astlinux.org +ASTBASE= astlinux +ASTREV= 3017 ifeq ($(shell cat target/generic/target_skeleton/etc/astlinux-release),svn) ASTVER = astlinux-$(ASTBASE)-$(ASTREV)$(ASTEXTRA)
Izmjenjeno od Ernad Husremović prije skoro 16 godina
bringout@nmraka-2:~/devel/work/astlinux$ mkdir -p /home/bringout/devel/work/astlinux/target/device/geni586/kernel-patches
Izmjenjeno od Ernad Husremović prije skoro 16 godina
bringout@nmraka-2:~/devel/work/astlinux$ git diff -- target/device/geni586/linux.mk
diff --git a/target/device/geni586/linux.mk b/target/device/geni586/linux.mk index ff4bc9e..3c7dd3f 100644 --- a/target/device/geni586/linux.mk +++ b/target/device/geni586/linux.mk @@ -76,6 +76,7 @@ $(LINUX_DIR)/Makefile: $(DL_DIR)/$(LINUX_SOURCE) bzcat $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(BUILD_DIR) -xf - ifneq ($(DOWNLOAD_LINUX_VERSION),$(LINUX_VERSION)) # Rename the dir from the downloaded version to the AFTER patch version + rm -r -f $(BUILD_DIR)/linux-$(LINUX_VERSION) mv -f $(BUILD_DIR)/linux-$(DOWNLOAD_LINUX_VERSION) $(BUILD_DIR)/linux-$( endif toolchain/patch-kernel.sh $(LINUX_DIR) $(LINUX_PATCH_DIR) linux\*.patch
Izmjenjeno od Ernad Husremović prije skoro 16 godina
bringout@nmraka-2:~/devel/work/astlinux$ git rm ./target/device/kernel-patches/linux-wanpipe.patch
rm 'target/device/kernel-patches/linux-wanpipe.patch'
Izmjenjeno od Ernad Husremović prije skoro 16 godina
openssl 0.9.8k error¶
gunzip -c /home/bringout/devel/work/astlinux/dl/openssl-0.9.8k.tar.gz | tar -C /home/bringout/devel/work/astlinux/build_i586 -xf - toolchain/patch-kernel.sh /home/bringout/devel/work/astlinux/build_i586/openssl-0.9.8k package/openssl/ openssl\*.patch Applying openssl-fips.patch using plaintext: patching file fips/Makefile Hunk #2 succeeded at 103 (offset -2 lines). Applying openssl-ocf.patch using plaintext: patching file Configure Hunk #1 succeeded at 36 (offset 2 lines). Hunk #2 succeeded at 604 (offset 12 lines). Hunk #3 succeeded at 754 (offset 33 lines). Hunk #4 succeeded at 1050 (offset 113 lines). Hunk #5 succeeded at 1175 (offset 97 lines). patching file INSTALL patching file apps/progs.h patching file apps/speed.c Hunk #19 succeeded at 2930 (offset 2 lines). Hunk #20 succeeded at 2945 (offset 2 lines). Hunk #21 succeeded at 2972 (offset 2 lines). patching file crypto/engine/eng_all.c patching file crypto/engine/eng_cryptodev.c patching file crypto/engine/engine.h patching file crypto/evp/c_all.c patching file crypto/evp/c_alld.c patching file engines/Makefile Applying openssl-silentdeath.patch using plaintext: patching file Makefile.shared patching file Makefile Applying openssl-uClibc.patch using plaintext: patching file Configure Hunk #1 succeeded at 549 (offset 9 lines). patching file Makefile.org Hunk #1 succeeded at 502 with fuzz 2 (offset 135 lines). patching file Makefile.shared patching file config Hunk #3 succeeded at 488 (offset 6 lines). patching file makefile-uclinuxdist /usr/bin/install -D -m 0644 /home/bringout/devel/work/astlinux/build_i586/linux-2.6.26.8-astlinux/crypto/ocf/cryptodev.h /home/bringout/devel/work/astlinux/build_i586/staging_dir/include/crypto/cryptodev.h toolchain/patch-kernel.sh /home/bringout/devel/work/astlinux/build_i586/openssl-0.9.8k package/openssl/ ocf\*.patch # sigh... we have to resort to this just to set a gcc flag. /home/bringout/devel/work/astlinux/toolchain_build_i586/bin/sed -i -r -e 's,/CFLAG=,/CFLAG= ,g' \ -e '/CFLAG=/s^/;^ -Os -pipe -fomit-frame-pointer /;^' \ /home/bringout/devel/work/astlinux/build_i586/openssl-0.9.8k/Configure touch /home/bringout/devel/work/astlinux/build_i586/openssl-0.9.8k/.unpacked (cd /home/bringout/devel/work/astlinux/build_i586/openssl-0.9.8k; \ CFLAGS="-DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -Os -pipe -fomit-frame-pointer " \ PATH=/home/bringout/devel/work/astlinux/build_i586/staging_dir/bin:/home/bringout/devel/work/astlinux/toolchain_build_i586/bin:/bin:/sbin:/usr/bin:/usr/sbin ./Configure linux-generic32 \ --prefix=/ \ --openssldir=/usr/lib/ssl -L/home/bringout/devel/work/astlinux/build_i586/staging_dir/lib -ldl \ -I/home/bringout/devel/work/astlinux/build_i586/staging_dir/include --with-cryptodev \ shared no-idea no-mdc2 no-rc5) Configuring for linux-generic32 no-camellia [default] OPENSSL_NO_CAMELLIA (skip dir) no-capieng [default] OPENSSL_NO_CAPIENG (skip dir) no-cms [default] OPENSSL_NO_CMS (skip dir) no-gmp [default] OPENSSL_NO_GMP (skip dir) no-idea [option] OPENSSL_NO_IDEA (skip dir) no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir) no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 no-mdc2 [option] OPENSSL_NO_MDC2 (skip dir) no-montasm [default] no-rc5 [option] OPENSSL_NO_RC5 (skip dir) no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) no-seed [default] OPENSSL_NO_SEED (skip dir) no-zlib [default] no-zlib-dynamic [default] IsMK1MF=0 CC =gcc CFLAG =-fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DHAVE_CRYPTODEV -I/home/bringout/devel/work/astlinux/build_i586/staging_dir/include -DTERMIO -O3 -fomit-frame-pointer -Wall EX_LIBS =-L/home/bringout/devel/work/astlinux/build_i586/staging_dir/lib -ldl -ldl CPUID_OBJ = BN_ASM =bn_asm.o DES_ENC =des_enc.o fcrypt_b.o AES_ASM_OBJ =aes_core.o aes_cbc.o BF_ENC =bf_enc.o CAST_ENC =c_enc.o RC4_ENC =rc4_enc.o rc4_skey.o RC5_ENC =rc5_enc.o MD5_OBJ_ASM = SHA1_OBJ_ASM = RMD160_OBJ_ASM= PROCESSOR = RANLIB =/usr/bin/ranlib ARFLAGS = PERL =/usr/bin/perl THIRTY_TWO_BIT mode DES_UNROLL used DES_INT used BN_LLONG mode RC4 uses uchar RC4_CHUNK is unsigned long BF_PTR used make[1]: Entering directory `/home/bringout/devel/work/astlinux/build_i586/openssl-0.9.8k' Makefile is older than Makefile.org, Configure or config. Reconfigure the source tree (via './config' or 'perl Configure'), please. make[1]: *** [Makefile] Error 1 make[1]: Leaving directory `/home/bringout/devel/work/astlinux/build_i586/openssl-0.9.8k' make -j2 -C /home/bringout/devel/work/astlinux/build_i586/openssl-0.9.8k depend \ CC=/home/bringout/devel/work/astlinux/build_i586/staging_dir/bin/i586-linux-uclibc-gcc HOSTCC=gcc \ MAKEDEPPROG=/home/bringout/devel/work/astlinux/toolchain_build_i586/gcc-4.2-final/libcpp/makedepend make[1]: Entering directory `/home/bringout/devel/work/astlinux/build_i586/openssl-0.9.8k' Makefile is older than Makefile.org, Configure or config. Reconfigure the source tree (via './config' or 'perl Configure'), please. make[1]: *** [Makefile] Error 1 make[1]: Leaving directory `/home/bringout/devel/work/astlinux/build_i586/openssl-0.9.8k' make: *** [/home/bringout/devel/work/astlinux/build_i586/openssl-0.9.8k/Makefile] Error 2
Izmjenjeno od Ernad Husremović prije skoro 15 godina
- Status promijenjeno iz Dodijeljeno u Odbačeno