LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-11-2011, 01:31 AM   #1
ganesh raorane
LQ Newbie
 
Registered: Oct 2010
Location: Mumbai
Posts: 17

Rep: Reputation: 0
daemontools compaliar


Hi
could anyboay help in this issue.
I am compaling daemontool for qmail server when i exucute make geting below error.
./load svscan unix.a byte.a
/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in svscan.o
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [svscan] Error 1

Pls help me.

Thanks
 
Old 06-11-2011, 09:37 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You might take a look at this

Regards
 
1 members found this post helpful.
Old 06-13-2011, 04:14 AM   #3
ganesh raorane
LQ Newbie
 
Registered: Oct 2010
Location: Mumbai
Posts: 17

Original Poster
Rep: Reputation: 0
works but ones again same prob.

Its work but ones again same problem. Pls help me.


( cat warn-auto.sh; \
echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' \
) > compile
chmod 755 compile
./choose c trydrent direntry.h1 direntry.h2 > direntry.h
./choose cl tryvfork fork.h1 fork.h2 > fork.h
./compile svscan.c
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\'; \
cat find-systype.sh; \
) | sh > systype
( cat warn-auto.sh; \
echo 'main="$1"; shift'; \
echo 'rm -f "$main"'; \
echo 'ar cr "$main" ${1+"$@"}'; \
case "`cat systype`" in \
sunos-5.*) ;; \
unix_sv*) ;; \
irix64-*) ;; \
irix-*) ;; \
dgux-*) ;; \
hp-ux-*) ;; \
sco*) ;; \
*) echo 'ranlib "$main"' ;; \
esac \
) > makelib
chmod 755 makelib
./compile alloc.c
alloc.c:3: warning: conflicting types for built-in function ‘malloc’
./compile alloc_re.c
./compile buffer.c
./compile buffer_0.c
./compile buffer_1.c
./compile buffer_2.c
./compile buffer_copy.c
./compile buffer_get.c
./compile buffer_put.c
./compile coe.c
./compile env.c
./compile error.c
./compile error_str.c
./compile fd_copy.c
./compile fd_move.c
./choose cl trymkffo hasmkffo.h1 hasmkffo.h2 > hasmkffo.h
./compile fifo.c
./choose cl tryflock hasflock.h1 hasflock.h2 > hasflock.h
./compile lock_ex.c
./compile lock_exnb.c
./compile ndelay_off.c
./compile ndelay_on.c
./compile open_append.c
./compile open_read.c
./compile open_trunc.c
./compile open_write.c
./compile openreadclose.c
./compile pathexec_env.c
./compile pathexec_run.c
./compile chkshsgr.c
./load chkshsgr
./chkshsgr || ( cat warn-shsgr; exit 1 )
./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h
./compile prot.c
./compile readclose.c
./compile seek_set.c
./compile sgetopt.c
./compile sig.c
./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h
./compile sig_catch.c
./compile stralloc_cat.c
./compile stralloc_catb.c
./compile stralloc_cats.c
./compile stralloc_eady.c
./compile stralloc_opyb.c
./compile stralloc_opys.c
./compile stralloc_pend.c
./compile strerr_die.c
./compile strerr_sys.c
./compile subgetopt.c
./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h
./compile wait_nohang.c
./compile wait_pid.c
./makelib unix.a alloc.o alloc_re.o buffer.o buffer_0.o \
buffer_1.o buffer_2.o buffer_copy.o buffer_get.o \
buffer_put.o coe.o env.o error.o error_str.o fd_copy.o \
fd_move.o fifo.o lock_ex.o lock_exnb.o ndelay_off.o \
ndelay_on.o open_append.o open_read.o open_trunc.o \
open_write.o openreadclose.o pathexec_env.o pathexec_run.o \
prot.o readclose.o seek_set.o sgetopt.o sig.o sig_catch.o \
stralloc_cat.o stralloc_catb.o stralloc_cats.o \
stralloc_eady.o stralloc_opyb.o stralloc_opys.o \
stralloc_pend.o strerr_die.o strerr_sys.o subgetopt.o \
wait_nohang.o wait_pid.o
./compile byte_chr.c
./compile byte_copy.c
./compile byte_cr.c
./compile byte_diff.c
./compile byte_rchr.c
./compile fmt_uint.c
./compile fmt_uint0.c
./compile fmt_ulong.c
./compile scan_ulong.c
./compile str_chr.c
./compile str_diff.c
./compile str_len.c
./compile str_start.c
./makelib byte.a byte_chr.o byte_copy.o byte_cr.o \
byte_diff.o byte_rchr.o fmt_uint.o fmt_uint0.o fmt_ulong.o \
scan_ulong.o str_chr.o str_diff.o str_len.o str_start.o
./load svscan unix.a byte.a
/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in svscan.o
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [svscan] Error 1
 
