bugJailkit - Bugs: bug #36321, [PATCH] compilation fail under...

 
 

bug #36321: [PATCH] compilation fail under ubuntu

Submitted by:  None
Submitted on:  Fri 27 Apr 2012 03:09:53 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 02 Aug 2012 08:03:51 PM UTC, comment #1:

a test if -pthread works has been added in jailkit 2.15

Olivier Sessink <oli4>
Project Administrator
Fri 27 Apr 2012 03:09:53 PM UTC, original submission:

$> ./configure
...
$> make
make[1]: Entering directory `/home/gbour/PROJECTS/JailKit/jailkit-2.14.orig/src'
gcc -lpthread -o jk_socketd jk_socketd.o jk_lib.o utils.o iniparser.o
jk_socketd.o: In function `main':
/home/gbour/PROJECTS/JailKit/jailkit-2.14/src/jk_socketd.c:474: undefined reference to `pthread_create'

gcc requires -pthread option to compile with pthreads.
The attached patch adds this option

Guillaume Bour <gbour@uperto.com>

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #25746:  fix_ubuntu_build.patch added by None (323B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by oli4 (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 02 Aug 2012 08:03:51 PM UTColi4Open/ClosedOpen=>Closed
    Fri 27 Apr 2012 03:09:53 PM UTCNoneAttached File-=>Added fix_ubuntu_build.patch, #25746

    Back to the top


    Powered by Savane 3.1-cleanup1