On Tue, Mar 29, 2011 at 7:38 PM, Jonathan Bennett <[email protected]> wrote: > On Tue, Mar 29, 2011 at 9:06 AM, Madhavi Manchala > <[email protected]> wrote: >> On Tue, Mar 29, 2011 at 7:16 PM, Madhavi Manchala >> <[email protected]> wrote: >>> 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. >> >> Regards, >> Madhavi M. > > ~Jonathan Bennett > _______________________________________________ > openwrt-devel mailing list > [email protected] > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-users