Old 06-13-2011, 07:58 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Quote:
Its work but ones again same problem. Pls help me.
What you mean by that? Works or not?
Anyway you can try to use the attached patch (from netmail) that does the same job. For this you need vanilla daemontools sources, so after deleting the previous daemontools directory, do the following:
Code:
tar xvf daemontools-0.76.tar.gz
cd admin/daemontools-0.76/src
patch < /path/to/dtools.patch.txt
cd ..
./package/install
Attached Files
File Type: txt dtools.patch.txt (363 Bytes, 94 views)
 
Old 06-14-2011, 01:20 AM   #5
ganesh raorane
LQ Newbie
 
Registered: Oct 2010
Location: Mumbai
Posts: 17

Original Poster
Rep: Reputation: 0
checkpassword-0.81 compiling pro.

Thanks

Now i have compiling checkpasword-0.81 tarball & getting below error.
Pls help me.


[root@mail checkpassword-0.81]# make
nroff -man checkpassword.8 > checkpassword.0
( cat warn-auto.sh; \
echo 'main="$1"; shift'; \
echo exec "`head -1 conf-ld`" \
'-o "$main" "$main".o ${1+"$@"}' \
) > load
chmod 755 load
( cat warn-auto.sh; \
echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' \
) > compile
chmod 755 compile
( ( ./compile tryspnam.c && ./load tryspnam ) >/dev/null \
2>&1 \
&& echo \#define HASGETSPNAM 1 || exit 0 ) > hasspnam.h
rm -f tryspnam.o tryspnam
( ( ./compile tryslib.c && \
./load tryslib -ls ) >/dev/null 2>&1 \
&& echo -ls || exit 0 ) > s.lib
rm -f tryslib.o tryslib
( ( ./compile tryuserpw.c \
&& ./load tryuserpw `cat s.lib` ) >/dev/null 2>&1 \
&& echo \#define HASGETUSERPW 1 || exit 0 ) > hasuserpw.h
rm -f tryuserpw.o tryuserpw
./compile checkpassword.c
checkpassword.c:4: warning: conflicting types for built-in function ‘malloc’
checkpassword.c: In function ‘doit’:
checkpassword.c:38: warning: incompatible implicit declaration of built-in function ‘_exit’
checkpassword.c:55: warning: incompatible implicit declaration of built-in function ‘_exit’
checkpassword.c: In function ‘str1e2’:
checkpassword.c:62: warning: incompatible implicit declaration of built-in function ‘strlen’
checkpassword.c:63: warning: incompatible implicit declaration of built-in function ‘_exit’
checkpassword.c:64: warning: incompatible implicit declaration of built-in function ‘strcpy’
checkpassword.c:65: warning: incompatible implicit declaration of built-in function ‘strcat’
checkpassword.c: In function ‘main’:
checkpassword.c:85: warning: incompatible implicit declaration of built-in function ‘_exit’
checkpassword.c:76: warning: return type of ‘main’ is not ‘int’
./compile chkshsgr.c
chkshsgr.c: In function ‘main’:
chkshsgr.c:3: warning: return type of ‘main’ is not ‘int’
./load chkshsgr
./chkshsgr || ( cat warn-shsgr; exit 1 )
( ( ./compile tryshsgr.c \
&& ./load tryshsgr && ./tryshsgr ) >/dev/null 2>&1 \
&& echo \#define HASSHORTSETGROUPS 1 || exit 0 ) > \
hasshsgr.h
rm -f tryshsgr.o tryshsgr
./compile prot.c
( ( ./compile tryshadow.c && \
./load tryshadow -lshadow ) >/dev/null 2>&1 \
&& echo -lshadow || exit 0 ) > shadow.lib
rm -f tryshadow.o tryshadow
( ( ./compile trycrypt.c && \
./load trycrypt -lcrypt ) >/dev/null 2>&1 \
&& echo -lcrypt || exit 0 ) > crypt.lib
rm -f trycrypt.o trycrypt
./load checkpassword prot.o `cat shadow.lib` `cat \
crypt.lib` `cat s.lib`
./compile install.c
install.c: In function ‘main’:
install.c:141: warning: return type of ‘main’ is not ‘int’
./compile hier.c
./compile auto-str.c
auto-str.c:9: warning: conflicting types for built-in function ‘puts’
auto-str.c: In function ‘main’:
auto-str.c:17: warning: return type of ‘main’ is not ‘int’
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\'; \
cat find-systype.sh; \
) | sh > systype
( cat warn-auto.sh; \
echo 'main="$1"; shift'; \
echo 'rm -f "$main"'; \
echo 'ar cr "$main" ${1+"$@"}'; \
case "`cat systype`" in \
sunos-5.*) ;; \
unix_sv*) ;; \
irix64-*) ;; \
irix-*) ;; \
dgux-*) ;; \
hp-ux-*) ;; \
sco*) ;; \
*) echo 'ranlib "$main"' ;; \
esac \
) > makelib
chmod 755 makelib
./compile substdio.c
./compile substdi.c
./compile substdo.c
./compile subfderr.c
./compile substdio_copy.c
./makelib substdio.a substdio.o substdi.o substdo.o \
subfderr.o substdio_copy.o
./compile error.c
./compile error_str.c
./makelib error.a error.o error_str.o
./compile str_len.c
./compile byte_copy.c
./compile byte_cr.c
./makelib str.a str_len.o byte_copy.o byte_cr.o
./load auto-str substdio.a error.a str.a
/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in substdio.a(substdo.o)
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [auto-str] Error 1
 
