| View previous topic :: View next topic |
| Author |
Message |
admin Site Admin
Joined: 21 Jun 2005 Posts: 209
|
Posted: Wed Jul 19, 2006 12:38 am Post subject: Problem with qmailanalog on Fedora |
|
|
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 |
|
 |
admin Site Admin
Joined: 21 Jun 2005 Posts: 209
|
|
| Back to top |
|
 |
admin Site Admin
Joined: 21 Jun 2005 Posts: 209
|
Posted: Wed Jul 19, 2006 12:39 am Post subject: |
|
|
> 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 |
|
 |
admin Site Admin
Joined: 21 Jun 2005 Posts: 209
|
|
| Back to top |
|
 |
|