DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-09-04 19:17:25

mohsen.etc
New member
Registered: 2011-09-04
Posts: 1

Compile base64.c in DNS-321 Help Urgent

Hello to all
I want install Bugzilla on my DNS-321. when i try to do this,i found my os must have many libs in perl for example MIME-Base64 .when i found it for install the make is failed  . because i don't have base64.o lib .when i found base64 lib in this URL http://code.google.com/p/base64encoding/
and run make i have this messages

Code:

gcc -Wall -o testB64 base64.c testB64.c /ffp/lib/libcrypto.a
base64.c:38:19: error: stdio.h: No such file or directory
base64.c:39:20: error: stdlib.h: No such file or directory
base64.c:40:20: error: string.h: No such file or directory
In file included from /ffp/include/openssl/bio.h:69,
                 from /ffp/include/openssl/evp.h:75,
                 from /ffp/include/openssl/hmac.h:67,
                 from base64.c:42:
/ffp/include/openssl/crypto.h:522: error: expected ')' before '*' token
In file included from /ffp/include/openssl/evp.h:75,
                 from /ffp/include/openssl/hmac.h:67,
                 from base64.c:42:
/ffp/include/openssl/bio.h:568: error: expected ')' before '*' token
/ffp/include/openssl/bio.h:645: error: expected ')' before '*' token
/ffp/include/openssl/bio.h:646: error: expected ')' before '*' token
In file included from /ffp/include/openssl/objects.h:960,
                 from /ffp/include/openssl/evp.h:98,
                 from /ffp/include/openssl/hmac.h:67,
                 from base64.c:42:
/ffp/include/openssl/asn1.h:62:18: error: time.h: No such file or directory
In file included from /ffp/include/openssl/asn1.h:74,
                 from /ffp/include/openssl/objects.h:960,
                 from /ffp/include/openssl/evp.h:98,
                 from /ffp/include/openssl/hmac.h:67,
                 from base64.c:42:
/mnt/HD_a2/ffp/bin/../lib/gcc/arm-unknown-linux-uclibc/4.1.3/include/openssl/bn.h:492: error: expected ')' before '*' token
In file included from /ffp/include/openssl/objects.h:960,
                 from /ffp/include/openssl/evp.h:98,
                 from /ffp/include/openssl/hmac.h:67,
                 from base64.c:42:
/ffp/include/openssl/asn1.h:830: error: expected declaration specifiers or '...' before 'time_t'
/ffp/include/openssl/asn1.h:832: error: expected declaration specifiers or '...' before 'time_t'
/ffp/include/openssl/asn1.h:838: error: expected declaration specifiers or '...' before 'time_t'
/ffp/include/openssl/asn1.h:869: error: expected declaration specifiers or '...' before 'time_t'
/ffp/include/openssl/asn1.h:952: error: expected declaration specifiers or '...' before 'FILE'
/ffp/include/openssl/asn1.h:960: error: expected declaration specifiers or '...' before 'FILE'
/ffp/include/openssl/asn1.h:961: error: expected declaration specifiers or '...' before 'FILE'
/ffp/include/openssl/asn1.h:973: error: expected declaration specifiers or '...' before 'FILE'
/ffp/include/openssl/asn1.h:974: error: expected ')' before '*' token
In file included from base64.c:45:
/ffp/include/openssl/buffer.h:71:23: error: sys/types.h: No such file or directory
base64.c: In function 'b64_encode':
base64.c:63: warning: value computed is not used
base64.c:66: warning: implicit declaration of function 'malloc'
base64.c:66: warning: incompatible implicit declaration of built-in function 'malloc'
base64.c:72: warning: implicit declaration of function 'bzero'
base64.c:72: warning: incompatible implicit declaration of built-in function 'bzero'
base64.c:73: warning: implicit declaration of function 'sprintf'
base64.c:73: warning: incompatible implicit declaration of built-in function 'sprintf'
base64.c: In function 'b64_decode':
base64.c:89: warning: incompatible implicit declaration of built-in function 'malloc'
base64.c:89: warning: implicit declaration of function 'strlen'
base64.c:89: warning: incompatible implicit declaration of built-in function 'strlen'
base64.c:90: warning: implicit declaration of function 'memset'
base64.c:90: warning: incompatible implicit declaration of built-in function 'memset'
testB64.c:1:19: error: stdio.h: No such file or directory
testB64.c:2:20: error: stdlib.h: No such file or directory
testB64.c:3:20: error: string.h: No such file or directory
testB64.c: In function 'main':
testB64.c:10: warning: implicit declaration of function 'printf'
testB64.c:10: warning: incompatible implicit declaration of built-in function 'printf'
testB64.c:11: warning: implicit declaration of function 'exit'
testB64.c:11: warning: incompatible implicit declaration of built-in function 'exit'
testB64.c:14: warning: implicit declaration of function 'strlen'
testB64.c:14: warning: incompatible implicit declaration of built-in function 'strlen'
testB64.c:15: warning: incompatible implicit declaration of built-in function 'printf'
testB64.c:19: warning: implicit declaration of function 'strcat'
testB64.c:19: warning: incompatible implicit declaration of built-in function 'strcat'
testB64.c:24: warning: implicit declaration of function 'free'
make: *** [all] Error 1

Now i don't know how to fix it.
Please help me Urgently
Thank you

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB