[Captivate Q&A, Help & Troubleshooting] Kyuta Syuko:
First I would like to thank boog for all his help to get me to this point, but I'm stuck with an error.

I've been dipping my foot into the kernel unpacking and repacking waters. I'm currently using the attached two scripts boog sent me for unpacking and repacking as well as these toolchains, but this is what my output looks like after unpacking and then attempting to repack the stock I897UCKI2 kernel:

##### My name is ./repacker.sh #####
##### The source kernel is /media/C70D-E87A/Captivate/Kernels/I897UCKI2/zImage #####
##### The destination zImage file is /media/C70D-E87A/Captivate/Kernels/I897UCKI2/repacked/zImage #####
##### The directory of the initramfs has been selected #####
##### The initramfs is /media/C70D-E87A/Captivate/Kernels/I897UCKI2/initramfs_root (will be gzipped) #####
5970 blocks
##### 01. Extracting kernel from /media/C70D-E87A/Captivate/Kernels/I897UCKI2/zImage (start = 16541) to ./out/Image
321+1 records in
321+1 records out
5310899 bytes (5.3 MB) copied, 0.540424 s, 9.8 MB/s

gzip: stdin: decompression OK, trailing garbage ignored
##### 02. The size of the new initramfs is = 1851649 / original = 3056568
##### 03. The size of the Image is 13428224
##### 04. Making a head.img ( from 0 ~ 143360 )
1+0 records in
1+0 records out
143360 bytes (143 kB) copied, 0.000480648 s, 298 MB/s
##### 05. Making a tail.img ( from 3199928 ~ 13428224 )
3+1 records in
3+1 records out
10228296 bytes (10 MB) copied, 0.0784701 s, 130 MB/s
##### 06. Merging head + initramfs
##### 07. Checking the size of [head+initramfs]
##### 08. Merging [head+initramfs] + padding + tail
1+0 records in
1+0 records out
1204919 bytes (1.2 MB) copied, 0.0129411 s, 93.1 MB/s
#==========================================
##### Now we are rebuilding the zImage #####
#==========================================
##### 09. Image ---> piggy.gz
##### 10. piggy.gz ---> piggy.o
##### 13. head.o + misc.o + piggy.o ---> vmlinux
/opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-ld: arch/arm/boot/compressed/vmlinux: Unknown mandatory EABI object attribute 44
/opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-ld: failed to merge target specific data of file arch/arm/boot/compressed/piggy.o
/opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-ld: arch/arm/boot/compressed/misc.o: Unknown mandatory EABI object attribute 44
/opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-ld: failed to merge target specific data of file arch/arm/boot/compressed/misc.o
##### 14. vmlinux ---> zImage
/opt/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-objcopy: 'arch/arm/boot/compressed/vmlinux': No such file
##### 15. Getting finished!!
cp: cannot stat `arch/arm/boot/zImage': No such file or directory
rm: cannot remove `arch/arm/boot/compressed/vmlinux': No such file or directory
rm: cannot remove `arch/arm/boot/zImage': No such file or directory
#==========================================
##### DONE!! #####
#==========================================

I ran the script like follows:

./repacker.sh -s /media/C70D-E87A/Captivate/Kernels/I897UCKI2/zImage -d /media/C70D-E87A/Captivate/Kernels/I897UCKI2/repacked/zImage -r /media/C70D-E87A/Captivate/Kernels/I897UCKI2/initramfs_root/ -c gzip

I've attempted to run the repack script normally and with sudo with the same output. Now I'm wanting to pick anyone's brain who will let me in why I'm having this issue.

I was able to compile a new zImage using these toolchains but I would be stuck in a kernel bootloop.

If you need or would like more info just let me know and I'll provide what I can.