Has anyone compiled the PCC ISS
If you have, please share the Makefile you used.
I am having troubles with the functions like
./linux/liblib/librwif.a(rwprobe.o): In function `_ippc_ProbeGetVersion(probe*)':
rwprobe.c:(.text+0x4d36): undefined reference to `_ippc_version(char*, unsigned int)'
Which seems to suggest it cannot find the library files,
although with an objdump, I can 'see' that they are there:
./linux/lib/callin.a: U _Z13_ippc_versionPcj
./linux/lib/rwif.a: U _Z13_ippc_versionPcj
The problem occurs during linking, when I have compiled my object and add the
Pinned topic Compiling the PPC ISS wrapper.c for SystemC on linux
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2010-09-02T23:01:24Z at 2010-09-02T23:01:24Z by SystemAdmin
SystemAdmin 110000D4XK277 Posts
Re: Compiling the PPC ISS wrapper.c for SystemC on linux2010-09-02T23:01:24ZThis is the accepted answer. This is the accepted answer.With several experiments, coupled with using nm and objdump, I have a theory:
do not exist in the linux/lib/*.a
Now, the library file 'rwif.a' does require the '_ippc_version' function to exist,
so it may wreck the theory.
Unless, it opens the door to having the user of the libraries supply this function.
Although, this function '_ippc_version' is described in the user guide, so
I am not sure why it is not written.
Also, something that may kill the theory is that the user guide says it is in 'callin'.
However nm and objdump specify that the function is 'U' or UND which
I am taking to be 'UNDEFINED'.
If anyone has a suggestion, pointer, or the answer, I would appreciate the myth busting.