Gentoo Archives: gentoo-dev

From: "Andrew B. Panphiloff" <borisych@×××××××××.ru>
To: gentoo-dev@g.o
Subject: [gentoo-dev] qmail compile problem: undefined reference to 'errno'
Date: Sun, 01 Jun 2003 12:03:28
Message-Id: 40876.194.85.81.130.1054469006.squirrel@mail.dgap.mipt.ru
1 When I try to compile qmail-1.03-r9 I get :
2
3 ./makelib datetime.a datetime.o datetime_un.o
4 ./load auto-str substdio.a error.a str.a
5 substdio.a(substdo.o)(.text+0x5d): In function `substdio_flush':
6 : undefined reference to `errno'
7 substdio.a(substdo.o)(.text+0x158): In function `substdio_bput':
8 : undefined reference to `errno'
9 substdio.a(substdo.o)(.text+0x29e): In function `substdio_put':
10 : undefined reference to `errno'
11 substdio.a(substdo.o)(.text+0x2bb): In function `substdio_put':
12 : undefined reference to `errno'
13 substdio.a(substdo.o)(.text+0x378): In function `substdio_putflush':
14 : undefined reference to `errno'
15 substdio.a(substdo.o)(.text+0x38d): more undefined references to `errno'
16 follow
17 collect2: ld returned 1 exit status
18 make: *** [auto-str] ïÛÉÂËÁ 1
19 make: *** ïÖÉÄÁÎÉÅ ÚÁ×ÅÒÛÅÎÉÑ ÚÁÄÁÎÉÊ...
20 qmail-local.c: In function `main':
21 qmail-local.c:627: warning: return type of `main' is not `int'
22
23 !!! ERROR: net-mail/qmail-1.03-r9 failed.
24 !!! Function src_compile, Line 87, Exitcode 2
25 !!! (no error message)
26
27
28 I have gcc-3.2.3-r1 and glibc-2.3.2-r1.
29
30
31
32 --
33 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] qmail compile problem: undefined reference to 'errno' Georgi Georgiev <chutz@×××.net>