Website : Tugs' Uptime Project
You are not logged in.
Hello ![]()
Trying to run Linux client at my server: Linux debian 2.6.32-trunk-686
http://users.uptimeprj.com/bladews/en/
Right now iam using a python script found in forum
So i get this error:
TUPLinux: relocation error: /lib/libnss_mdns4_minimal.so.2: symbol strlen, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
Any ideas?
Last edited by BladeWS (2010-07-13 14:29:05)
Offline
What i'am doing wrong :S
debian:/home/f00/TUPLinuxClient/src# gcc -Wall -O9 TUPLinux-1-1A_v3.c -o TUPLinux-1-1A_v3.c In file included from TUPLinux-1-1A_v3.c:56: confparser.h:71: error: conflicting types for ‘getline’ /usr/include/stdio.h:651: note: previous declaration of ‘getline’ was here TUPLinux-1-1A_v3.c: In function ‘MD5MacAddr’: TUPLinux-1-1A_v3.c:692: warning: pointer targets in passing argument 1 of ‘MD5’ differ in signedness /usr/include/openssl/md5.h:114: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
I also used this http://tugs.free.fr/tup/confparser.h.tgz
Last edited by BladeWS (2010-07-13 23:22:39)
Offline
If u're using confparser patched, u can compile ur own with sources
. Warning are not interesting , juste something about pointer in md5.h
do u try to compile tup client once confparser changed ?
Offline
Confused.
Compile without pached confparser:
In file included from TUPLinux-1-1A_v3.c:56: confparser.h:71: error: conflicting types for βgetlineβ /usr/include/stdio.h:651: note: previous declaration of βgetlineβ was here TUPLinux-1-1A_v3.c: In function βMD5MacAddrβ: TUPLinux-1-1A_v3.c:692: warning: pointer targets in passing argument 1 of βMD5β differ in signedness /usr/include/openssl/md5.h:114: note: expected βconst unsigned char *β but argument is of type βchar *β
Compile WITH pached confparser:
debian:/home/j00/TUPLinuxClient/src# gcc -Wall -O9 TUPLinux-1-1A_v3.c -o TUPLinux-1-1A_v3.c TUPLinux-1-1A_v3.c: In function βMD5MacAddrβ: TUPLinux-1-1A_v3.c:692: warning: pointer targets in passing argument 1 of βMD5β differ in signedness /usr/include/openssl/md5.h:114: note: expected βconst unsigned char *β but argument is of type βchar *β /tmp/cceqMZes.o: In function `base64': TUPLinux-1-1A_v3.c:(.text+0x69): undefined reference to `BIO_f_base64' TUPLinux-1-1A_v3.c:(.text+0x71): undefined reference to `BIO_new' TUPLinux-1-1A_v3.c:(.text+0x78): undefined reference to `BIO_s_mem' TUPLinux-1-1A_v3.c:(.text+0x80): undefined reference to `BIO_new' TUPLinux-1-1A_v3.c:(.text+0x8c): undefined reference to `BIO_push' TUPLinux-1-1A_v3.c:(.text+0xa4): undefined reference to `BIO_write' TUPLinux-1-1A_v3.c:(.text+0xc4): undefined reference to `BIO_ctrl' TUPLinux-1-1A_v3.c:(.text+0xe3): undefined reference to `BIO_ctrl' TUPLinux-1-1A_v3.c:(.text+0x11f): undefined reference to `BIO_free_all' /tmp/cceqMZes.o: In function `MD5MacAddr': TUPLinux-1-1A_v3.c:(.text+0x1404): undefined reference to `MD5' collect2: ld returned 1 exit status
Offline