[Dev] build error on ath9k-htc-firmware

taro-k at movasense.com taro-k at movasense.com
Tue Feb 18 03:07:52 GMT 2014


Dear Mono,

thanks lot for your help, now the build is successful!  Taro

p.s.
Originally, I referred the following.
http://comments.gmane.org/gmane.linux.distributions.parabola.devel/1701

On 02/18/2014 04:22 AM, Mono wrote:
> Hallo Taro,
>
> I didnt look into this for some time. I guess(!) you used what fauno suggested:
>> mkdir -p $srcdir/bin
>> ln -s /usr/bin/xtensa-unknown-elf-as $srcdir/bin/as
>> export PATH=$srcdir/bin:$PATH
> I just tried that and also added
> ln -s /usr/bin/xtensa-unknown-elf-objcopy $srcdir/bin/objcopy
>
> the result looks exactly what you got. Well, it seems that the correct as (aka xtensa-unknown-elf-as) is used, but still it does not find xtensa-unknown-elf-objcopy. So here is the very ugly alternative approach:
>
> # mv /usr/bin/objcopy /usr/bin/objcopy.away
> # ln -s /usr/bin/xtensa-unknown-elf-objcopy /usr/bin/objcopy
>
> then build the package with makepkg
> when finished revert the ugly changes
>
> # rm /usr/bin/objcopy
> # mv /usr/bin/objcopy.away /usr/bin/objcopy
>
> the same could be done to as and xtensa-unknown-elf-as, or use the approach posted by fauno.
>
> hope it helps
> best regards
> Mono
>
>
> On Sat, Feb 15, 2014 at 07:34:55AM +0000, Taro wrote:
>> Hi Mono,
>> your comment is also good help for me
>> to build ath9k-htc-firmware.
>> However, I got the following error then.
>> Can you help again?  best regards.  Taro
>>
>> make[2]: Entering directory '/mnt/tmp/taro-tmp/abslibre/libre/ath9k-htc-firmware
>> /src/open-ath9k-htc-firmware-1.3.2/target_firmware/build/k2'
>> [ 93%] Generating fw.elf
>> [ 96%] Generating fw.bin
>> /usr/bin/objcopy: Unable to recognise the format of the input file `fw.elf'
>> /usr/bin/objcopy: --change-section-vma .text+0xffffffffffc00000 never used
>> /usr/bin/objcopy: --change-section-lma .text+0xffffffffffc00000 never used
>> CMakeFiles/gen-firmware.dir/build.make:59: recipe for target 'fw.bin' failed
>> make[2]: *** [fw.bin] Error 1
>> make[2]: Leaving directory '/mnt/tmp/taro-tmp/abslibre/libre/ath9k-htc-firmware/
>>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev at lists.parabolagnulinux.org
>> https://lists.parabolagnulinux.org/mailman/listinfo/dev



More information about the Dev mailing list