You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.
I am using Ubuntu( Ubuntu-16.04.4-desktop-amd64.iso )to build this code, but have encountered some problems.
My OS info is :
Linux version 4.13.0-36-generic (buildd@lgw01-amd64-033) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu116.04.9)) #4016.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018
cmake version is 3.5.1
I have tried the master and develop branch, the problems are the same.
Do I miss something, or which Unix OS can build this code?
Thanks.
this is my problem.
Check size of __int64 - failed
Check size of __int32 - failed
Check size of __uint32 - failed
Check size of SSIZE_T - failed
Looking for _strtoi64 - not found
the detail is
dslink@ubuntu:~/Documents/sdk-dslink-c$ ./tools/build.sh
-- The C compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Set c-sdk git commit hash to b51d1e3
INFOApplying secure compiler and linker flags
CMake Error at deps/CMakeLists_jansson.txt:13 (include):
include could not find load file:
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file sched.h
-- Looking for include file sched.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for close
-- Looking for close - found
-- Looking for getpid
-- Looking for getpid - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for open
-- Looking for open - found
-- Looking for read
-- Looking for read - found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int64
-- Check size of __int64 - failed
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of long long
-- Check size of long long - done
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of __int32
-- Check size of __int32 - failed
-- Check size of long
-- Check size of long - done
-- Check size of int
-- Check size of int - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of __uint32
-- Check size of __uint32 - failed
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of __uint16
-- Check size of __uint16 - failed
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Check size of __uint8
-- Check size of __uint8 - failed
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of SSIZE_T
-- Check size of SSIZE_T - failed
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoq
-- Looking for strtoq - found
-- Looking for _strtoi64
-- Looking for _strtoi64 - not found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for localeconv
-- Looking for localeconv - found
-- Looking for setlocale
-- Looking for setlocale - found
CMake Error at deps/CMakeLists_jansson.txt:186 (check_function_keywords):
Unknown CMake command "check_function_keywords".
Call Stack (most recent call first):
CMakeLists.txt:90 (include)
The text was updated successfully, but these errors were encountered:
Built the project for a 32 bit ARMv7 processor running yocto and received a very similar error set:
Determining size failed for the following types:
__int64
__int32
__uint32
__uint16
__uint8
SSIZE_T
_stroi64
Seems like the build can't detect the operating system and can't build the data types based on that. Looks like for my hardware, the kernel isn't supported by DSA just yet. @weikent I would try running DSA on another OS if possible, though I don't see any issue with Ubuntu or Debian off hand.
I am using Ubuntu( Ubuntu-16.04.4-desktop-amd64.iso )to build this code, but have encountered some problems.
My OS info is :
Linux version 4.13.0-36-generic (buildd@lgw01-amd64-033) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1
16.04.9)) #4016.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018cmake version is 3.5.1
I have tried the master and develop branch, the problems are the same.
Do I miss something, or which Unix OS can build this code?
Thanks.
this is my problem.
Check size of __int64 - failed
Check size of __int32 - failed
Check size of __uint32 - failed
Check size of SSIZE_T - failed
Looking for _strtoi64 - not found
the detail is
dslink@ubuntu:~/Documents/sdk-dslink-c$ ./tools/build.sh
-- The C compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Set c-sdk git commit hash to b51d1e3
INFOApplying secure compiler and linker flags
CMake Error at deps/CMakeLists_jansson.txt:13 (include):
include could not find load file:
Call Stack (most recent call first):
CMakeLists.txt:90 (include)
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file sched.h
-- Looking for include file sched.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for close
-- Looking for close - found
-- Looking for getpid
-- Looking for getpid - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for open
-- Looking for open - found
-- Looking for read
-- Looking for read - found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int64
-- Check size of __int64 - failed
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of long long
-- Check size of long long - done
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of __int32
-- Check size of __int32 - failed
-- Check size of long
-- Check size of long - done
-- Check size of int
-- Check size of int - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of __uint32
-- Check size of __uint32 - failed
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of __uint16
-- Check size of __uint16 - failed
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Check size of __uint8
-- Check size of __uint8 - failed
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of SSIZE_T
-- Check size of SSIZE_T - failed
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoq
-- Looking for strtoq - found
-- Looking for _strtoi64
-- Looking for _strtoi64 - not found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for localeconv
-- Looking for localeconv - found
-- Looking for setlocale
-- Looking for setlocale - found
CMake Error at deps/CMakeLists_jansson.txt:186 (check_function_keywords):
Unknown CMake command "check_function_keywords".
Call Stack (most recent call first):
CMakeLists.txt:90 (include)
The text was updated successfully, but these errors were encountered: