On Mon, 2016-07-18 at 15:32 +1000, Jeff Waugh wrote:
While doing a fresh build:
[libs/libmuslc] building... ln: failed to create symbolic link 'include/bits': File exists /home/jdub/src/sel4test/libs/libmuslc/Makefile:81: recipe for target 'include/bits' failed make[1]: *** [include/bits] Error 1 tools/common/project.mk:306: recipe for target 'libmuslc' failed make: *** [libmuslc] Error 2
Poking around I found:
jdub@sel4:~/src/sel4test$ ls ./build/x86/pc99/libmuslc/include/bits -la lrwxrwxrwx 1 jdub jdub 51 Jul 18 15:20 ./build/x86/pc99/libmuslc/include/bits -> /home/jdub/src/sel4test/libs/libmuslc/arch/x86/bits jdub@sel4:~/src/sel4test$ ls libs/libmuslc/arch/x x32/ x86_64/ x86_64_sel4/
Something to do with the ia32 / x86 transition? An x86 -> x32 symlink fixes the build.
That is odd. I tried building for ia32/x86 images, and they did pass without an error. One possible reason could be that a `make clean` didn't clean the artefacts from a previous build. If that isn't the case, can you share your config file, so that I could test it? Although, this error might not show up when cloning and building from scratch. Thanks, ..Partha ________________________________ The information in this e-mail may be confidential and subject to legal professional privilege and/or copyright. National ICT Australia Limited accepts no liability for any damage caused by this email or its attachments.