Jump to content

Different solutions


Andy Vandijck
 Share

925 posts in this topic

Recommended Posts

...hey Andy...running 10.10.1 here's system report...

 

AppleDecrypt:

  Version:    3.1.0
  Last Modified:    2014-11-17, 4:53 PM
  Bundle ID:    com.AnV.Software.apple.decrypt
  Loaded:    Yes
  Get Info String:    AppleDecrypt 3.1.0, Copyright Apple Computer, Inc. 2007, Copyright AnV Software 2012-2014
  Obtained from:    Unknown
  Kind:    Intel
  Architectures:    x86_64
  64-Bit (Intel):    Yes
  Location:    /System/Library/Extensions/AppleDecrypt.kext
  Kext Version:    3.1.0
  Load Address:    18446743521836500000
  Loadable:    No
  Signature Validation Errors:    Kext signature validation error code -67050
  Dependencies:    Satisfied
  Signed by:    Unknown

 

 

..19 second boot-time(from boot to login screen)

  • Like 1
Link to comment
Share on other sites

It would need a kext performing the changes attaching before AppleDisplay / AppleBacklightDisplay to which those classes attach.

You can then pass into those classes the edited parts and back because it tends to be the intermediate.

As far as I know those 2 classes are defined in IOGraphicsFamily.

You can even do this for Yosemite but in order to build for Yosemite you need my lzvn source as included with the kernel cache tool I posted.

As I am not a coder, no way I can do it.

 

But you think it is doable?

 

That will solve issues for those stuck with eDP Intel laptops / hybrid tablets with lower specs Intel graphics, such as my HM77 Acer W700.

Link to comment
Share on other sites

Andy, thank you for providing the rebuilt kext_tools!

 

Guys, I apologize for a naive (and probably ignorant) question: I seem unable to recompile kext_tools! I'm sure it's something silly, and probably something small. I'm not a novice in programming (and systems programming), but I'm an absolute beginner in Xcode, Apple frameworks (such as compiling and linking with them), etc.

 

I downloaded kext_tools-326.90.2-AnV_R2.zip file, unzipped it, and tried to run xcodebuild in there, not changing anything. Below is the output I'm getting. I tried the same with the kext_tools version that Apple posted on its open source site, with the same result.

 

I'd appreciate any help or advice you can offer. I need to recompile kext_tools because I'm not happy with some of the hardcoded settings in security.c. In case it matters - I'm trying this on a "native" OSX 10.9.5 Mavericks using Xcode 6.1.

 

Thanks!

 

$ cd ~/src/kext_tools-326.90.2-AnV_R2/

$ xcodebuild
2014-11-20 21:02:12.182 xcodebuild[89908:1007] warning:  The file reference for "/System/Library/Frameworks/ApplicationServices.framework" is a member of multiple groups ("Boot≠Root Support" and "Boot≠Root Support"); this indicates a malformed project.  Only the membership in one of the groups will be preserved (but membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another reference to the same path.
2014-11-20 21:02:12.182 xcodebuild[89908:1007] warning:  The file reference for "/System/Library/Frameworks/DiskArbitration.framework" is a member of multiple groups ("Boot≠Root Support" and "Boot≠Root Support"); this indicates a malformed project.  Only the membership in one of the groups will be preserved (but membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another reference to the same path.
2014-11-20 21:02:12.283 xcodebuild[89908:1007] [MT] DVTAssertions: Warning in /SourceCache/IDEFrameworks/IDEFrameworks-6604/IDEFoundation/SourceControl/Model/IDESourceControlManager.m:423
Details:  Error Domain=com.apple.dt.IDESourceControlErrorDomain Code=-1 "Missing extension: public.vcs.subversion" UserInfo=0x7fc305ecaae0 {NSLocalizedDescription=Missing extension: public.vcs.subversion}
Object:   <IDESourceControlManager: 0x7fc305eb1350>
Method:   -loadRepositories
Thread:   <NSThread: 0x7fc303413f20>{name = (null), num = 1}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
=== BUILD TARGET libBootRoot OF PROJECT kext_tools WITH THE DEFAULT CONFIGURATION (Deployment) ===
 
Check dependencies
 
Write auxiliary files
/bin/mkdir -p /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build
write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot.hmap
/bin/mkdir -p /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64
write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/BootRoot.LinkFileList
write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-all-non-framework-target-headers.hmap
write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-all-target-headers.hmap
write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-own-target-headers.hmap
write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-generated-files.hmap
/bin/mkdir -p /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/i386
write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/i386/BootRoot.LinkFileList
write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-project-headers.hmap
 
CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/bootcaches.o bootcaches.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/uri/src/kext_tools-326.90.2-AnV_R2
    export LANG=en_US.US-ASCII
    /usr/bin/clang -x c -arch x86_64 -fmessage-length=84 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -Wno-trigraphs -fpascal-strings -Os -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -Wno-sign-conversion -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-generated-files.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-own-target-headers.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-all-target-headers.hmap -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-project-headers.hmap -iquote/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources/x86_64 -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources -Wall -Wextra -Wno-unused -F/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/PrivateFrameworks -DPRODUCT_NAME=\"BootRoot\" -MMD -MT dependencies -MF /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/bootcaches.d --serialize-diagnostics /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/bootcaches.dia -c /Users/uri/src/kext_tools-326.90.2-AnV_R2/bootcaches.c -o /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/bootcaches.o
/Users/uri/src/kext_tools-326.90.2-AnV_R2/bootcaches.c:32:10: fatal error:
      'bless.h' file not found
#include "bless.h"
         ^
1 error generated.
 
CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/safecalls.o safecalls.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/uri/src/kext_tools-326.90.2-AnV_R2
    export LANG=en_US.US-ASCII
    /usr/bin/clang -x c -arch x86_64 -fmessage-length=84 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -Wno-trigraphs -fpascal-strings -Os -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -Wno-sign-conversion -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-generated-files.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-own-target-headers.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-all-target-headers.hmap -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-project-headers.hmap -iquote/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources/x86_64 -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources -Wall -Wextra -Wno-unused -F/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/PrivateFrameworks -DPRODUCT_NAME=\"BootRoot\" -MMD -MT dependencies -MF /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/safecalls.d --serialize-diagnostics /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/safecalls.dia -c /Users/uri/src/kext_tools-326.90.2-AnV_R2/safecalls.c -o /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/safecalls.o
In file included from /Users/uri/src/kext_tools-326.90.2-AnV_R2/safecalls.c:41:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/dirent.h:132:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/stdlib.h:238:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/machine/types.h:35:
/usr/include/i386/types.h:113:10: error: 'sys/_types/___offsetof.h' file not found
      with <angled> include; use "quotes" instead
#include <sys/_types/___offsetof.h>
         ^
/Users/uri/src/kext_tools-326.90.2-AnV_R2/safecalls.c:56:10: fatal error:
      'IOKit/kext/kextmanager_types.h' file not found
#include <IOKit/kext/kextmanager_types.h>
         ^
2 errors generated.
 
CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/kext_tools_util.o kext_tools_util.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/uri/src/kext_tools-326.90.2-AnV_R2
    export LANG=en_US.US-ASCII
    /usr/bin/clang -x c -arch x86_64 -fmessage-length=84 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -Wno-trigraphs -fpascal-strings -Os -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -Wno-sign-conversion -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-generated-files.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-own-target-headers.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-all-target-headers.hmap -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-project-headers.hmap -iquote/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources/x86_64 -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources -Wall -Wextra -Wno-unused -F/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/PrivateFrameworks -DPRODUCT_NAME=\"BootRoot\" -MMD -MT dependencies -MF /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/kext_tools_util.d --serialize-diagnostics /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/kext_tools_util.dia -c /Users/uri/src/kext_tools-326.90.2-AnV_R2/kext_tools_util.c -o /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/kext_tools_util.o
/Users/uri/src/kext_tools-326.90.2-AnV_R2/kext_tools_util.c:26:14: fatal error:
      'bless.h' file not found
    #include "bless.h"
             ^
1 error generated.
 
CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/fork_program.o fork_program.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/uri/src/kext_tools-326.90.2-AnV_R2
    export LANG=en_US.US-ASCII
    /usr/bin/clang -x c -arch x86_64 -fmessage-length=84 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -Wno-trigraphs -fpascal-strings -Os -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -Wno-sign-conversion -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-generated-files.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-own-target-headers.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-all-target-headers.hmap -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-project-headers.hmap -iquote/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources/x86_64 -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources -Wall -Wextra -Wno-unused -F/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/PrivateFrameworks -DPRODUCT_NAME=\"BootRoot\" -MMD -MT dependencies -MF /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/fork_program.d --serialize-diagnostics /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/fork_program.dia -c /Users/uri/src/kext_tools-326.90.2-AnV_R2/fork_program.c -o /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/fork_program.o
In file included from /Users/uri/src/kext_tools-326.90.2-AnV_R2/fork_program.c:10:
In file included from /Users/uri/src/kext_tools-326.90.2-AnV_R2/fork_program.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/types.h:78:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/machine/types.h:35:
/usr/include/i386/types.h:113:10: error: 'sys/_types/___offsetof.h' file not found
      with <angled> include; use "quotes" instead
#include <sys/_types/___offsetof.h>
         ^
In file included from /Users/uri/src/kext_tools-326.90.2-AnV_R2/fork_program.c:11:
/Users/uri/src/kext_tools-326.90.2-AnV_R2/kext_tools_util.h:13:10: fatal error:
      'IOKit/kext/OSKext.h' file not found
#include <IOKit/kext/OSKext.h>
         ^
2 errors generated.
 
** BUILD FAILED **
 
 
The following build commands failed:
CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/bootcaches.o bootcaches.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/safecalls.o safecalls.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/kext_tools_util.o kext_tools_util.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/fork_program.o fork_program.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
(4 failures)
Link to comment
Share on other sites

Thanks for this Andy.

 
I just checked what I was running here on my iMac running 10.10.1
$ openssl version
OpenSSL 1.0.1c 10 May 2012
WTF?
$ which openssl
/opt/local/bin/openssl
hmmm…
$ echo $PATH
/usr/local/git/bin:/opt/local/bin:/opt/local/sbin:/usr/local/mysql/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
looking in ~/.bash_profile I see I forgot I had installed MacPorts ages ago.
# MacPorts Installer addition on 2012-11-14_at_16:05:36: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
After fixing this. I now see
which openssl
/usr/bin/openssl
And finally
$ openssl version
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
OpenSSL 1.0.1j 15 Oct 2014
Should I have /usr/local/ssl/openssl.cnf? I have not logged out or rebooted yet so maybe I get this after?
  • Like 1
Link to comment
Share on other sites

Is the topic title meant to be treat and not threat? :D

No threat my friend, but I have their sources and did what they could not do ;)

Link to comment
Share on other sites

 

Thanks for this Andy.

 
I just checked what I was running here on my iMac running 10.10.1
$ openssl version
OpenSSL 1.0.1c 10 May 2012
WTF?
$ which openssl
/opt/local/bin/openssl
hmmm…
$ echo $PATH
/usr/local/git/bin:/opt/local/bin:/opt/local/sbin:/usr/local/mysql/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
looking in ~/.bash_profile I see I forgot I had installed MacPorts ages ago.
# MacPorts Installer addition on 2012-11-14_at_16:05:36: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
After fixing this. I now see
which openssl
/usr/bin/openssl
And finally
$ openssl version
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
OpenSSL 1.0.1j 15 Oct 2014
Should I have /usr/local/ssl/openssl.cnf? I have not logged out or rebooted yet so maybe I get this after?

 

It's fine and better than it was ;)

  • Like 1
Link to comment
Share on other sites

You sure it's alright to share the source codes here, dude? :P

It's only their  games, improved no less, could have posted way more....

  • Like 1
Link to comment
Share on other sites

I don't know why you all have Problems with internal eDP displays... i have an UX301LA Laptop with an Sharp LQ133T1JW14 Screen its an IGZO Display connected through 4Lane Internal eDP Connection, and its working vanilla perfect... newer had any problem with it on OS X...

 

Here are the Specs of the Display:

http://www.panelook.com/LQ133T1JW14_SHARP_13.3_LCM_overview_21692.html

http://www.asus.com/de/Notebooks_Ultrabooks/ASUS_ZENBOOK_UX301LA/overview/

 

And my external DisplayPort Monitor, LG 29eb93, working perfect too...

 

So where are your problems with eDP displays, i don't understand... as far i know it doesn't matter if you have an Internal LVDS or internal eDP Display...

Cheers :-)

 

