Now this is silly. Getting the following error on the last script of the psptoolchain:
Code: Select all
xian@linux-z2yr:~> cd projects/pspsdk/psptoolchain/scripts/
xian@linux-z2yr:~/projects/pspsdk/psptoolchain/scripts> sudo ./009-psplinkusb.sh
root's password:
At revision 2494.
make -C pspsh clean
make[1]: Entering directory `/home/xian/projects/pspsdk/psptoolchain/scripts/psplinkusb/pspsh'
rm -f pspsh *.o
make[1]: Leaving directory `/home/xian/projects/pspsdk/psptoolchain/scripts/psplinkusb/pspsh'
make -C usbhostfs_pc clean
make[1]: Entering directory `/home/xian/projects/pspsdk/psptoolchain/scripts/psplinkusb/usbhostfs_pc'
rm -f usbhostfs_pc *.o
make[1]: Leaving directory `/home/xian/projects/pspsdk/psptoolchain/scripts/psplinkusb/usbhostfs_pc'
if ( which sdl-config ); then { make -C tools/remotejoy/pcsdl clean; } else { make -C tools/remotejoy/pc clean; } fi
which: no sdl-config in (/usr/bin:/bin:/usr/sbin:/sbin)
make[1]: Entering directory `/home/xian/projects/pspsdk/psptoolchain/scripts/psplinkusb/tools/remotejoy/pc'
rm -f remotejoy *.o
make[1]: Leaving directory `/home/xian/projects/pspsdk/psptoolchain/scripts/psplinkusb/tools/remotejoy/pc'
make -C pspsh all
make[1]: Entering directory `/home/xian/projects/pspsdk/psptoolchain/scripts/psplinkusb/pspsh'
g++ -Wall -g -D_PCTERM -I../psplink -c -o pspsh.o pspsh.C
pspsh.C: In function ‘int strlen_cmd(int, char**)’:
pspsh.C:439:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Wformat]
pspsh.C:439:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Wformat]
pspsh.C: In function ‘char* command_gen(const char*, int)’:
pspsh.C:693:13: warning: variable ‘locals’ set but not used [-Wunused-but-set-variable]
pspsh.C: In function ‘int init_readline()’:
pspsh.C:974:39: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
g++ -Wall -g -D_PCTERM -I../psplink -c -o parse_args.o parse_args.C
g++ -Wall -g -D_PCTERM -I../psplink -c -o pspkerror.o pspkerror.C
g++ -Wall -g -D_PCTERM -I../psplink -c -o asm.o asm.C
g++ -Wall -g -D_PCTERM -I../psplink -c -o disasm.o disasm.C
g++ -o pspsh pspsh.o parse_args.o pspkerror.o asm.o disasm.o -lreadline -lcurses
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libcurses.a when searching for -lcurses
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lcurses
collect2: ld returned 1 exit status
make[1]: *** [pspsh] Error 1
make[1]: Leaving directory `/home/xian/projects/pspsdk/psptoolchain/scripts/psplinkusb/pspsh'
make: *** [all] Error 2
xian@linux-z2yr:~/projects/pspsdk/psptoolchain/scripts>
(This is what I did to replicate it without running the entire thing over.)
This is what YaST gives me on packages with 'curses' in their name:
Code: Select all
# Status Package | Summary | Installed (Available) | Size
[Keep] cdk | The Runtime for the Curses Developmen... | 4.9.13-152.1.2 | 328.0 KiB
[Keep] cdk-devel | Development Part of Curses Developmen... | 4.9.13-152.1.2 | 263.0 KiB
[Keep] cmus | Curses-based Ogg, MP3, WMA, and WAV P... | 2.4.3-1.6 | 446.0 KiB
[Keep] libncurses5 | The New curses Libraries | 5.8-5.1.4 | 1008.0 KiB
[Keep] libncurses5-32bit | The New curses Libraries | 5.8-5.1.4 | 911.0 KiB
[Keep] libncurses6 | The New curses Libraries | 5.8-5.1.4 | 961.0 KiB
[Keep] libncurses6-32bit | The New curses Libraries | 5.8-5.1.4 | 907.0 KiB
[Keep] ncurses-devel | Include Files and Libraries mandatory... | 5.8-5.1.4 | 25.6 MiB
[Keep] ncurses-devel-32bit | Include Files and Libraries mandatory... | 5.8-5.1.4 | 15.4 MiB
[Keep] ncurses-utils | Tools using the new curses libraries | 5.8-5.1.4 | 119.0 KiB
[Keep] yast2-ncurses | YaST2 - Character Based User Interface | 2.21.4-3.1.3 | 967.0 KiB
[Keep] yast2-ncurses-pkg | YaST2 - Character Based Package Manag... | 2.21.2-1.1.2 | 767.0 KiB
[Do Not Install] BitTorrent-curses | Scatter-Gather Network File Transfer ... | (4.4.0-1.3) | 28.0 KiB
[Do Not Install] bpython | Fancy Curses Interface to the Python ... | (0.10.1-3.1.2) | 417.0 KiB
[Do Not Install] cgdb | Curses debugger | (0.6.6-5.1.2) | 335.0 KiB
[Do Not Install] ncmpc | Curses Client for the Music Player Da... | (0.20-1.1) | 174.0 KiB
[Do Not Install] perl-Curses | Terminal screen handling and optimiza... | (1.28-13.1.3) | 332.0 KiB
[Do Not Install] perl-CursesWidgets | CursesWidgets Perl module | (1.997-154.1.3) | 202.0 KiB
[Do Not Install] pms | Curses Client for the Music Player Da... | (0.42-2.5) | 371.0 KiB
[Do Not Install] python-curses | Python Interface to the (N)Curses Lib... | (2.7.2-7.10.1) | 135.0 KiB
[Do Not Install] python3-curses | Python Interface to the (N)Curses Lib... | (3.2.1-5.3.1) | 137.0 KiB
[Do Not Install] tig | An ncurses-based text-mode interface ... | (1.0-3.1) | 203.0 KiB
[Do Not Install] wavemon | An ncurses monitoring application for... | (0.6.10-8.1.3) | 113.0 KiB
[Do Not Install] yast2-ncurses-devel | YaST2 - Character Based User Interface | (2.21.4-3.1.3) | 321.0 KiB
As far as I can tell, I have the required library installed. So, any way to fix this?