Qmail Support Forum Forum Index Qmail Support Forum
Qmail Email Server Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with qmailanalog on Fedora

 
Post new topic   Reply to topic    Qmail Support Forum Forum Index -> Qmail Support
View previous topic :: View next topic  
Author Message
admin
Site Admin


Joined: 21 Jun 2005
Posts: 209

PostPosted: Wed Jul 19, 2006 12:38 am    Post subject: Problem with qmailanalog on Fedora Reply with quote

Hello,
Where can I find a qmailanalog rpm for Fedora ?
I've tried to install it but the compilation does'nt work (her is the error
:


./makelib fs.a fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o \
fmt_ulong.o fmt_ushort.o scan_uint.o scan_ulong.o \
scan_ushort.o
./compile case_lowers.c
./makelib case.a case_lowers.o
./load matchup strerr.a getln.a substdio.a stralloc.a \
alloc.a error.a str.a fs.a case.a
strerr.a(strerr_sys.o)(.text+0x8): dans la fonction « strerr_sysinit »:
: undefined reference to `errno'
substdio.a(substdi.o)(.text+0x2a): dans la fonction « oneread »:
: undefined reference to `errno'
substdio.a(substdo.o)(.text+0x43): dans la fonction « allwrite »:
: undefined reference to `errno'
alloc.a(alloc.o)(.text+0x48): dans la fonction « alloc »:
: undefined reference to `errno'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [matchup] Erreur 1


)

Thanks
Back to top
View user's profile Send private message Send e-mail
admin
Site Admin


Joined: 21 Jun 2005
Posts: 209

PostPosted: Wed Jul 19, 2006 12:39 am    Post subject: Reply with quote

Just build it from source yourself, it's quite simple.

http://cr.yp.to/qmailanalog.html

Regards,
Richard
Back to top
View user's profile Send private message Send e-mail
admin
Site Admin


Joined: 21 Jun 2005
Posts: 209

PostPosted: Wed Jul 19, 2006 12:39 am    Post subject: Reply with quote

> alloc.a(alloc.o)(.text+0x48): dans la fonction « alloc »:
> : undefined reference to `errno'
> collect2: ld a retourné 1 code d'état d'exécution
> make: *** [matchup] Erreur 1
*sigh*

Possible solutions:

a) use your favorite search engine and search for "qmail" and "errno"
(You should do this _before_ posting to this list)

or

b) Apply a patch like:
http://www.qmail.org/moni.csi.hu/pub/glibc-2.3.1/qmail-1.03.errno.patch

or

c) edit error.h and replace "extern int errno;" with "#include <errno.h>;"

This problem has been posted many times (can't count them) so you should always use
your favorite search engine (google/yahoo/what_ever).

(and searching qmail.org for errno reveals:
"
* Erwin Hoffmann suggests a one-line fix to the errno compilation problem.
It works for most DJB software:
cat error.h | sed -es/^extern\ int\ errno\;/#include\ \<errno.h\>/ >error.h
Or, djb suggests that you edit conf-cc to read:
cc -O2 -include /usr/include/errno.h
")

HTH,

Andreas.

P.S.: Note Charles disclaimer and read:
http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
Back to top
View user's profile Send private message Send e-mail
admin
Site Admin


Joined: 21 Jun 2005
Posts: 209

PostPosted: Wed Jul 19, 2006 10:15 am    Post subject: Reply with quote

Oops! Maybe I should pay more attention. Smile

That error is easy to fix: http://cr.yp.to/docs/unixport.html#errno
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Qmail Support Forum Forum Index -> Qmail Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


For Support - http://forums.BizHat.com

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!