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
make -C /opt/github/bb.org/5.4/mikrobus/src/../../normal/KERNEL M=/opt/github/bb.org/5.4/mikrobus/src/src modules
make[1]: Entering directory '/opt/github/bb.org/5.4/normal/KERNEL'
CC [M] /opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_core.o
CC [M] /opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.o
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c: In function ‘mikrobus_property_entry_get’:
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:216:33: error: implicit declaration of function ‘PROPERTY_ENTRY_U8_ARRAY_LEN’; did you mean ‘PROPERTY_ENTRY_U8_ARRAY’? [-Werror=implicit-function-declaration]
properties[i] = PROPERTY_ENTRY_U8_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
PROPERTY_ENTRY_U8_ARRAY
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:216:31: error: incompatible types when assigning to type ‘struct property_entry’ from type ‘int’
properties[i] = PROPERTY_ENTRY_U8_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:223:33: error: implicit declaration of function ‘PROPERTY_ENTRY_U16_ARRAY_LEN’; did you mean ‘PROPERTY_ENTRY_U16_ARRAY’? [-Werror=implicit-function-declaration]
properties[i] = PROPERTY_ENTRY_U16_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
PROPERTY_ENTRY_U16_ARRAY
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:223:31: error: incompatible types when assigning to type ‘struct property_entry’ from type ‘int’
properties[i] = PROPERTY_ENTRY_U16_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:230:33: error: implicit declaration of function ‘PROPERTY_ENTRY_U32_ARRAY_LEN’; did you mean ‘PROPERTY_ENTRY_U32_ARRAY’? [-Werror=implicit-function-declaration]
properties[i] = PROPERTY_ENTRY_U32_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
PROPERTY_ENTRY_U32_ARRAY
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:230:31: error: incompatible types when assigning to type ‘struct property_entry’ from type ‘int’
properties[i] = PROPERTY_ENTRY_U32_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:237:33: error: implicit declaration of function ‘PROPERTY_ENTRY_U64_ARRAY_LEN’; did you mean ‘PROPERTY_ENTRY_U64_ARRAY’? [-Werror=implicit-function-declaration]
properties[i] = PROPERTY_ENTRY_U64_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
PROPERTY_ENTRY_U64_ARRAY
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:237:31: error: incompatible types when assigning to type ‘struct property_entry’ from type ‘int’
properties[i] = PROPERTY_ENTRY_U64_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:266: /opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.o] Error 1
make[1]: *** [Makefile:1705: /opt/github/bb.org/5.4/mikrobus/src/src] Error 2
make[1]: Leaving directory '/opt/github/bb.org/5.4/normal/KERNEL'
make: *** [Makefile:7: all] Error 2
make ARCH=arm CROSS_COMPILE=/home/voodoo/dl/gcc/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf- KDIR=/opt/github/bb.org/5.4/mikrobus/src/../../normal/KERNEL all
make -C /opt/github/bb.org/5.4/mikrobus/src/../../normal/KERNEL M=/opt/github/bb.org/5.4/mikrobus/src/src modules
make[1]: Entering directory '/opt/github/bb.org/5.4/normal/KERNEL'
CC [M] /opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.o
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c: In function ‘mikrobus_property_entry_get’:
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:216:33: error: implicit declaration of function ‘PROPERTY_ENTRY_U8_ARRAY_LEN’; did you mean ‘PROPERTY_ENTRY_U8_ARRAY’? [-Werror=implicit-function-declaration]
properties[i] = PROPERTY_ENTRY_U8_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
PROPERTY_ENTRY_U8_ARRAY
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:216:31: error: incompatible types when assigning to type ‘struct property_entry’ from type ‘int’
properties[i] = PROPERTY_ENTRY_U8_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:223:33: error: implicit declaration of function ‘PROPERTY_ENTRY_U16_ARRAY_LEN’; did you mean ‘PROPERTY_ENTRY_U16_ARRAY’? [-Werror=implicit-function-declaration]
properties[i] = PROPERTY_ENTRY_U16_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
PROPERTY_ENTRY_U16_ARRAY
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:223:31: error: incompatible types when assigning to type ‘struct property_entry’ from type ‘int’
properties[i] = PROPERTY_ENTRY_U16_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:230:33: error: implicit declaration of function ‘PROPERTY_ENTRY_U32_ARRAY_LEN’; did you mean ‘PROPERTY_ENTRY_U32_ARRAY’? [-Werror=implicit-function-declaration]
properties[i] = PROPERTY_ENTRY_U32_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
PROPERTY_ENTRY_U32_ARRAY
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:230:31: error: incompatible types when assigning to type ‘struct property_entry’ from type ‘int’
properties[i] = PROPERTY_ENTRY_U32_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:237:33: error: implicit declaration of function ‘PROPERTY_ENTRY_U64_ARRAY_LEN’; did you mean ‘PROPERTY_ENTRY_U64_ARRAY’? [-Werror=implicit-function-declaration]
properties[i] = PROPERTY_ENTRY_U64_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
PROPERTY_ENTRY_U64_ARRAY
/opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.c:237:31: error: incompatible types when assigning to type ‘struct property_entry’ from type ‘int’
properties[i] = PROPERTY_ENTRY_U64_ARRAY_LEN(prop_name, (void*)desc_property->value, desc_property->length);
^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:266: /opt/github/bb.org/5.4/mikrobus/src/src/mikrobus_manifest.o] Error 1
make[1]: *** [Makefile:1705: /opt/github/bb.org/5.4/mikrobus/src/src] Error 2
make[1]: Leaving directory '/opt/github/bb.org/5.4/normal/KERNEL'
make: *** [Makefile:7: all] Error 2
The text was updated successfully, but these errors were encountered:
Hi @RobertCNelson ,
The PROPERTY_ENTRY_ARRAY_LEN seems to have been included from 5.5 only https://elixir.bootlin.com/linux/v5.5/source/include/linux/property.h#L276 , I have been trying out mainly on : Linux beaglebone 5.7.0-rc5-bone4 #1buster PREEMPT Mon May 11 16:23:42 UTC 2020 armv7l GNU/Linux
That is why these issues were not seen, I think it will be easy to convert the PROPERTY_ENTRYARRAY_LEN calls to PROPERTY_ENTRY*_ARRAY calls easily, will fix that
@Vaishnav98 don't worry about this.. This module is tied to a lot of kernel functions (v5.8-rc2 also fails).. I'm just going to create an image with 5.7.x for testing purposes, as that ones builds. ;) Will worry about back-porting things to older kernel's later..
I'm cross building against our kernel, https://github.com/rcn-ee/mikrobus/blob/master/build.sh
Using: CROSS_COMPILE=/home/voodoo/dl/gcc/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
The text was updated successfully, but these errors were encountered: