Thread (1 message) 1 message, 1 author, 2011-03-29

[OpenWrt-Devel] linker errors like ignoring invalid character `#' in expression

From: Madhavi Manchala <hidden>
Date: 2011-03-29 14:18:05

On Tue, Mar 29, 2011 at 7:38 PM, Jonathan Bennett [off-list ref] wrote:
On Tue, Mar 29, 2011 at 9:06 AM, Madhavi Manchala
[off-list ref] wrote:
quoted
On Tue, Mar 29, 2011 at 7:16 PM, Madhavi Manchala
[off-list ref] wrote:
quoted
Dear All,

I am seeing the following linker error messages when I try to build
the OpenWRT image for my board.

arm-openwrt-linux-uclibcgnueabi-ld:arch/arm/kernel/vmlinux.lds:284:
ignoring invalid character `#' in expression
arm-openwrt-linux-uclibcgnueabi-ld:arch/arm/kernel/vmlinux.lds:284: syntax error

I googled, but there is no much luck for me. I did not understand why
am I getting this error.

Any suggestions / hints would be appreciated.

Thanks for your help, too.

Thanks and Regards,
Madhavi M.
Dear All,

It was resolved. Thanks.
That's great! However, a few words of explanation might be helpful in
case anyone else runs across this issue. (And I'm curious.)
Dear Jonathan Bennett,

It was due to a comment line which is placed in the
arch/arm/kernel/vmlinux.lds file. The comment was added as //comment.
However, when I looked whole vmlinux.lds file, all the comments are
included in /* */. So, I changed it to /* */ instead //. Then it
compiled. I do not know the exact reason for that. May be .lds files
do not accept the comments in //.

Thanks.

Regards,
Madhavi M.
quoted
Regards,
Madhavi M.
~Jonathan Bennett
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help