Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gen/patch.elf (details: log/linker.log, log/linker.err) make: *** [Makefile:103: gen/patch.elf] Error 1 #609

Open
Ilfin98 opened this issue Jun 20, 2024 · 6 comments

Comments

@Ilfin98
Copy link

Ilfin98 commented Jun 20, 2024

Please help me how to fix this. Below is the end lines at log/linker.err :
/nexmon/buildtools/gcc-arm-none-eabi-5_4-2016q2-linux-armv7l/bin/arm-none-eabi-ld: Removing unused section '.text.wlc_ucodex_write_compressed_args' in file 'obj/ucode_compression_code.o'
obj/ucode_compression_code.o: In function wlc_ucode_write_compressed': ucode_compression_code.c:(.text.wlc_ucode_write_compressed+0x4): undefined reference to ucode_compressed_bin_len'
ucode_compression_code.c:(.text.wlc_ucode_write_compressed+0x8): undefined reference to ucode_compressed_bin' ucode_compression_code.c:(.text.wlc_ucode_write_compressed+0xc): undefined reference to ucode_compressed_bin_len'
ucode_compression_code.c:(.text.wlc_ucode_write_compressed+0x12): undefined reference to `ucode_compressed_bin'

@jlinktu
Copy link
Member

jlinktu commented Jun 20, 2024

For what chip and firmware version are you trying to build something?
What patch are you trying to build?

@jlinktu
Copy link
Member

jlinktu commented Jun 20, 2024

Does the answer in issue #146 solve your problem?
(Did you run make in the nexmon repository's root directory?)

@Ilfin98
Copy link
Author

Ilfin98 commented Jun 21, 2024

For what chip and firmware version are you trying to build something? What patch are you trying to build?

Bcm4358 chip and 7_112_200_17_sta. I build all patches by run "make" in nexmon/patches/bcm4358/7_112_200_17_sta/nexmon. What sould i do about that linker error? Thanks very much for your answers and helps.

@Ilfin98
Copy link
Author

Ilfin98 commented Jun 21, 2024

Does the answer in issue #146 solve your problem? (Did you run make in the nexmon repository's root directory?)

No, i did run make in the root directory of nexmon.

@Ilfin98
Copy link
Author

Ilfin98 commented Jun 21, 2024

Does the answer in issue #146 solve your problem? (Did you run make in the nexmon repository's root directory?)

No, i did run make in the root directory of nexmon.

I mean that issue #146 not solve my problem, sorry for my bad english.

@jlinktu
Copy link
Member

jlinktu commented Jun 21, 2024

Just to be clear, with nexmon's root directory I don't mean "nexmon/patches/bcm4358/7_112_200_17_sta/nexmon".
And when you ran make in the nexmon's root directory, did everything execute without errors?
On what system are you trying to build the patched firmware?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants