[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Jailkit-dev] [bug #35249] Jailkit-2.14 make or install fails on Ubuntu
From: |
anonymous |
Subject: |
[Jailkit-dev] [bug #35249] Jailkit-2.14 make or install fails on Ubuntu 11.10 - fixed |
Date: |
Thu, 05 Jan 2012 20:38:42 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 |
URL:
<http://savannah.nongnu.org/bugs/?35249>
Summary: Jailkit-2.14 make or install fails on Ubuntu 11.10 -
fixed
Project: Jailkit
Submitted by: None
Submitted on: Do 05 Jan 2012 20:38:42 UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
"./configure" without any problems.
Following error while "make":
[...]
checking for python... /usr/bin/python
checking for up to date python... checking for up to date python... ok
checking for procmail... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating py/Makefile
config.status: creating man/Makefile
config.status: creating src/config.h
sh-4.2#
sh-4.2# make
make[1]: Betrete Verzeichnis '/tmp/jailkit-2.14/src'
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c -o jk_socketd.o
jk_socketd.c
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c -o jk_lib.o jk_lib.c
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c -o utils.o utils.c
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c -o iniparser.o
iniparser.c
gcc -lpthread -o jk_socketd jk_socketd.o jk_lib.o utils.o iniparser.o
jk_socketd.o: In function `main':
/tmp/jailkit-2.14/src/jk_socketd.c:474: undefined reference to
`pthread_create'
collect2: ld gab 1 als Ende-Status zurück
make[1]: *** [jk_socketd] Fehler 1
make[1]: Verlasse Verzeichnis '/tmp/jailkit-2.14/src'
make: *** [all] Fehler 2
sh-4.2#
Fix:
Edit line 41 and 42 of this file: jailkit-2.14/src/Makefile
from:
[...]
LIBS = -lpthread
LDLIBS = -lpthread
[...]
to:
[...]
LIBS = -pthread
LDLIBS = -pthread
[...]
... save and the sun will rise during next "make".
This worked for me.
tata
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?35249>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Jailkit-dev] [bug #35249] Jailkit-2.14 make or install fails on Ubuntu 11.10 - fixed,
anonymous <=