Jump to content

Problem compiling 10.4.9


1 post in this topic

Recommended Posts

Hi I'm trying to compile 10.4.9 but I got stock in a little part, this is what I did:

 

# make and make install relpath from the bootstrap_cmds project.

# make and make install the Libstreams project.

# Unpack the cctools project,

 

* make all in the libstuff directory,

* make macos_all in the misc directory and install seg_hack.NEW as /usr/local/bin/seg_hack,

* make macos in the libmacho directory and install otmp_obj/libmacho_static.a in /usr/local/lib, and

* make kld_build in the ld directory and install static_kld/libkld.a in /usr/local/lib.

 

but here I got this error:

 

cc -static -DRLD -DKLD -fno-builtin -finline -fno-keep-inline-functions -fsigned-bitfields -force_cpusubtype_ALL -msoft-float -nostdinc -I/System/Library/Frameworks/Kernel.framework/PrivateHeaders/libsa -I/System/Library/Frameworks/Kernel.framework/PrivateHeaders -I/System/Library/Frameworks/Kernel.framework/Headers/libsa -I/System/Library/Frameworks/Kernel.framework/Headers/bsd -I/System/Library/Frameworks/Kernel.framework/Headers -DKERNEL -DKERNEL_PRIVATE -DAPPLE -DNeXT -DLIBSA_PRIVATE -g -I.. -I../../include -I. -Wall -Wno-long-double -no-cpp-precomp -fno-builtin-round -fno-builtin-trunc -nostdlib -r \

-o ./prehack_libkld.a ld.o pass1.o objects.o sections.o cstring_literals.o symbols.o fvmlibs.o layout.o specs.o pass2.o generic_reloc.o rld.o sets.o 4byte_literals.o 8byte_literals.o literal_pointers.o dylibs.o indirect_sections.o mod_sections.o i860_reloc.o ppc_reloc.o m88k_reloc.o hppa_reloc.o sparc_reloc.o coalesced_sections.o uuid.o debugcompunit.o debugline.o -L../../libstuff -lstuff_kld -L../../libmacho/ktmp_obj -lmacho_kld

/usr/bin/ld: can't locate file for: -lstuff_kld

collect2: ld returned 1 exit status

make[1]: *** [libkld.a] Error 1

make: *** [kld_build] Error 2

 

 

This are the links I used:

 

 

http://slagheap.net/etherspoof/

http://dinomite.net/computers/darwin-kernel-compile/

http://www.opendarwin.org/~jpm/xnu.html

http://developer.apple.com/DOCUMENTATION/D..._section_3.html

Link to comment
Share on other sites

 Share

×
×
  • Create New...