Re: symFindByName Help
Dan W wrote:[color=blue]
> See below for the code I'm using. I have created a file called File.out
> which contains a symbol I want to call (called 'main').[/color]
Could be that this is the problem. main is a name you should not use in
VxWorks, as it is reserved for the OS itself. Try it again with the main
symbol renamed to (for example) my_main.
> I download another piece of test code called loader in an .out file and run
> it from the shell. It attempts to load the File.out
> file and extract the symbol but fails the loadModule function. I can use
> the ld < File.out from the shell to load the file from
> my host o the host but I need to be able to do this just the target.
> Any idea's why the loadModule function fails?[/color]
What is the value of errno after the call to loadModule?
o o o o o o o . . . _____J_o_h_a_n___B_o_r_k_h_u_i_s___
o _____ || [url]http://www.borkhuis.com[/url] |
.][__n_n_|DD[ ====_____ | [email]email@example.com[/email] |[color=blue]
_/oo OOOOO oo` ooo ooo 'o!o!o o!o!o`
== VxWorks FAQ: [url]http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html[/url] ==