PS: My Laptop doesn't have any LVDS / eDP converter build in, i know that, because i can set profiles in my Unlocked Bios... If i change BootDisplay from eDP to LVDS inside bios, my screen doesn't work... so what i mean is, my screen is definitive eDP connected, without any converters...

 

Cheers :-)

Link to comment
Share on other sites

Hi Andy

 
Thought I try this on my hack running 10.10.1.
 
Before:

$ openssl version
OpenSSL 0.9.8za 5 Jun 2014
But after:

$ openssl version
dyld: Library not loaded: /usr/lib/libgmp.10.dylib
  Referenced from: /usr/lib/libcrypto.1.0.1.dylib
  Reason: image not found
Trace/BPT trap: 5
Install log:

Nov 21 18:13:37 Macintosh.local Installer[525]: @(#)PROGRAM:Install  PROJECT:Install-920</div>
<div>Nov 21 18:13:37 Macintosh.local Installer[525]: @(#)PROGRAM:Installer  PROJECT:Installer-815</div>
<div>Nov 21 18:13:37 Macintosh.local Installer[525]: Hardware: iMac12,2 @ 3.41 GHz (x 8), 4096 MB RAM</div>
<div>Nov 21 18:13:37 Macintosh.local Installer[525]: Running OS Build: Mac OS X 10.10.1 (14B25)</div>
<div>Nov 21 18:13:37 Macintosh.local Installer[525]: OpenSSL 1.0.1  Installation Log</div>
<div>Nov 21 18:13:37 Macintosh.local Installer[525]: Opened from: /Users/nick/Desktop/openssl_1.0.1_apple.pkg</div>
<div>Nov 21 18:13:37 Macintosh.local Installer[525]: Package Authoring Warning: The installer script defines but doesn't use (and can't install) package id com.apple.pkg.openssl.1.0.1 version 1.0.1.</div>
<div>Nov 21 18:13:44 Macintosh.local Installer[525]: InstallerStatusNotifications plugin loaded</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: ================================================================================</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: User picked Standard Install</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: Choices selected for installation:</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: <span class="Apple-tab-span" style="white-space:pre"> </span>Install: "OpenSSL 1.0.1"</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: <span class="Apple-tab-span" style="white-space:pre"> </span>Install: "OpenSSL 1.0.1"</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: ================================================================================</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: Configuring volume "MainSystem"</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: Free space on "MainSystem": 12.81 GB (12811436032 bytes).</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: Create temporary directory "/var/folders/yg/fs2r6rgj5t77v8wz22p8cc_r0000gn/T//Install.525AnMmv5"</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: IFPKInstallElement (1 packages)</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: PackageKit: Enqueuing install with framework-specified quality of service (utility)</div>
<div>Nov 21 18:14:30 Macintosh.local installd[583]: PackageKit: ----- Begin install -----</div>
<div>Nov 21 18:14:55 Macintosh.local installd[583]: Installed "OpenSSL 1.0.1" ()</div>
<div>Nov 21 18:14:56 Macintosh.local installd[583]: PackageKit: ----- End install -----</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: Running install actions</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: Removing temporary directory "/var/folders/yg/fs2r6rgj5t77v8wz22p8cc_r0000gn/T//Install.525AnMmv5"</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: Finalize disk "MainSystem"</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: Notifying system of updated components</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: </div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: **** Summary Information ****</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]:   Operation      Elapsed time</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: -----------------------------</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]:        disk      0.05 seconds</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]:      script      0.01 seconds</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]:        zero      0.04 seconds</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]:     install      26.08 seconds</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]:     -total-      26.17 seconds</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: </div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: IFDInstallController A34A0610 state = 5</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: Displaying 'Install Succeeded' UI.</div>
<div>
 
