my next problem is this: amongst all the output/warnings/errors from running ./toolchain.sh i'm still not sure i have completely installed the psptoolchain properly. anything i try to make always seems to give me errors.
here is the specific output when i try to make pcterm (part of the pclink package downloaded from svn://svn.ps2dev.org/psp/trunk/psplink)
Code: Select all
cc -Wall -g -DSERIAL_SUPPORT -c -o pcterm.o pcterm.c
pcterm.c: In function 'execute_line':
pcterm.c:112: warning: implicit declaration of function 'strlen'
pcterm.c:112: warning: incompatible implicit declaration of built-in function 'strlen'
pcterm.c: In function 'cli_handler':
pcterm.c:141: warning: implicit declaration of function 'strcmp'
pcterm.c:150: warning: passing argument 2 of 'rl_callback_handler_install' from incompatible pointer type
pcterm.c:155: warning: implicit declaration of function 'strncmp'
pcterm.c:171: warning: passing argument 2 of 'rl_callback_handler_install' from incompatible pointer type
pcterm.c: In function 'init_readline':
pcterm.c:235: warning: implicit declaration of function 'META'
pcterm.c:238: warning: passing argument 2 of 'rl_callback_handler_install' from incompatible pointer type
pcterm.c: In function 'parse_args':
pcterm.c:273: warning: implicit declaration of function 'memset'
pcterm.c:273: warning: incompatible implicit declaration of built-in function 'memset'
pcterm.c: In function 'read_socket':
pcterm.c:426: warning: implicit declaration of function 'strchr'
pcterm.c:426: warning: incompatible implicit declaration of built-in function 'strchr'
pcterm.c:435: warning: implicit declaration of function 'strcpy'
pcterm.c:435: warning: incompatible implicit declaration of built-in function 'strcpy'
pcterm.c:442: warning: incompatible implicit declaration of built-in function 'strcpy'
pcterm.c:443: warning: incompatible implicit declaration of built-in function 'strlen'
pcterm.c:451: warning: incompatible implicit declaration of built-in function 'strchr'
pcterm.c:456: warning: incompatible implicit declaration of built-in function 'strcpy'
pcterm.c:462: warning: implicit declaration of function 'strncat'
pcterm.c:462: warning: incompatible implicit declaration of built-in function 'strncat'
pcterm.c:464: warning: incompatible implicit declaration of built-in function 'strlen'
pcterm.c:473: warning: incompatible implicit declaration of built-in function 'strlen'
pcterm.c:480: warning: passing argument 2 of 'rl_callback_handler_install' from incompatible pointer type
pcterm.c: In function 'main':
pcterm.c:732: warning: incompatible implicit declaration of built-in function 'memset'
pcterm.c:743: warning: implicit declaration of function 'strerror'
pcterm.c:743: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
gcc -o pcterm pcterm.o -lreadline -lcurses
/usr/bin/ld: Undefined symbols:
_META
_emacs_standard_keymap
_rl_bind_key_in_map
collect2: ld returned 1 exit status
make: *** [pcterm] Error 1
any help would be appreciated.
thanks.