Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18843 - ezmlm-idx fails to build with undefined reference to errno
Summary: ezmlm-idx fails to build with undefined reference to errno
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-06 03:37 UTC by Sebastian Klemke
Modified: 2003-04-08 20:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Klemke 2003-04-06 03:37:37 UTC
Please apply following patch. Adding ~ppc to keywords might also not hurt.

diff -urN ezmlm-0.53.orig/error.h ezmlm-0.53/error.h
--- ezmlm-0.53.orig/error.h     2003-04-06 07:59:49.000000000 +0200
+++ ezmlm-0.53/error.h  2003-04-06 08:09:25.000000000 +0200
@@ -1,5 +1,6 @@
 #ifndef ERROR_H
 #define ERROR_H
+#include <errno.h>
 
 extern int errno;
 


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.47-r10 (default-ppc-1.4, gcc-3.2.2, glibc-2.3.2-r0)
=================================================================
System uname: 2.4.20-ben5-int1 ppc 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/home/portage"
USE="dvd libwww mitshm esd mozilla ppc gdbm berkdb slang python crypt encode
imap ipv6 maildir mbox ncurses oggvorbis oss pam pic readline ssl spell tcpd
tetex xml2 zlib perl -cups -gif -gpm -gtk -imlib -arts -avi -java -jpeg -kde
-gnome -motif -mpeg -mikmod -nls -opengl -png -qt -quicktime -sdl -svga
-truetype -X -xv -xmms"
COMPILER="gcc3"
CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -fsigned-char"
CXXFLAGS="-O2 -pipe -fsigned-char"
ACCEPT_KEYWORDS="ppc ~ppc"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="ccache"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-04-08 20:01:41 UTC
thanks for your patch. there were a number ezmlm packages that could use your errno patch, 4 to be exact.