Have been trying to set up Prizm SDK on and off for a year now.
In my most recent attemps I follow that wiki prizm with the added command sudo chmod a+rw /usr/local/cross.
And no errors occur throught compiling and installing everything but when go into skeleton and make I get.

Code:

/usr/local/cross/bin/sh3eb-elf-gcc  example.o -mb -m4a-nofpu -mhitachi -nostdlib -T/home/saul/Desktop/c_stuff/tools/libfxcg-0.5.2/toolchain/prizm.x -Wl,-static -Wl,-gc-sections  -L/home/saul/Desktop/c_stuff/tools/libfxcg-0.5.2/lib -lc -lfxcg -lgcc -o /home/saul/Desktop/c_stuff/tools/libfxcg-0.5.2/examples/skeleton/skeleton.bin
/usr/local/cross/lib/gcc/sh3eb-elf/13.2.0/../../../../sh3eb-elf/bin/ld: cannot find -lc: No such file or directory
/usr/local/cross/lib/gcc/sh3eb-elf/13.2.0/../../../../sh3eb-elf/bin/ld: cannot find -lfxcg: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [/home/saul/Desktop/c_stuff/tools/libfxcg-0.5.2/toolchain/prizm_rules:83: /home/saul/Desktop/c_stuff/tools/libfxcg-0.5.2/examples/skeleton/skeleton.bin] Error 1
make: *** [Makefile:108: all] Error 2


I know it is not an issue with the PREFIX cause then the error is something like

Code:
make[1]: /usr/bin/sh3eb-elf-gcc: No such file or directory


The only way I have gotten it to work is to brick my operating system by making the permissions of the whole user folder a+rw.
Honestly not sure what to do.
Have you built the fxcg library yet?
What files are in /home/saul/Desktop/c_stuff/tools/libfxcg-0.5.2/lib?
This should include libc.a and libfxcg.a

If you haven't got these files yet, go to the libfxcg-0.5.2 directory and run
Code:
make clean
and then
Code:
make
It was that which was holding me back for a year! I am dumb...
Thanks for helping.
Not a problem. Let us know if you have any other issues!
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement