Gentoo Archives: gentoo-dev

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] qmail compile problem: undefined reference to 'errno'
Date: Sun, 01 Jun 2003 14:13:52
Message-Id: 20030601141349.GB520%chutz@gg3.net
In Reply to: [gentoo-dev] qmail compile problem: undefined reference to 'errno' by "Andrew B. Panphiloff"
1 On 01/06/2003 at 16:03:26(+0400), Andrew B. Panphiloff used 1.1Kbytes just to say:
2 > When I try to compile qmail-1.03-r9 I get :
3 >
4 > ./makelib datetime.a datetime.o datetime_un.o
5 > ./load auto-str substdio.a error.a str.a
6 > substdio.a(substdo.o)(.text+0x5d): In function `substdio_flush':
7 > : undefined reference to `errno'
8 > substdio.a(substdo.o)(.text+0x158): In function `substdio_bput':
9 > : undefined reference to `errno'
10 > substdio.a(substdo.o)(.text+0x29e): In function `substdio_put':
11 > : undefined reference to `errno'
12 > substdio.a(substdo.o)(.text+0x2bb): In function `substdio_put':
13 > : undefined reference to `errno'
14 > substdio.a(substdo.o)(.text+0x378): In function `substdio_putflush':
15 > : undefined reference to `errno'
16 > substdio.a(substdo.o)(.text+0x38d): more undefined references to `errno'
17 > follow
18 > collect2: ld returned 1 exit status
19 > make: *** [auto-str] Γ街三Γ街至Γ街孜Γ街子Γ街施Γ街姿 1
20 > make: *** Γ街三Γ街指Γ街孜Γ街師Γ街姿Γ街止Γ街孜Γ街志 Γ街支Γ街姿Γ街屍Γ街志Γ街獅Γ街至Γ街志Γ街止Γ街孜Γ街資 Γ街支Γ街姿Γ街師Γ街姿Γ街止Γ街孜Γ街斯...
21 > qmail-local.c: In function `main':
22 > qmail-local.c:627: warning: return type of `main' is not `int'
23 >
24 > !!! ERROR: net-mail/qmail-1.03-r9 failed.
25 > !!! Function src_compile, Line 87, Exitcode 2
26 > !!! (no error message)
27 >
28 >
29 > I have gcc-3.2.3-r1 and glibc-2.3.2-r1.
30
31 Wow... i thought the errno patch made its way in the qmail ebuild a long time
32 ago.
33
34 --
35 /^^^^^^^^^^^^^^^^^^^^^^^^^^^\/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
36 / Georgi Georgiev (-< / "You can't make a program \
37 \ chutz@×××××××.net /\ .o)\ without broken egos." /
38 / +81(90)6266-1163 V_/_ |(/)/ \
39 \___________________________/\__________________________________/
40
41 --
42 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] qmail compile problem: undefined reference to 'errno' Frank Zschockelt <gentoo@××××××××××.de>