What went wrong? Could it be this line?
Package Authoring Warning: The installer script defines but doesn't use (and can't install) package id com.apple.pkg.openssl.1.0.1 version 1.0.1.</div>
 
 
EDIT: 
 
I tried copying libgmp.10.dylib from /opt/local/lib to /usr/lib/
But got
$ openssl version
dyld: Library not loaded: /usr/lib/libgmp.10.dylib
  Referenced from: /usr/lib/libcrypto.1.0.1.dylib
  Reason: Incompatible library version: libcrypto.1.0.1.dylib requires version 13.0.0 or later, but libgmp.10.dylib provides version 11.0.0
Trace/BPT trap: 5
I ended up using homebrew to install latest openssl and I then manually reversed what the installer did and reset the symlinks and copied /usr/local/opt/openssl/bin/openssl to /usr/bin. All good now.
$ openssl version
WARNING: can't open config file: /usr/local/etc/openssl/openssl.cnf
OpenSSL 1.0.1j 15 Oct 2014
 
Link to comment
Share on other sites

I don't know why you all have Problems with internal eDP displays... i have an UX301LA Laptop with an Sharp LQ133T1JW14 Screen its an IGZO Display connected through 4Lane Internal eDP Connection, and its working vanilla perfect... newer had any problem with it on OS X...

 

Here are the Specs of the Display:

http://www.panelook.com/LQ133T1JW14_SHARP_13.3_LCM_overview_21692.html

http://www.asus.com/de/Notebooks_Ultrabooks/ASUS_ZENBOOK_UX301LA/overview/

 

And my external DisplayPort Monitor, LG 29eb93, working perfect too...

 

So where are your problems with eDP displays, i don't understand... as far i know it doesn't matter if you have an Internal LVDS or internal eDP Display...

Cheers :-)

 

PS: My Laptop doesn't have any LVDS / eDP converter build in, i know that, because i can set profiles in my Unlocked Bios... If i change BootDisplay from eDP to LVDS inside bios, my screen doesn't work... so what i mean is, my screen is definitive eDP connected, without any converters...

 

Cheers :-)

 

My Acer W700 HM77 Hybrid Tablet has an Intel HD3000 graphics card with Intel i3 sandybridge processor and eDP LCD, I have never been able to get a display on its LCD screen, and had to resort to use an HDMI external monitor.

 

The discussion on this is here:

http://www.insanelymac.com/forum/topic/300255-intel-hd-3000-no-graphics/page-4

 

If you have a method to get an internal eDP LCD screen work with OS X on an Intel HD3000 graphics chipset, I am eager to test it ;)

Link to comment
Share on other sites

Okay, I've looked into my unlocked bios under Chipset --> graphics, and found out there are indeed internal LFP (local flat panel) drivers... I can set to no-lvds, int-lvds, eDP-port A, eDP-port D, sdvo... And some others... Seems like there are indeed some converter or something...

Default is eDP-port A...

But if I set to int-lvds it's working too...

If I set to sdvo, I get a cristal sharp image, like on a resolution of 8k, I cant see any pixels at all anymore, but my eyes start to hurt... I can't say why... Maybe frame rates are different, dunno...

 

If you have an aptio bios, I can update vbios and unlock the Chipset section, or tell you if you have this option too...

 

For me it seems like there are a build in converter, or bios / vbios convert the signals... And I found out that this options are available since hm67 Chipset...

 

Cheers:-)

PS: and i see now, that if i change the mode, my EDID changes too... its always different... so i have 5 different EDIDs for my display, based on the mode i select...

 

Maybe Andy can tell what the difference is in the EDIDs...

If anyone needs them, i can post them, just don't want to boot now 6x and dump edid... if no one needs them...

 

Cheers :-)

Link to comment
Share on other sites

 

Hi Andy

 
Thought I try this on my hack running 10.10.1.
 
Before:

$ openssl version
OpenSSL 0.9.8za 5 Jun 2014
But after:

$ openssl version
dyld: Library not loaded: /usr/lib/libgmp.10.dylib
  Referenced from: /usr/lib/libcrypto.1.0.1.dylib
  Reason: image not found
Trace/BPT trap: 5
Install log:

Nov 21 18:13:37 Macintosh.local Installer[525]: @(#)PROGRAM:Install  PROJECT:Install-920</div>
<div>Nov 21 18:13:37 Macintosh.local Installer[525]: @(#)PROGRAM:Installer  PROJECT:Installer-815</div>
<div>Nov 21 18:13:37 Macintosh.local Installer[525]: Hardware: iMac12,2 @ 3.41 GHz (x 8), 4096 MB RAM</div>
<div>Nov 21 18:13:37 Macintosh.local Installer[525]: Running OS Build: Mac OS X 10.10.1 (14B25)</div>
<div>Nov 21 18:13:37 Macintosh.local Installer[525]: OpenSSL 1.0.1  Installation Log</div>
<div>Nov 21 18:13:37 Macintosh.local Installer[525]: Opened from: /Users/nick/Desktop/openssl_1.0.1_apple.pkg</div>
<div>Nov 21 18:13:37 Macintosh.local Installer[525]: Package Authoring Warning: The installer script defines but doesn't use (and can't install) package id com.apple.pkg.openssl.1.0.1 version 1.0.1.</div>
<div>Nov 21 18:13:44 Macintosh.local Installer[525]: InstallerStatusNotifications plugin loaded</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: ================================================================================</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: User picked Standard Install</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: Choices selected for installation:</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: <span class="Apple-tab-span" style="white-space:pre"> </span>Install: "OpenSSL 1.0.1"</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: <span class="Apple-tab-span" style="white-space:pre"> </span>Install: "OpenSSL 1.0.1"</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: ================================================================================</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: Configuring volume "MainSystem"</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: Free space on "MainSystem": 12.81 GB (12811436032 bytes).</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: Create temporary directory "/var/folders/yg/fs2r6rgj5t77v8wz22p8cc_r0000gn/T//Install.525AnMmv5"</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: IFPKInstallElement (1 packages)</div>
<div>Nov 21 18:14:30 Macintosh.local Installer[525]: PackageKit: Enqueuing install with framework-specified quality of service (utility)</div>
<div>Nov 21 18:14:30 Macintosh.local installd[583]: PackageKit: ----- Begin install -----</div>
<div>Nov 21 18:14:55 Macintosh.local installd[583]: Installed "OpenSSL 1.0.1" ()</div>
<div>Nov 21 18:14:56 Macintosh.local installd[583]: PackageKit: ----- End install -----</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: Running install actions</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: Removing temporary directory "/var/folders/yg/fs2r6rgj5t77v8wz22p8cc_r0000gn/T//Install.525AnMmv5"</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: Finalize disk "MainSystem"</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: Notifying system of updated components</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: </div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: **** Summary Information ****</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]:   Operation      Elapsed time</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: -----------------------------</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]:        disk      0.05 seconds</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]:      script      0.01 seconds</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]:        zero      0.04 seconds</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]:     install      26.08 seconds</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]:     -total-      26.17 seconds</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: </div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: IFDInstallController A34A0610 state = 5</div>
<div>Nov 21 18:14:56 Macintosh.local Installer[525]: Displaying 'Install Succeeded' UI.</div>
<div>
 
What went wrong? Could it be this line?
Package Authoring Warning: The installer script defines but doesn't use (and can't install) package id com.apple.pkg.openssl.1.0.1 version 1.0.1.</div>
 
 
EDIT: 
 
I tried copying libgmp.10.dylib from /opt/local/lib to /usr/lib/
But got
$ openssl version
dyld: Library not loaded: /usr/lib/libgmp.10.dylib
  Referenced from: /usr/lib/libcrypto.1.0.1.dylib
  Reason: Incompatible library version: libcrypto.1.0.1.dylib requires version 13.0.0 or later, but libgmp.10.dylib provides version 11.0.0
Trace/BPT trap: 5
I ended up using homebrew to install latest openssl and I then manually reversed what the installer did and reset the symlinks and copied /usr/local/opt/openssl/bin/openssl to /usr/bin. All good now.
$ openssl version
WARNING: can't open config file: /usr/local/etc/openssl/openssl.cnf
OpenSSL 1.0.1j 15 Oct 2014
 

 

Supplement: gmp-6.0.0.pkg.zip ;)

Link to comment
Share on other sites

 

Andy, thank you for providing the rebuilt kext_tools!

 

Guys, I apologize for a naive (and probably ignorant) question: I seem unable to recompile kext_tools! I'm sure it's something silly, and probably something small. I'm not a novice in programming (and systems programming), but I'm an absolute beginner in Xcode, Apple frameworks (such as compiling and linking with them), etc.

 

I downloaded kext_tools-326.90.2-AnV_R2.zip file, unzipped it, and tried to run xcodebuild in there, not changing anything. Below is the output I'm getting. I tried the same with the kext_tools version that Apple posted on its open source site, with the same result.

 

I'd appreciate any help or advice you can offer. I need to recompile kext_tools because I'm not happy with some of the hardcoded settings in security.c. In case it matters - I'm trying this on a "native" OSX 10.9.5 Mavericks using Xcode 6.1.

 

Thanks!

 

$ cd ~/src/kext_tools-326.90.2-AnV_R2/

$ xcodebuild

