Look at the function prototype in libcglue.c and time.h!
If the functions is different the name have to be different, in this case try to change to function name!
But maybe can be the same functions with different prototypes, get the correct prototype and correct it!
ne0h wrote:Look at the function prototype in libcglue.c and time.h!
If the functions is different the name have to be different, in this case try to change to function name!
But maybe can be the same functions with different prototypes, get the correct prototype and correct it!
I know what the problem is and how I'd solve it if it would be my own code...
but since this code takes about 20minutes to compile before I get the error I'm not a big fan of trial and error here.
And also, if I simply rename this function I'm pretty sure I'll get a lot of other errors because this function is used somewhere else..
And last but not least, since this is the current SVN version and I am sure many people are working with this, this must be somehow a known problem.. or not?
Uninstall other pspdev or remove from the path before running the install script, most likely you have an old sdk installed with newlib 1.15 which contain a different time.h and your cross compilation script is using that as cache instead of relying on the new newlib 1.16 time.h
look into the downloads the toolchain script does, there should be a file named: newlib-1.16.tar.gz exploded into a directory named newlib-1.16 if you have both a file and directory named newlib 1.15 then there is a problem, it shouldn't be there
[root@ernesta psptoolchain]# ./toolchain-sudo.sh
ls: cannot access /usr/include/readline/readline.h: No such file or directory
ERROR: Install readline before continuing.
../depends/check-readline.sh: Failed.
ERROR: Could not run the toolchain script.
im now getting this error, compiling the latest psptoolchain.