TUP : Forum

Website : Tugs' Uptime Project

You are not logged in.

Announcement

Join US on Facebook ! TUP OFFICIAL FB PAGE

#1 2010-07-13 14:28:25

BladeWS
Newbie
Registered: 2010-07-13
Posts: 3

Problem runing client

Hello smile

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:

Code:

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

 

#2 2010-07-13 16:42:26

Tugs
Administrator
From: Lyon / France
Registered: 2007-11-11
Posts: 974
Website

Re: Problem runing client

u've to compile ur own smile


http://img.uptimeprj.com/tugs/22c51f1fcfa0b9845a53729a38d232a3.png

Offline

 

#3 2010-07-13 23:17:09

BladeWS
Newbie
Registered: 2010-07-13
Posts: 3

Re: Problem runing client

What i'am doing wrong :S

Code:

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

 

#4 2010-07-13 23:24:40

Tugs
Administrator
From: Lyon / France
Registered: 2007-11-11
Posts: 974
Website

Re: Problem runing client

If u're using confparser patched, u can compile ur own with sources smile . Warning are not interesting , juste something about pointer in md5.h

do u try to compile tup client once confparser changed ?


http://img.uptimeprj.com/tugs/22c51f1fcfa0b9845a53729a38d232a3.png

Offline

 

#5 2010-07-16 10:28:40

BladeWS
Newbie
Registered: 2010-07-13
Posts: 3

Re: Problem runing client

Confused.

Compile without pached confparser:

Code:

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:


Code:

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

 

#6 2010-07-16 11:10:26

Tugs
Administrator
From: Lyon / France
Registered: 2007-11-11
Posts: 974
Website

Re: Problem runing client

U need libssl & libcrypto smile


http://img.uptimeprj.com/tugs/22c51f1fcfa0b9845a53729a38d232a3.png

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB