Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90189 - emerge sys-cluster/util-vserver-0.30.205-r1 => src/keep-ctx-alive.o(.text+0x1fa): In function `main': : undefined reference to `socket'
Summary: emerge sys-cluster/util-vserver-0.30.205-r1 => src/keep-ctx-alive.o(.text+0x1...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Cluster Team
URL: https://saturn.doublehp.org/tmp/vs.txt
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-23 18:13 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2010-09-10 19:00 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 DEMAINE Benoît-Pierre, aka DoubleHP 2005-04-23 18:13:59 UTC
# emerge -vp util-vserver

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-cluster/util-vserver-0.30.205-r1  -glibc 0 kB

Total size of downloads: 0 kB

when I emerge the package without -p, then I get 

diet i686-pc-linux-gnu-gcc -O2 -march=athlon-mp -fomit-frame-pointer -pipe
-fno-stack-protector -std=c99 -Wall -pedantic -W -o src/keep-ctx-alive
src/keep-ctx-alive.o  lib/libvserver.a
src/keep-ctx-alive.o(.text+0x1fa): In function `main':
: undefined reference to `socket'
src/keep-ctx-alive.o(.text+0x22b): In function `main':
: undefined reference to `connect'
[..]

collect2: ld returned 1 exit status
make[2]: *** [src/keep-ctx-alive] Error 1
make[2]: *** Waiting for unfinished jobs....
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2005-04-26 09:05:20 UTC
my dietlibc was broken; after re emerging dietlibc, vserver compiled fine.