Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-26-2011, 06:15 PM   #1
LQ Newbie
Registered: Apr 2011
Posts: 1

Rep: Reputation: 0
Question File pk11func.h not found while compiling eCryptfs on Slackware 13.1

Hello forum, i've been using Linux for a while but i recently move to Slackware, and i've been facing a lot of dificulties while working with it.

I'm trying to install eCryptfs in my new Slackware system. ./configure runs pretty well, without errors, but when a try to run `make` i got this:

main.c:25:22: error: pk11func.h: No such file or directory
main.c: In function 'do_hash':
main.c:77: error: 'SECStatus' undeclared (first use in this function)
main.c:77: error: (Each undeclared identifier is reported only once
main.c:77: error: for each function it appears in.)
main.c:77: error: expected ';' before 'err'
main.c:80: error: 'err' undeclared (first use in this function)
main.c:82: error: 'SECFailure' undeclared (first use in this function)
main.c: In function 'generate_passphrase_sig':
main.c:217: error: 'SEC_OID_SHA512' undeclared (first use in this function)
make[3]: *** [libecryptfs_la-main.lo] Error 1
make[3]: Leaving directory `/root/Tools/ecryptfs-utils-87/src/libecryptfs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/Tools/ecryptfs-utils-87/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Tools/ecryptfs-utils-87'
make: *** [all] Error 2

But i do have 3 copies of pk11func.h under:


What's going wrong?, why the compiler can't find the header if it's installed?

I don't have too much experience compiling package, and it's the first time i try to it in Slackware.
Old 04-26-2011, 06:23 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, welcome to LQ!

Chances are that the person who wrote eCryptfs has another idea
of where the include should live (lives on his/her development box).

Check main, and see what the include line for pk11func.h looks
like. Modify according to your needs ;}

Tink (may the source be with you!)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't mount ecryptfs as user mike11 Linux - Newbie 2 12-20-2010 12:59 AM
eCryptfs idlehands Linux - Security 3 10-04-2010 04:22 AM
[ECRYPTFS] ecryptfs_init_miscdev: Error whilst attempting to open [/dev/ecryptfs] nitinarora Linux - Kernel 0 03-22-2010 06:36 AM
Error while compiling ecryptfs utils : undefined reference to `PK11_ImportSymKey' nitinarora Linux - Kernel 3 11-24-2009 05:21 AM
ecryptfs installation problem nkd Linux - Security 3 10-02-2007 04:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration