Ok. Also ich habe als Beispiel beim psybnc in den Makefiles von gcc auf mipsel-linux-gcc geändert. Danach mit dem export Befehl auf das Verzeichnis zeigen lassen. Nach eingabe von make bekomme ich folgende Fehlermeldung.
mipsel-linux-gcc -I./src/ -I. -I/usr/local/ssl/include -c -O -DHAVE_CONFIG -DBIGENDIAN -DIPV6 -DNOSYSTIME -DHAVE_SSL -DBLOCKDNS src/psybnc.c -o src/psybnc.o
In file included from ./src/p_global.h:44,
from src/psybnc.c:40:
./config.h:31:1: warning: "BLOCKDNS" redefined
<command line>:1:1: warning: this is the location of the previous definition
In file included from src/psybnc.c:40:
./src/p_global.h:50:28: error: openssl/crypto.h: No such file or directory
./src/p_global.h:51:26: error: openssl/x509.h: No such file or directory
./src/p_global.h:52:25: error: openssl/pem.h: No such file or directory
./src/p_global.h:53:25: error: openssl/ssl.h: No such file or directory
./src/p_global.h:54:25: error: openssl/err.h: No such file or directory
./src/p_global.h:55:26: error: openssl/rand.h: No such file or directory
In file included from src/psybnc.c:40:
./src/p_global.h:260: error: expected specifier-qualifier-list before 'SSL'
./src/p_global.h:1071: error: expected ')' before '*' token
In file included from src/psybnc.c:41:
./src/p_data.h:164: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
./src/p_data.h:165: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
src/psybnc.c: In function 'initSSL':
src/psybnc.c:51: error: 'srvctx' undeclared (first use in this function)
src/psybnc.c:51: error: (Each undeclared identifier is reported only once
src/psybnc.c:51: error: for each function it appears in.)
src/psybnc.c:56: warning: incompatible implicit declaration of built-in function 'exit'
src/psybnc.c:58: error: 'SSL_FILETYPE_PEM' undeclared (first use in this function)
src/psybnc.c:61: warning: incompatible implicit declaration of built-in function 'exit'
src/psybnc.c:66: warning: incompatible implicit declaration of built-in function 'exit'
src/psybnc.c:71: warning: incompatible implicit declaration of built-in function 'exit'
src/psybnc.c:74: error: 'clnctx' undeclared (first use in this function)
src/psybnc.c:78: warning: incompatible implicit declaration of built-in function 'exit'
src/psybnc.c:83: warning: incompatible implicit declaration of built-in function 'exit'
src/psybnc.c:88: warning: incompatible implicit declaration of built-in function 'exit'
src/psybnc.c:93: warning: incompatible implicit declaration of built-in function 'exit'
src/psybnc.c: In function 'main':
src/psybnc.c:181: warning: incompatible implicit declaration of built-in function 'exit'
src/psybnc.c:197: warning: incompatible implicit declaration of built-in function 'exit'
src/psybnc.c:206: warning: incompatible implicit declaration of built-in function 'exit'
src/psybnc.c:225: warning: passing argument 3 of '__pmalloc' discards qualifiers from pointer target type
src/psybnc.c:232: warning: incompatible implicit declaration of built-in function 'exit'
src/psybnc.c:239: warning: incompatible implicit declaration of built-in function 'exit'
src/psybnc.c:256: warning: passing argument 2 of 'strmncpy' discards qualifiers from pointer target type
src/psybnc.c:265: warning: passing argument 3 of '__pmalloc' discards qualifiers from pointer target type
src/psybnc.c:270: warning: passing argument 3 of '__pmalloc' discards qualifiers from pointer target type
src/psybnc.c:275: warning: passing argument 3 of '__pmalloc' discards qualifiers from pointer target type
src/psybnc.c:282: warning: passing argument 2 of 'strmncpy' discards qualifiers from pointer target type
src/psybnc.c:286: warning: passing argument 2 of 'strmncpy' discards qualifiers from pointer target type
src/psybnc.c:293: warning: incompatible implicit declaration of built-in function 'exit'
src/psybnc.c:295: warning: passing argument 2 of 'strmncpy' discards qualifiers from pointer target type
make[1]: *** [src/psybnc.o] Fehler 1
make[1]: Leaving directory `/home/7170/psybnc'
make: *** [all] Fehler 2