Code: Select all
make[1]:*** [main.o] Error 1
make: *** [all] Error 2
../scripts/009-pspusblink.sh:Failed.
did any mac user had the same problem ?
Code: Select all
make[1]:*** [main.o] Error 1
make: *** [all] Error 2
../scripts/009-pspusblink.sh:Failed.
Code: Select all
make -C pspsh clean
rm -f pspsh *.o
make -C usbhostfs_pc clean
rm -f usbhostfs_pc *.o
make -C tools/remotejoy/pcsdl clean
rm -f remotejoy *.o
make -C pspsh all
make[1]: *** No rule to make target `pspsh.o', needed by `pspsh'. Stop.
make: *** [all] Error 2
../scripts/009-psplinkusb.sh: Failed.
Code: Select all
make clean
Code: Select all
make
Code: Select all
g++ -Wall -g -D_PCTERM -I../psplink -c -o pspsh.o pspsh.C
pspsh.C: In function 'int execute_line(const char*)':
pspsh.C:232: error: invalid conversion from 'void (*)(char*)' to 'void (*)()'
pspsh.C:232: error: initializing argument 2 of 'void rl_callback_handler_install(const char*, void (*)())'
pspsh.C: In function 'int close_cmd(int, char**)':
pspsh.C:429: error: invalid conversion from 'void (*)(char*)' to 'void (*)()'
pspsh.C:429: error: initializing argument 2 of 'void rl_callback_handler_install(const char*, void (*)())'
pspsh.C: In function 'int strlen_cmd(int, char**)':
pspsh.C:439: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
pspsh.C: In function 'int tty_cmd(int, char**)':
pspsh.C:463: error: invalid conversion from 'void (*)(char*)' to 'void (*)()'
pspsh.C:463: error: initializing argument 2 of 'void rl_callback_handler_install(const char*, void (*)())'
pspsh.C: In function 'void cli_handler(char*)':
pspsh.C:574: error: invalid conversion from 'void (*)(char*)' to 'void (*)()'
pspsh.C:574: error: initializing argument 2 of 'void rl_callback_handler_install(const char*, void (*)())'
pspsh.C:601: error: invalid conversion from 'void (*)(char*)' to 'void (*)()'
pspsh.C:601: error: initializing argument 2 of 'void rl_callback_handler_install(const char*, void (*)())'
pspsh.C: In function 'void completion_display(char**, int, int)':
pspsh.C:913: error: 'rl_forced_update_display' was not declared in this scope
pspsh.C: In function 'char** shell_completion(const char*, int, int)':
pspsh.C:934: error: 'rl_filename_completion_function' was not declared in this scope
pspsh.C:934: error: 'rl_completion_matches' was not declared in this scope
pspsh.C:940: error: invalid conversion from 'void (*)(char**, int, int)' to 'void (*)()'
pspsh.C:941: error: 'rl_completion_matches' was not declared in this scope
pspsh.C:945: error: 'rl_completion_matches' was not declared in this scope
pspsh.C:950: error: invalid conversion from 'void (*)(char**, int, int)' to 'void (*)()'
pspsh.C:953: error: 'rl_completion_matches' was not declared in this scope
pspsh.C:957: error: 'rl_completion_matches' was not declared in this scope
pspsh.C: In function 'int init_readline()':
pspsh.C:972: error: invalid conversion from 'void (*)(char*)' to 'void (*)()'
pspsh.C:972: error: initializing argument 2 of 'void rl_callback_handler_install(const char*, void (*)())'
pspsh.C: In function 'int process_cmd(const unsigned char*)':
pspsh.C:1450: error: invalid conversion from 'void (*)(char*)' to 'void (*)()'
pspsh.C:1450: error: initializing argument 2 of 'void rl_callback_handler_install(const char*, void (*)())'
make: *** [pspsh.o] Error 1
Code: Select all
i686-apple-darwin8-g++-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Code: Select all
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: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
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