Skip to content
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

compiling on native aarch64 host #48

Closed
stefan2225 opened this issue Jul 6, 2018 · 10 comments
Closed

compiling on native aarch64 host #48

stefan2225 opened this issue Jul 6, 2018 · 10 comments

Comments

@stefan2225
Copy link

Hello,

I tried to compile this on an aarch64 host but I get some errors I can't seem to resolve. Seems like many other people have this issue but with compiling edk2 for an x86_64 host. Would be nice if you can tell me what I did wrong (I attached the log to this issue).

Thanks,
Stefan.
log.txt

@andreiw
Copy link
Owner

andreiw commented Jul 6, 2018 via email

@stefan2225
Copy link
Author

Weird, I have installed uuid-dev both on my normal pc and on the aarch64 host but It only compiled on my normal pc. sorry

@andreiw
Copy link
Owner

andreiw commented Jul 6, 2018 via email

@stefan2225
Copy link
Author

Okay, I just ran lscpu on it and it tells me that it's little endian..

@stefan2225
Copy link
Author

Maybe it is something with the kernel, since it's mainline..?

@andreiw
Copy link
Owner

andreiw commented Jul 6, 2018 via email

@stefan2225
Copy link
Author

Yes, but I mean that I have them already installed

@andreiw
Copy link
Owner

andreiw commented Jul 6, 2018 via email

@stefan2225
Copy link
Author

No, I get a error message instead:

/tmp/ccHcUT1C.o: In function main': uuid_test.c:(.text+0x14): undefined reference to uuid_generate_time_safe'
uuid_test.c:(.text+0x20): undefined reference to uuid_unparse_lower' uuid_test.c:(.text+0x40): undefined reference to uuid_parse'
uuid_test.c:(.text+0x4c): undefined reference to uuid_compare' uuid_test.c:(.text+0x74): undefined reference to uuid_parse'
uuid_test.c:(.text+0x80): undefined reference to uuid_compare' uuid_test.c:(.text+0x9c): undefined reference to uuid_is_null'
uuid_test.c:(.text+0xb8): undefined reference to uuid_clear' uuid_test.c:(.text+0xc0): undefined reference to uuid_is_null'
collect2: error: ld returned 1 exit status

I'll try reinstalling the libuuid packages.

@andreiw
Copy link
Owner

andreiw commented Jul 8, 2018

Not a RaspberryPiPkg issue

@andreiw andreiw closed this as completed Jul 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants