Jump to content

MTerminal, Fatal error: pthread.h file not found


Go to solution Solved by Profq,

15 posts in this topic

Recommended Posts

Posted

Hi, So yesterday I had some problems with terminal but managed to fix it, but now when I'm trying to compile my tweak I'm getting an fatal error:

 

/var/mobile/raftcheat/theos/include/QuartzCore/QuartzCore-Structs.h:10:10: fatal error: pthread.h file not found

#include <pthread.h>

 

I have no idea how to fix this so any tips is highly appreciated :)

Posted (edited)

 pthread.h is missing from your include folder, give me two minutes i'll find all the files for you :)

 

EDIT: 

Download this and goto private/var/theos/ and delete the include folder and replace it with this one. (extract it first)

 

DL: https://www.dropbox.com/s/9eyp0k1khzcghn5/include.zip?dl=0

 

Credits to @Antrax  for the dl

Updated by Cynicaaal
Posted (edited)

 pthread.h is missing from your include folder, give me two minutes i'll find all the files for you :)

 

EDIT: 

Download this and goto private/var/theos/ and delete the include folder and replace it with this one. (extract it first)

 

DL: https://www.dropbox.com/s/9eyp0k1khzcghn5/include.zip?dl=0

 

Credits to @Antrax  for the dl

getting the same error

Updated by Frank Sinatra
Posted (edited)

Do you have an SDK installed? The pthread.h should be in there at ./sdks/iPhoneOSX.Y.sdk/usr/include/pthread.h if I remember correctly.

Updated by Bummibaer
Posted

Do you have an SDK installed? The pthread.h should be in there at ./sdks/iPhoneOSX.Y.sdk/usr/include/pthread.h if I remember correctly.

yup, i have 9.2SDK im getting an error if i use 9.3SDK

Posted

tried that now im getting something with error 134

G-Eazy-Jr:/var/mobile/raftcheat root# make package in
stall
Making all for tweak raftcheat...
make[2]: Nothing to be done for `internal-library-compile'.
Making all in raftcheat...
Making all for bundle raftcheat...
 Copying resource directories into the bundle wrapper...
 Linking bundle raftcheat...
 Stripping raftcheat...
 Signing raftcheat...
Making stage for tweak raftcheat...
Making stage in raftcheat...
Making stage for bundle raftcheat...
make: *** [internal-package] Error 134
G-Eazy-Jr:/var/mobile/raftcheat root# 
Posted

Run

make package messages=yes

and show your output please.

G-Eazy-Jr:/var/mobile/raftcheat root# make package me
ssages=yes
Making all for tweak raftcheat...
make -f Makefile --no-print-directory --no-keep-going \
                internal-library-compile \
                _THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=raftcheat _THEOS_CURRENT_OPERATION=compile \
                THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes
make[2]: Nothing to be done for `internal-library-compile'.
Making all in raftcheat...
make[1]: Entering directory `/private/var/mobile/raftcheat/raftcheat'
Making all for bundle raftcheat...
mkdir -p "obj/raftcheat.bundle/"
mkdir -p "obj/raftcheat.bundle/"
mkdir -p "obj/raftcheat.bundle/"
for d in Resources; do \
                if [ -d "$d" ]; then \
                        rsync -a "$d/" "./obj/raftcheat.bundle/" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*"; \
                else \
                        echo "Warning: ignoring missing bundle resource directory $d."; \
                fi; \
        done
make -f Makefile --no-print-directory --no-keep-going \
                internal-bundle-compile \
                _THEOS_CURRENT_TYPE=bundle THEOS_CURRENT_INSTANCE=raftcheat _THEOS_CURRENT_OPERATION=compile \
                THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes
make[3]: Nothing to be done for `internal-bundle-compile'.
make[1]: Leaving directory `/private/var/mobile/raftcheat/raftcheat'
rm -rf "/private/var/mobile/raftcheat/_"
/var/mobile/raftcheat/theos/bin/fakeroot.sh -p "/private/var/mobile/raftcheat/.theos/fakeroot" -c
mkdir -p "/private/var/mobile/raftcheat/_"
[ -d layout ] && rsync -a "layout/" "/private/var/mobile/raftcheat/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true
Making stage for tweak raftcheat...
mkdir -p "/private/var/mobile/raftcheat/_/Library/MobileSubstrate/DynamicLibraries/"
cp ./obj/raftcheat.dylib "/private/var/mobile/raftcheat/_/Library/MobileSubstrate/DynamicLibraries/"
if [ -f raftcheat.plist ]; then cp raftcheat.plist "/private/var/mobile/raftcheat/_/Library/MobileSubstrate/DynamicLibraries/"; fi
Making stage in raftcheat...
make[1]: Entering directory `/private/var/mobile/raftcheat/raftcheat'
[ -d layout ] && rsync -a "layout/" "/private/var/mobile/raftcheat/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true
Making stage for bundle raftcheat...
mkdir -p "/private/var/mobile/raftcheat/_/Library/PreferenceBundles/raftcheat.bundle"
rsync -a "./obj/raftcheat.bundle/" "/private/var/mobile/raftcheat/_/Library/PreferenceBundles/raftcheat.bundle"
mkdir -p /private/var/mobile/raftcheat/_/Library/PreferenceLoader/Preferences
cp entry.plist /private/var/mobile/raftcheat/_/Library/PreferenceLoader/Preferences/raftcheat.plist
make[1]: Leaving directory `/private/var/mobile/raftcheat/raftcheat'
mkdir -p "/private/var/mobile/raftcheat/_/DEBIAN"
sed -e '/^[Vv]ersion:/d' "/private/var/mobile/raftcheat/control" > "/private/var/mobile/raftcheat/_/DEBIAN/control"
echo "Version: 1.0.0-2" >> "/private/var/mobile/raftcheat/_/DEBIAN/control"
echo "Installed-Size: 328" >> "/private/var/mobile/raftcheat/_/DEBIAN/control"
COPYFILE_DISABLE=1 /var/mobile/raftcheat/theos/bin/fakeroot.sh -p "/private/var/mobile/raftcheat/.theos/fakeroot" -r dpkg-deb -b "/private/var/mobile/raftcheat/_" "./frank_1.0.0-2_iphoneos-arm.deb" 
dyld: could not load inserted library '/var/mobile/raftcheat/theos/bin/libfauxsu.dylib' because no suitable image found.  Did find:
        /var/mobile/raftcheat/theos/bin/libfauxsu.dylib: required code signature missing for '/var/mobile/raftcheat/theos/bin/libfauxsu.dylib'


/var/mobile/raftcheat/theos/bin/fauxsu: line 43: 25071 Abort trap: 6           "$@"
make: *** [internal-package] Error 134

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines