jailkit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Jailkit-dev] [bug #37695] cannot compile jailkit-2.15 on fedora 17 32-b


From: Francesco
Subject: [Jailkit-dev] [bug #37695] cannot compile jailkit-2.15 on fedora 17 32-bit - undefined reference to `pthread_create'
Date: Thu, 08 Nov 2012 21:47:44 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4

URL:
  <http://savannah.nongnu.org/bugs/?37695>

                 Summary: cannot compile jailkit-2.15 on fedora 17 32-bit - 
undefined reference to `pthread_create'
                 Project: Jailkit
            Submitted by: francesco009
            Submitted on: Thu 08 Nov 2012 09:47:43 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

as per object i'm unable to compile jailkit on fedora 17 32 bit
got the famous pthread error which should has been fixxed on version 2.15 

 Thu Nov 08 21:43:44   root  on  router1 
 /usr/local/src/jailkit-2.15  hist:143  jobs:0 $ make clean
rm -f core *~ ini/*~
make[1]: Entering directory `/usr/local/src/jailkit-2.15/src'
rm -f jk_socketd jk_lsh jk_chrootsh jk_chrootlaunch jk_uchroot 
jk_procmailwrapper
rm -f *.o
rm -f *~
make[1]: Leaving directory `/usr/local/src/jailkit-2.15/src'
make[1]: Entering directory `/usr/local/src/jailkit-2.15/py'
rm -f *~
rm -f jk_cp jk_init jk_check jk_addjailuser jk_jailuser jk_list jk_update
jk_lib.pyc
make[1]: Leaving directory `/usr/local/src/jailkit-2.15/py'
make[1]: Entering directory `/usr/local/src/jailkit-2.15/man'
rm -f *.gz
rm -f *~
make[1]: Leaving directory `/usr/local/src/jailkit-2.15/man'

 Thu Nov 08 21:43:46   root  on  router1 
 /usr/local/src/jailkit-2.15  hist:144  jobs:0 $ ./configure
configure: config files will be in /etc/jailkit/
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for library containing strerror... none required
checking for inline... inline
checking for a BSD-compatible install... /bin/install -c
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking wordexp.h usability... yes
checking wordexp.h presence... yes
checking for wordexp.h... yes
checking liberty.h usability... no
checking liberty.h presence... no
checking for liberty.h... no
checking for strings.h... (cached) yes
checking for strnlen... yes
checking for wordexp... yes
checking for clearenv... yes
checking for get_current_dir_name... yes
checking for strndup... yes
checking for mempcpy... yes
checking for stpcpy... yes
checking for pthread support...... use -pthread
checking for recvfrom... yes
checking for send... yes
checking for nanosleep... yes
checking for getopt_long... yes
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking for cap_get_proc... no
checking for cap_get_proc in -lcap... yes
checking for python... /bin/python
checking for up to date python... checking for up to date python... ok
checking for procmail... /bin/procmail
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
config.status: src/config.h is unchanged

 Thu Nov 08 21:43:56   root  on  router1 
 /usr/local/src/jailkit-2.15  hist:145  jobs:0 $ make
make[1]: Entering directory `/usr/local/src/jailkit-2.15/src'
gcc -g -O2 -Wall -pipe -pthread -DINIPREFIX=\"/etc/jailkit\"   -c -o
jk_socketd.o jk_socketd.c
gcc -g -O2 -Wall -pipe -pthread -DINIPREFIX=\"/etc/jailkit\"   -c -o jk_lib.o
jk_lib.c
gcc -g -O2 -Wall -pipe -pthread -DINIPREFIX=\"/etc/jailkit\"   -c -o utils.o
utils.c
gcc -g -O2 -Wall -pipe -pthread -DINIPREFIX=\"/etc/jailkit\"   -c -o
iniparser.o iniparser.c
gcc  -lcap  -o jk_socketd jk_socketd.o jk_lib.o utils.o iniparser.o
jk_socketd.o: In function `main':
/usr/local/src/jailkit-2.15/src/jk_socketd.c:474: undefined reference to
`pthread_create'
collect2: error: ld returned 1 exit status
make[1]: *** [jk_socketd] Error 1
make[1]: Leaving directory `/usr/local/src/jailkit-2.15/src'
make: *** [all] Error 2

 Thu Nov 08 21:43:58   root  on  router1 
 /usr/local/src/jailkit-2.15  hist:146  jobs:0 $ uname -a
Linux localhost.localdomain 3.6.2-4.fc17.i686 #1 SMP Wed Oct 17 03:22:23 UTC
2012 i686 i686 i386 GNU/Linux

 Thu Nov 08 21:44:01   root  on  router1 


 /usr/local/src/jailkit-2.15  hist:142  jobs:0 $ find / -name pthread.h
/usr/include/pthread.h

i've tryed solutions found around like this one : 

make clean
export LDFLAGS="-pthread"
./configure && make

but even with LDFLAGS didn't worked.. :(

thank you very much,
Francesco




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?37695>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]