Old 06-14-2011, 02:37 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Same goes here.
You need to patch checkpassword (patch is attached). I guess you're following the Life with qmail manual. If that's the case see the Note in 5.2.1.2

Regards
Attached Files
File Type: txt checkpassword.patch.txt (350 Bytes, 30 views)
 
Old 06-14-2011, 11:28 PM   #7
ganesh raorane
LQ Newbie
 
Registered: Oct 2010
Location: Mumbai
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks very very much.

I am refring document which attached here some copy line i coudnt understand on this document Pls find below.

NOTE : Pls find attachment for this doc.

[15] Now copy files 1, 1l, 2, 2l, 3, 3l to the following respective sub-dirs

as given below.



These files have to be renamed "run" after being copied, and then chmod'd :



Just do as instructed below all life will be Ok :



(a) # copy file 1 to /var/qmail/service/pop3d/run

# cd /var/qmail/service/pop3d/run

# chmod 755 run



(b) # copy file 1l to /var/qmail/service/pop3d/log/run

# cd /var/qmail/service/pop3d/log/run

# chmod 755 run



(c) # copy file 2 to /var/qmail/service/qmail/run

# cd /var/qmail/service/qmail/run

# chmod 755 run



(d) # copy file 2l to /var/qmail/service/qmail/log/run

# cd /var/qmail/service/qmail/log/run

# chmod 755 run



(e) # copy file 3 to /var/qmail/service/smtpd/run

# cd /var/qmail/service/smtpd/run

# chmod 755 run



(f) # copy file 3l to /var/qmail/service/smtpd/log/run

# cd /var/qmail/service/smtpd/log/run

# chmod 755 run
Attached Files
File Type: txt 0-QMAIL-INSTALLATION.txt (10.1 KB, 20 views)
 
Old 06-15-2011, 03:27 AM   #8
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

After reading the attached .txt, I could not either understand what these 1, 1l, etc files are. You can try to search in the sources directory to see if you can find them.
I guess they are the same as the files you need to create according to paragraph 5.2.1.2 in my previous post.

Anyway, if you're running Centos, as in your profile, I suggest you to use a qmail package for your distro, either from qmailrocks (currently down), or qmailtoaster, to get rid of all this frustation

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running daemontools gokahd Linux - Software 1 12-02-2008 07:11 AM
installing daemontools gokahd Linux - Software 1 11-28-2008 11:02 AM
Apache keeps restarting with DaemonTools humbletech99 Linux - Networking 4 11-14-2005 10:51 AM
Daemontools-0.76 installation - Error on Redhat 9 LukasM Linux - Software 9 05-05-2004 02:03 PM
DaemonTools-0.76 Questions Thinkgeekness Linux - Software 2 05-03-2003 01:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration