-
-
Notifications
You must be signed in to change notification settings - Fork 722
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
👋 Cross compile QNX version error :( #200
Comments
xmake f --demo=n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
描述问题
QNX交叉编译tbox库,按照手册中的交叉编译模块配置后编译不通过。
期待的结果
能顺利完成tbox QNX平台的交叉编译。
详细描述
xmake f -p cross -a qnx700-a --sdk=/home/liyq/qnx700/host/linux/x86_64/usr --bin=/home/liyq/qnx700/host/linux/x86_64/usr/bin --cross=ntoaarch64-
运行log如下:
q1:这一步的checking是在检查什么,checking for xxx ... no的模块要如何处理?
xmake
编译报错[ 0%]: ccache compiling.release src/tbox/libc/stdlib/mbstowcs.c [ 0%]: ccache compiling.release src/tbox/hash/bkdr.c [ 0%]: ccache compiling.release src/tbox/math/fixed16.c [ 0%]: ccache compiling.release src/tbox/libc/impl/libc.c [ 0%]: ccache compiling.release src/tbox/tbox.c [ 0%]: ccache compiling.release src/tbox/math/impl/math.c [ 0%]: ccache compiling.release src/tbox/math/random/linear.c [ 0%]: ccache compiling.release src/tbox/libc/stdlib/wcstombs.c [ 0%]: ccache compiling.release src/tbox/hash/adler32.c [ 0%]: ccache compiling.release src/tbox/math/random/random.c [ 0%]: ccache compiling.release src/tbox/math/int32.c [ 0%]: ccache compiling.release src/tbox/hash/fnv32.c [ 1%]: ccache compiling.release src/tbox/libc/stdlib/random.c [ 1%]: ccache compiling.release src/tbox/libc/stdlib/stdlib.c [ 3%]: ccache compiling.release src/tbox/libc/misc/time/gmmktime.c [ 3%]: ccache compiling.release src/tbox/libc/misc/time/time.c [ 3%]: ccache compiling.release src/tbox/libc/misc/time/mktime.c [ 3%]: ccache compiling.release src/tbox/libc/misc/time/gmtime.c [ 3%]: ccache compiling.release src/tbox/libc/misc/time/localtime.c [ 3%]: ccache compiling.release src/tbox/libc/string/wcschr.c [ 3%]: ccache compiling.release src/tbox/libc/string/wcscmp.c [ 3%]: ccache compiling.release src/tbox/libc/string/strncpy.c [ 3%]: ccache compiling.release src/tbox/libc/string/strcpy.c [ 6%]: ccache compiling.release src/tbox/libc/string/strdup.c [ 6%]: ccache compiling.release src/tbox/libc/string/wcsicmp.c [ 6%]: ccache compiling.release src/tbox/libc/string/strrchr.c [ 6%]: ccache compiling.release src/tbox/libc/string/strchr.c [ 6%]: ccache compiling.release src/tbox/libc/string/wcsndup.c [ 6%]: ccache compiling.release src/tbox/libc/string/wcsnicmp.c [ 6%]: ccache compiling.release src/tbox/libc/string/strcat.c [ 6%]: ccache compiling.release src/tbox/libc/string/wcsdup.c [ 6%]: ccache compiling.release src/tbox/libc/string/wcsnrstr.c [ 8%]: ccache compiling.release src/tbox/libc/string/memmov.c [ 8%]: ccache compiling.release src/tbox/libc/string/strlen.c [ 8%]: ccache compiling.release src/tbox/libc/string/wcsncat.c [ 8%]: ccache compiling.release src/tbox/libc/string/wcsncpy.c [ 8%]: ccache compiling.release src/tbox/libc/string/strnrstr.c [ 8%]: ccache compiling.release src/tbox/libc/string/wcsrstr.c [ 10%]: ccache compiling.release src/tbox/libc/string/wcslcpy.c [ 10%]: ccache compiling.release src/tbox/libc/string/strnrchr.c [ 10%]: ccache compiling.release src/tbox/libc/string/wcslen.c [ 10%]: ccache compiling.release src/tbox/libc/string/wcscpy.c [ 10%]: ccache compiling.release src/tbox/libc/string/strnistr.c [ 10%]: ccache compiling.release src/tbox/libc/string/wcsrchr.c [ 12%]: ccache compiling.release src/tbox/libc/string/strnirstr.c [ 12%]: ccache compiling.release src/tbox/libc/string/wcscat.c [ 12%]: ccache compiling.release src/tbox/libc/string/memdup.c [ 12%]: ccache compiling.release src/tbox/libc/string/wcsnirchr.c [ 12%]: ccache compiling.release src/tbox/libc/string/wcsnirstr.c [ 12%]: ccache compiling.release src/tbox/libc/string/strichr.c [ 12%]: ccache compiling.release src/tbox/libc/string/strnirchr.c [ 12%]: ccache compiling.release src/tbox/libc/string/strnchr.c [ 14%]: ccache compiling.release src/tbox/libc/string/wcsirchr.c [ 14%]: ccache compiling.release src/tbox/libc/string/memmem.c [ 14%]: ccache compiling.release src/tbox/libc/string/wcsnrchr.c [ 14%]: ccache compiling.release src/tbox/libc/string/memcpy.c [ 14%]: ccache compiling.release src/tbox/libc/string/memcmp.c [ 14%]: ccache compiling.release src/tbox/libc/string/strnstr.c [ 16%]: ccache compiling.release src/tbox/libc/string/strnicmp.c [ 16%]: ccache compiling.release src/tbox/libc/string/wcsnlen.c [ 16%]: ccache compiling.release src/tbox/libc/string/strncat.c [ 16%]: ccache compiling.release src/tbox/libc/string/strnlen.c [ 16%]: ccache compiling.release src/tbox/libc/string/wcsstr.c [ 16%]: ccache compiling.release src/tbox/libc/string/strirchr.c [ 16%]: ccache compiling.release src/tbox/libc/string/strstr.c [ 16%]: ccache compiling.release src/tbox/libc/string/strndup.c [ 16%]: ccache compiling.release src/tbox/libc/string/memset.c [ 19%]: ccache compiling.release src/tbox/libc/string/wcsichr.c [ 19%]: ccache compiling.release src/tbox/libc/string/stricmp.c [ 19%]: ccache compiling.release src/tbox/libc/string/stristr.c [ 19%]: ccache compiling.release src/tbox/libc/string/wcsirstr.c [ 19%]: ccache compiling.release src/tbox/libc/string/strlcpy.c [ 19%]: ccache compiling.release src/tbox/libc/string/strrstr.c [ 19%]: ccache compiling.release src/tbox/libc/string/strirstr.c [ 19%]: ccache compiling.release src/tbox/libc/string/strcmp.c [ 19%]: ccache compiling.release src/tbox/libc/string/strnichr.c [ 21%]: ccache compiling.release src/tbox/libc/string/wcsncmp.c [ 21%]: ccache compiling.release src/tbox/libc/string/wcsistr.c [ 21%]: ccache compiling.release src/tbox/libc/string/strncmp.c [ 21%]: ccache compiling.release src/tbox/libc/stdio/swprintf.c [ 21%]: ccache compiling.release src/tbox/libc/stdio/printf_object.c [ 21%]: ccache compiling.release src/tbox/libc/stdio/getchar.c [ 21%]: ccache compiling.release src/tbox/libc/stdio/vswprintf.c [ 23%]: ccache compiling.release src/tbox/libc/stdio/wputs.c [ 23%]: ccache compiling.release src/tbox/libc/stdio/putchar.c [ 23%]: ccache compiling.release src/tbox/libc/stdio/snprintf.c [ 23%]: ccache compiling.release src/tbox/libc/stdio/vsnprintf.c [ 23%]: ccache compiling.release src/tbox/libc/stdio/wprintf.c [ 23%]: ccache compiling.release src/tbox/libc/stdio/sprintf.c [ 25%]: ccache compiling.release src/tbox/libc/stdio/printf.c [ 25%]: ccache compiling.release src/tbox/libc/stdio/puts.c [ 25%]: ccache compiling.release src/tbox/utils/singleton.c [ 25%]: ccache compiling.release src/tbox/utils/trace.c [ 25%]: ccache compiling.release src/tbox/utils/lock_profiler.c [ 25%]: ccache compiling.release src/tbox/utils/dump.c [ 25%]: ccache compiling.release src/tbox/utils/url.c [ 28%]: ccache compiling.release src/tbox/utils/base64.c [ 28%]: ccache compiling.release src/tbox/utils/bits.c [ 28%]: ccache compiling.release src/tbox/utils/used.c [ 28%]: ccache compiling.release src/tbox/utils/base32.c [ 28%]: ccache compiling.release src/tbox/prefix/state.c [ 28%]: ccache compiling.release src/tbox/memory/large_allocator.c [ 28%]: ccache compiling.release src/tbox/memory/native_allocator.c [ 28%]: ccache compiling.release src/tbox/memory/static_allocator.c [ 28%]: ccache compiling.release src/tbox/memory/impl/static_fixed_pool.c [ 28%]: ccache compiling.release src/tbox/memory/impl/native_large_allocator.c [ 30%]: ccache compiling.release src/tbox/memory/impl/static_large_allocator.c [ 30%]: ccache compiling.release src/tbox/memory/impl/prefix.c [ 30%]: ccache compiling.release src/tbox/memory/impl/memory.c [ 30%]: ccache compiling.release src/tbox/memory/virtual_allocator.c [ 30%]: ccache compiling.release src/tbox/memory/default_allocator.c [ 30%]: ccache compiling.release src/tbox/memory/allocator.c [ 30%]: ccache compiling.release src/tbox/memory/string_pool.c [ 31%]: ccache compiling.release src/tbox/memory/static_buffer.c [ 31%]: ccache compiling.release src/tbox/memory/queue_buffer.c [ 31%]: ccache compiling.release src/tbox/memory/small_allocator.c [ 31%]: ccache compiling.release src/tbox/memory/buffer.c [ 31%]: ccache compiling.release src/tbox/memory/fixed_pool.c [ 33%]: ccache compiling.release src/tbox/string/string.c [ 33%]: ccache compiling.release src/tbox/string/static_string.c [ 33%]: ccache compiling.release src/tbox/stream/impl/stream/data.c [ 33%]: ccache compiling.release src/tbox/stream/impl/stream/http.c [ 33%]: ccache compiling.release src/tbox/stream/impl/stream/sock.c [ 33%]: ccache compiling.release src/tbox/stream/impl/stream/filter.c [ 33%]: ccache compiling.release src/tbox/stream/impl/stream/file.c [ 35%]: ccache compiling.release src/tbox/stream/impl/filter/cache.c [ 35%]: ccache compiling.release src/tbox/stream/impl/filter/chunked.c [ 35%]: ccache compiling.release src/tbox/stream/static_stream.c [ 35%]: ccache compiling.release src/tbox/stream/filter.c [ 35%]: ccache compiling.release src/tbox/stream/transfer.c [ 37%]: ccache compiling.release src/tbox/stream/stream.c [ 37%]: ccache compiling.release src/tbox/network/cookies.c [ 37%]: ccache compiling.release src/tbox/network/ipaddr.c [ 37%]: ccache compiling.release src/tbox/network/impl/http/date.c [ 37%]: ccache compiling.release src/tbox/network/impl/http/status.c [ 37%]: ccache compiling.release src/tbox/network/impl/http/method.c [ 37%]: ccache compiling.release src/tbox/network/impl/http/option.c [ 39%]: ccache compiling.release src/tbox/network/impl/network.c [ 39%]: ccache compiling.release src/tbox/network/url.c [ 39%]: ccache compiling.release src/tbox/network/http.c [ 39%]: ccache compiling.release src/tbox/network/dns/cache.c [ 39%]: ccache compiling.release src/tbox/network/dns/looker.c [ 39%]: ccache compiling.release src/tbox/network/dns/server.c [ 39%]: ccache compiling.release src/tbox/network/ipv4.c [ 41%]: ccache compiling.release src/tbox/network/ipv6.c [ 41%]: ccache compiling.release src/tbox/network/unixaddr.c [ 41%]: ccache compiling.release src/tbox/network/hwaddr.c [ 41%]: ccache compiling.release src/tbox/algorithm/count.c [ 41%]: ccache compiling.release src/tbox/algorithm/heap_sort.c [ 41%]: ccache compiling.release src/tbox/algorithm/insert_sort.c [ 41%]: ccache compiling.release src/tbox/algorithm/rfind.c [ 43%]: ccache compiling.release src/tbox/algorithm/rwalk.c [ 43%]: ccache compiling.release src/tbox/algorithm/rfind_if.c [ 43%]: ccache compiling.release src/tbox/algorithm/walk.c [ 43%]: ccache compiling.release src/tbox/algorithm/predicate.c [ 43%]: ccache compiling.release src/tbox/algorithm/remove.c [ 45%]: ccache compiling.release src/tbox/algorithm/bubble_sort.c [ 45%]: ccache compiling.release src/tbox/algorithm/quick_sort.c [ 45%]: ccache compiling.release src/tbox/algorithm/find_if.c [ 45%]: ccache compiling.release src/tbox/algorithm/count_if.c [ 45%]: ccache compiling.release src/tbox/algorithm/find.c [ 45%]: ccache compiling.release src/tbox/algorithm/remove_first_if.c [ 45%]: ccache compiling.release src/tbox/algorithm/distance.c [ 47%]: ccache compiling.release src/tbox/algorithm/remove_if.c [ 47%]: ccache compiling.release src/tbox/algorithm/binary_find_if.c [ 47%]: ccache compiling.release src/tbox/algorithm/binary_find.c [ 47%]: ccache compiling.release src/tbox/algorithm/sort.c [ 47%]: ccache compiling.release src/tbox/algorithm/remove_first.c [ 47%]: ccache compiling.release src/tbox/container/circle_queue.c [ 47%]: ccache compiling.release src/tbox/container/iterator.c [ 47%]: ccache compiling.release src/tbox/container/hash_set.c [ 49%]: ccache compiling.release src/tbox/container/heap.c [ 49%]: ccache compiling.release src/tbox/container/array_iterator.c [ 49%]: ccache compiling.release src/tbox/container/hash_map.c [ 49%]: ccache compiling.release src/tbox/container/single_list.c [ 49%]: ccache compiling.release src/tbox/container/queue.c [ 49%]: ccache compiling.release src/tbox/container/list.c [ 49%]: ccache compiling.release src/tbox/container/stack.c [ 49%]: ccache compiling.release src/tbox/container/vector.c [ 51%]: ccache compiling.release src/tbox/container/priority_queue.c [ 51%]: ccache compiling.release src/tbox/container/single_list_entry.c [ 51%]: ccache compiling.release src/tbox/container/bloom_filter.c [ 51%]: ccache compiling.release src/tbox/container/list_entry.c [ 51%]: ccache compiling.release src/tbox/container/element/uint16.c [ 51%]: ccache compiling.release src/tbox/container/element/uint8.c [ 54%]: ccache compiling.release src/tbox/container/element/uint32.c [ 54%]: ccache compiling.release src/tbox/container/element/true.c [ 54%]: ccache compiling.release src/tbox/container/element/ptr.c [ 54%]: ccache compiling.release src/tbox/container/element/long.c [ 54%]: ccache compiling.release src/tbox/container/element/hash.c [ 54%]: ccache compiling.release src/tbox/container/element/null.c [ 54%]: ccache compiling.release src/tbox/container/element/mem.c [ 54%]: ccache compiling.release src/tbox/container/element/size.c [ 54%]: ccache compiling.release src/tbox/container/element/str.c [ 55%]: ccache compiling.release src/tbox/libm/impl/libm.c [ 55%]: ccache compiling.release src/tbox/libm/idivi8.c [ 55%]: ccache compiling.release src/tbox/libm/ilog2i.c [ 57%]: ccache compiling.release src/tbox/libm/isqrti.c [ 57%]: ccache compiling.release src/tbox/libm/isqrti64.c [ 57%]: ccache compiling.release src/tbox/libm/cosf.c [ 57%]: ccache compiling.release src/tbox/libm/isinf.c [ 57%]: ccache compiling.release src/tbox/libm/exp.c [ 57%]: ccache compiling.release src/tbox/libm/sincos.c [ 57%]: ccache compiling.release src/tbox/libm/log2f.c [ 57%]: ccache compiling.release src/tbox/libm/log2.c [ 57%]: ccache compiling.release src/tbox/libm/expi.c [ 59%]: ccache compiling.release src/tbox/libm/expif.c [ 59%]: ccache compiling.release src/tbox/libm/sinf.c [ 59%]: ccache compiling.release src/tbox/libm/exp1f.c [ 59%]: ccache compiling.release src/tbox/libm/atanf.c [ 59%]: ccache compiling.release src/tbox/libm/isnan.c [ 59%]: ccache compiling.release src/tbox/libm/expf.c [ 62%]: ccache compiling.release src/tbox/libm/exp1.c [ 62%]: ccache compiling.release src/tbox/libm/isnanf.c [ 62%]: ccache compiling.release src/tbox/libm/cos.c [ 62%]: ccache compiling.release src/tbox/libm/atan2f.c [ 62%]: ccache compiling.release src/tbox/libm/tan.c [ 62%]: ccache compiling.release src/tbox/libm/fmodf.c [ 62%]: ccache compiling.release src/tbox/libm/atan.c [ 62%]: ccache compiling.release src/tbox/libm/sincosf.c [ 62%]: ccache compiling.release src/tbox/libm/isfinf.c [ 63%]: ccache compiling.release src/tbox/libm/tanf.c [ 63%]: ccache compiling.release src/tbox/libm/powf.c [ 63%]: ccache compiling.release src/tbox/libm/isinff.c [ 63%]: ccache compiling.release src/tbox/libm/asinf.c [ 65%]: ccache compiling.release src/tbox/libm/acos.c [ 65%]: ccache compiling.release src/tbox/libm/isfin.c [ 65%]: ccache compiling.release src/tbox/libm/pow.c [ 65%]: ccache compiling.release src/tbox/libm/asin.c [ 65%]: ccache compiling.release src/tbox/libm/sqrt.c [ 65%]: ccache compiling.release src/tbox/libm/sin.c [ 65%]: ccache compiling.release src/tbox/libm/atan2.c [ 66%]: ccache compiling.release src/tbox/libm/sqrtf.c [ 66%]: ccache compiling.release src/tbox/libm/acosf.c [ 66%]: ccache compiling.release src/tbox/libm/fmod.c [ 66%]: ccache compiling.release src/demo/demo.c [ 69%]: ccache compiling.release src/demo/libc/wcstombs.c [ 69%]: ccache compiling.release src/demo/libc/mbstowcs.c [ 69%]: ccache compiling.release src/demo/libc/wchar.c [ 69%]: ccache compiling.release src/demo/libc/time.c [ 69%]: ccache compiling.release src/demo/libc/string.c [ 69%]: ccache compiling.release src/demo/libc/stdlib.c [ 69%]: ccache compiling.release src/demo/libm/integer.c [ 69%]: ccache compiling.release src/demo/math/random.c [ 69%]: ccache compiling.release src/demo/utils/dump.c [ 69%]: ccache compiling.release src/demo/utils/url.c [ 71%]: ccache compiling.release src/demo/utils/base64.c [ 71%]: ccache compiling.release src/demo/utils/bits.c [ 71%]: ccache compiling.release src/demo/utils/base32.c [ 71%]: ccache compiling.release src/demo/other/test.c [ 71%]: ccache compiling.release src/demo/string/string.c [ 71%]: ccache compiling.release src/demo/string/static_string.c [ 73%]: ccache compiling.release src/demo/memory/check.c [ 73%]: ccache compiling.release src/demo/memory/large_pool.c [ 73%]: ccache compiling.release src/demo/memory/impl/static_fixed_pool.c [ 73%]: ccache compiling.release src/demo/memory/default_allocator.c [ 73%]: ccache compiling.release src/demo/memory/string_pool.c [ 73%]: ccache compiling.release src/demo/memory/static_buffer.c [ 73%]: ccache compiling.release src/demo/memory/queue_buffer.c [ 76%]: ccache compiling.release src/demo/memory/small_allocator.c [ 76%]: ccache compiling.release src/demo/memory/memops.c [ 76%]: ccache compiling.release src/demo/memory/buffer.c [ 76%]: ccache compiling.release src/demo/memory/fixed_pool.c [ 76%]: ccache compiling.release src/demo/platform/pipe_pair.c [ 76%]: ccache compiling.release src/demo/platform/ifaddrs.c [ 76%]: ccache compiling.release src/demo/platform/hostname.c [ 76%]: ccache compiling.release src/demo/platform/cache_time.c [ 76%]: ccache compiling.release src/demo/platform/thread.c [ 76%]: ccache compiling.release src/demo/platform/fwatcher.c [ 76%]: ccache compiling.release src/demo/platform/ltimer.c [ 78%]: ccache compiling.release src/demo/platform/poller_fwatcher.c [ 78%]: ccache compiling.release src/demo/platform/addrinfo.c [ 78%]: ccache compiling.release src/demo/platform/poller_pipe.c [ 78%]: ccache compiling.release src/demo/platform/poller_process.c [ 79%]: ccache compiling.release src/demo/platform/process.c [ 79%]: ccache compiling.release src/demo/platform/utils.c [ 79%]: ccache compiling.release src/demo/platform/stdfile.c [ 79%]: ccache compiling.release src/demo/platform/backtrace.c [ 79%]: ccache compiling.release src/demo/platform/atomic.c [ 79%]: ccache compiling.release src/demo/platform/lock.c [ 81%]: ccache compiling.release src/demo/platform/atomic64.c [ 81%]: ccache compiling.release src/demo/platform/atomic32.c [ 81%]: ccache compiling.release src/demo/platform/thread_pool.c [ 81%]: ccache compiling.release src/demo/platform/poller_server.c [ 81%]: ccache compiling.release src/demo/platform/environment.c [ 81%]: ccache compiling.release src/demo/platform/filelock.c [ 83%]: ccache compiling.release src/demo/platform/timer.c [ 83%]: ccache compiling.release src/demo/platform/file.c [ 83%]: ccache compiling.release src/demo/platform/path.c [ 83%]: ccache compiling.release src/demo/platform/sched.c [ 83%]: ccache compiling.release src/demo/platform/directory.c [ 84%]: ccache compiling.release src/demo/platform/semaphore.c [ 84%]: ccache compiling.release src/demo/platform/event.c [ 84%]: ccache compiling.release src/demo/platform/poller_client.c [ 84%]: ccache compiling.release src/demo/platform/thread_local.c [ 84%]: ccache compiling.release src/demo/platform/named_pipe.c [ 84%]: ccache compiling.release src/demo/container/circle_queue.c [ 87%]: ccache compiling.release src/demo/container/hash_set.c [ 87%]: ccache compiling.release src/demo/container/heap.c [ 87%]: ccache compiling.release src/demo/container/hash_map.c [ 87%]: ccache compiling.release src/demo/container/single_list.c [ 87%]: ccache compiling.release src/demo/container/queue.c [ 87%]: ccache compiling.release src/demo/container/list.c [ 87%]: ccache compiling.release src/demo/container/stack.c [ 87%]: ccache compiling.release src/demo/container/vector.c [ 89%]: ccache compiling.release src/demo/container/single_list_entry.c [ 89%]: ccache compiling.release src/demo/container/bloom_filter.c [ 89%]: ccache compiling.release src/demo/container/list_entry.c [ 89%]: ccache compiling.release src/demo/algorithm/find.c [ 89%]: ccache compiling.release src/demo/algorithm/sort.c [ 89%]: ccache compiling.release src/demo/stream/stream.c [ 66%]: ccache compiling.release src/demo/other/test.cpp [ 90%]: ccache compiling.release src/demo/stream/stream/cache.c [ 90%]: ccache compiling.release src/demo/stream/stream/charset.c [ 90%]: ccache compiling.release src/demo/stream/stream/zip.c [ 90%]: ccache compiling.release src/demo/stream/stream/null.c [ 90%]: ccache compiling.release src/demo/network/cookies.c [ 92%]: ccache compiling.release src/demo/network/ping.c [ 92%]: ccache compiling.release src/demo/network/unix_echo_client.c [ 92%]: ccache compiling.release src/demo/network/ipaddr.c [ 92%]: ccache compiling.release src/demo/network/impl/date.c [ 92%]: ccache compiling.release src/demo/network/dns.c [ 92%]: ccache compiling.release src/demo/network/url.c [ 92%]: ccache compiling.release src/demo/network/unix_echo_server.c [ 93%]: ccache compiling.release src/demo/network/http.c [ 93%]: ccache compiling.release src/demo/network/ipv4.c [ 93%]: ccache compiling.release src/demo/network/ipv6.c [ 93%]: ccache compiling.release src/demo/network/unixaddr.c [ 95%]: ccache compiling.release src/demo/network/whois.c [ 95%]: ccache compiling.release src/demo/network/hwaddr.c [ 95%]: ccache compiling.release src/demo/math/fixed.c [ 95%]: ccache compiling.release src/demo/libm/float.c [ 95%]: ccache compiling.release src/demo/libm/double.c [ 98%]: archiving.release libtbox.a [ 99%]: linking.release demo error: /home/liyq/qnx700/host/linux/x86_64//usr/bin/aarch64-unknown-nto-qnx7.0.0-ld: cannot find -lpthread /home/liyq/qnx700/host/linux/x86_64//usr/bin/aarch64-unknown-nto-qnx7.0.0-ld: cannot find -ldl collect2: error: ld returned 1 exit status
q2:lpthread、ldl等库是否需要用交叉工具链编译相应平台的so库放入指定的目录(shared)才可以?
相关环境
在
ubuntu x86_64
上 编译qnx700
交叉编译工具链目录结构:
The text was updated successfully, but these errors were encountered: