macs
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Downloads
Posts posted by macs
-
-
Hi,
When I was trying to build and download a project that contains only codes files that are generated by Simulink-Power PMAC Interface, the error messages appeared:
C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : make: *** /opt/powerpc-465-rootfs/usr/src/linux-3.2.21-serengeti-smp: No such file or directory. Stop.
Actually I can build the same project without error messages at another computer which is not connected to a PPMAC. And I also tired to reinstall the PPMAC IDE, when I first ran it in 'No Device' Mode, I could successfully build it. But after I connected to the PPMAC, I can't build it again anymore, even in offline mode.
Here are the error messages appeared when I build the same project in offline (No device) Mode:
C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : /usr/local/dtlibs/libppmac/libppmac.so: undefined reference to `__wrap_printf'
C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : /usr/local/dtlibs/libppmac/libppmac.so: undefined reference to `__wrap_fwrite'
C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : /usr/local/dtlibs/libppmac/libppmac.so: undefined reference to `__wrap_fprintf'
C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : /usr/local/dtlibs/libppmac/libppmac.so: undefined reference to `__wrap_puts'
C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : /usr/local/dtlibs/libppmac/libppmac.so: undefined reference to `__wrap_free'
C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : /usr/local/dtlibs/libppmac/libppmac.so: undefined reference to `__wrap_fputs'
C:\Users\admin\AppData\Local\Temp\alvvhkv0.u5w\Temp\PowerPmac7.ppproj(0,0): Error : collect2: ld returned 1 exit status
Could somebody help me, please?
how to access global arrays in C?
in Power PMAC
Posted
Hi all,
I know that I can access global variables that I defined in 'global definitions.pmh' by pshm->P[variableName] in C, but this doesn't work for global array by pshm->P[arrayName(index)]. I know there must be a way to access them, please is there are somebody can tell me?
Thank you!