2014-11-20 21:02:12.182 xcodebuild[89908:1007] warning: The file reference for "/System/Library/Frameworks/ApplicationServices.framework" is a member of multiple groups ("Boot≠Root Support" and "Boot≠Root Support"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.

2014-11-20 21:02:12.182 xcodebuild[89908:1007] warning: The file reference for "/System/Library/Frameworks/DiskArbitration.framework" is a member of multiple groups ("Boot≠Root Support" and "Boot≠Root Support"); this indicates a malformed project. Only the membership in one of the groups will be preserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the same path.

2014-11-20 21:02:12.283 xcodebuild[89908:1007] [MT] DVTAssertions: Warning in /SourceCache/IDEFrameworks/IDEFrameworks-6604/IDEFoundation/SourceControl/Model/IDESourceControlManager.m:423

Details: Error Domain=com.apple.dt.IDESourceControlErrorDomain Code=-1 "Missing extension: public.vcs.subversion" UserInfo=0x7fc305ecaae0 {NSLocalizedDescription=Missing extension: public.vcs.subversion}

Object: <IDESourceControlManager: 0x7fc305eb1350>

Method: -loadRepositories

Thread: <NSThread: 0x7fc303413f20>{name = (null), num = 1}

Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

=== BUILD TARGET libBootRoot OF PROJECT kext_tools WITH THE DEFAULT CONFIGURATION (Deployment) ===

 

Check dependencies

 

Write auxiliary files

/bin/mkdir -p /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build

write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot.hmap

/bin/mkdir -p /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64

write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/BootRoot.LinkFileList

write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-all-non-framework-target-headers.hmap

write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-all-target-headers.hmap

write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-own-target-headers.hmap

write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-generated-files.hmap

/bin/mkdir -p /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/i386

write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/i386/BootRoot.LinkFileList

write-file /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-project-headers.hmap

 

CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/bootcaches.o bootcaches.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler

cd /Users/uri/src/kext_tools-326.90.2-AnV_R2

export LANG=en_US.US-ASCII

/usr/bin/clang -x c -arch x86_64 -fmessage-length=84 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -Wno-trigraphs -fpascal-strings -Os -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -Wno-sign-conversion -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-generated-files.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-own-target-headers.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-all-target-headers.hmap -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-project-headers.hmap -iquote/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources/x86_64 -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources -Wall -Wextra -Wno-unused -F/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/PrivateFrameworks -DPRODUCT_NAME=\"BootRoot\" -MMD -MT dependencies -MF /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/bootcaches.d --serialize-diagnostics /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/bootcaches.dia -c /Users/uri/src/kext_tools-326.90.2-AnV_R2/bootcaches.c -o /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/bootcaches.o

/Users/uri/src/kext_tools-326.90.2-AnV_R2/bootcaches.c:32:10: fatal error:

'bless.h' file not found

#include "bless.h"

^

1 error generated.

 

CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/safecalls.o safecalls.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler

cd /Users/uri/src/kext_tools-326.90.2-AnV_R2

export LANG=en_US.US-ASCII

/usr/bin/clang -x c -arch x86_64 -fmessage-length=84 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -Wno-trigraphs -fpascal-strings -Os -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -Wno-sign-conversion -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-generated-files.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-own-target-headers.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-all-target-headers.hmap -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-project-headers.hmap -iquote/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources/x86_64 -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources -Wall -Wextra -Wno-unused -F/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/PrivateFrameworks -DPRODUCT_NAME=\"BootRoot\" -MMD -MT dependencies -MF /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/safecalls.d --serialize-diagnostics /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/safecalls.dia -c /Users/uri/src/kext_tools-326.90.2-AnV_R2/safecalls.c -o /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/safecalls.o

In file included from /Users/uri/src/kext_tools-326.90.2-AnV_R2/safecalls.c:41:

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/dirent.h:132:

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/stdlib.h:238:

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/machine/types.h:35:

/usr/include/i386/types.h:113:10: error: 'sys/_types/___offsetof.h' file not found

with <angled> include; use "quotes" instead

#include <sys/_types/___offsetof.h>

^

/Users/uri/src/kext_tools-326.90.2-AnV_R2/safecalls.c:56:10: fatal error:

'IOKit/kext/kextmanager_types.h' file not found

#include <IOKit/kext/kextmanager_types.h>

^

2 errors generated.

 

CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/kext_tools_util.o kext_tools_util.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler

cd /Users/uri/src/kext_tools-326.90.2-AnV_R2

export LANG=en_US.US-ASCII

/usr/bin/clang -x c -arch x86_64 -fmessage-length=84 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -Wno-trigraphs -fpascal-strings -Os -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -Wno-sign-conversion -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-generated-files.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-own-target-headers.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-all-target-headers.hmap -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-project-headers.hmap -iquote/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources/x86_64 -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources -Wall -Wextra -Wno-unused -F/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/PrivateFrameworks -DPRODUCT_NAME=\"BootRoot\" -MMD -MT dependencies -MF /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/kext_tools_util.d --serialize-diagnostics /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/kext_tools_util.dia -c /Users/uri/src/kext_tools-326.90.2-AnV_R2/kext_tools_util.c -o /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/kext_tools_util.o

/Users/uri/src/kext_tools-326.90.2-AnV_R2/kext_tools_util.c:26:14: fatal error:

'bless.h' file not found

#include "bless.h"

^

1 error generated.

 

CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/fork_program.o fork_program.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler

cd /Users/uri/src/kext_tools-326.90.2-AnV_R2

export LANG=en_US.US-ASCII

/usr/bin/clang -x c -arch x86_64 -fmessage-length=84 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -Wno-trigraphs -fpascal-strings -Os -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -Wno-sign-conversion -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-generated-files.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-own-target-headers.hmap -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-all-target-headers.hmap -iquote /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/BootRoot-project-headers.hmap -iquote/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources/x86_64 -I/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/DerivedSources -Wall -Wextra -Wno-unused -F/Users/uri/src/kext_tools-326.90.2-AnV_R2/build/Deployment -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/PrivateFrameworks -DPRODUCT_NAME=\"BootRoot\" -MMD -MT dependencies -MF /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/fork_program.d --serialize-diagnostics /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/fork_program.dia -c /Users/uri/src/kext_tools-326.90.2-AnV_R2/fork_program.c -o /Users/uri/src/kext_tools-326.90.2-AnV_R2/build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/fork_program.o

In file included from /Users/uri/src/kext_tools-326.90.2-AnV_R2/fork_program.c:10:

In file included from /Users/uri/src/kext_tools-326.90.2-AnV_R2/fork_program.h:12:

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/types.h:78:

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/machine/types.h:35:

/usr/include/i386/types.h:113:10: error: 'sys/_types/___offsetof.h' file not found

with <angled> include; use "quotes" instead

#include <sys/_types/___offsetof.h>

^

In file included from /Users/uri/src/kext_tools-326.90.2-AnV_R2/fork_program.c:11:

/Users/uri/src/kext_tools-326.90.2-AnV_R2/kext_tools_util.h:13:10: fatal error:

'IOKit/kext/OSKext.h' file not found

#include <IOKit/kext/OSKext.h>

^

2 errors generated.

 

** BUILD FAILED **

 

 

The following build commands failed:

CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/bootcaches.o bootcaches.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler

CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/safecalls.o safecalls.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler

CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/kext_tools_util.o kext_tools_util.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler

CompileC build/kext_tools.build/Deployment/libBootRoot.build/Objects-normal/x86_64/fork_program.o fork_program.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler

(4 failures)

You need certain extra dependencies such as in case of your error libbless from the bless package.

You can get all needed to build my version from www.opensource.apple.com.

There are more things needed... Look in google for some.

There is also a PrivateOSXSDK for all.

 

@others: I'm rebuilding decompkernelcache for use with LZVN compression and decompression, same for LZSS.

You will be able to change compression type on a kernel cache.

More to follow... ;)

  • Like 2
Link to comment
Share on other sites

New hyper optimized version for Yosemite (V3).

Majorly updated with latest Apple based updates and other optimisations... ;)

  • Like 1
Link to comment
Share on other sites

I created a tool for making universal binaries out of multiple EFI PE/TE files.

13 types of architectures are supported.

It can thus handle max 13 input files and one output file.

 

Usage:

efilipo <output> <file1> <file2> [...]

 

The result is an output file identical to boot.efi of Snow Leopard.

 

Enjoy :D;)

 

Sources are available on Github:

https://github.com/andyvand/macosxbootloader/tree/master/efilipo

 

EDIT: Changed so that it matches EFI magic as used in SL boot.efi and swapped endianness as done in SL boot.efi

EDIT2: New version (V1.1) - Added support for Mac OS X 10.4 and better and also built legacy installer package, new build contains also PowerPC and PowerPC64 architectures in the universal binary

EDIT3: Added Win32 and Win64 version of the tool.

EDIT4: Deleted attachments, latest versions (including Windows versions) are available from link above ;)

  • Like 6
Link to comment
Share on other sites

New version for Xcode 6.1 cctools-862

The sources for Xcode 6.1 you can get from:

http://www.opensource.apple.com/release/developer-tools-61/

Enjoy :D

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...