-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linker error #3
Comments
are you sure that you are using clang >= 3.7 you can't use native osx clang with this |
i had the same issue : You're using clang from Xcode Try a clang -v , if you get this it's not good !!! Apple LLVM version 7.3.0 (clang-703.0.29) You should see this : clang -v |
yes i was using the export variable with the wrong order |
ps4link and elfldr is not complied
same error on freebsd and os x:
sh-3.2# make
clang /usr/local/ps4dev/libps4/crt0.s build/main.o -O3 -Wall -m64 -nostdlib -L/usr/local/ps4dev/libps4/lib -pie -ldebugnet -lps4link -lelfloader -lps4 -o bin/ps4link.elf
clang: warning: argument unused during compilation: '-pie'
/usr/local/ps4dev/libps4/crt0.s:1:19: error: unexpected token in '.section' directive
.pushsection .text
^
/usr/local/ps4dev/libps4/crt0.s:3:1: error: unknown directive
.type _start, @function
^
/usr/local/ps4dev/libps4/crt0.s:6:1: error: unknown directive
.size _start, .-_start
^
/usr/local/ps4dev/libps4/crt0.s:7:12: error: .popsection without corresponding .pushsection
.popsection
^
make: *** [ps4link] Error 1
The text was updated successfully, but these errors were encountered: