[dvblast-devel] Missing include in dvblast.h
Pavel Löbl
lobl.pavel at gmail.com
Sun Apr 9 20:30:56 CEST 2017
Sure. Sorry I was little bit lazy. Here is the output.
make[4]: Entering directory
'/home/pavel/hacks/source-17.01.0/build_dir/target-arm_cortex-a9+vfpv3_musl-1.1.16_eabi/dvblast-3.1'
CC dvblast.c
arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -mcpu=cortex-a9
-mfpu=vfpv3-d16 -fno-caller-saves -fno-plt -fhonour-copts
-Wno-error=unused-but-set-variable -Wno-error=unused-result
-mfloat-abi=hard -iremap
/home/pavel/hacks/source-17.01.0/build_dir/target-arm_cortex-a9+vfpv3_musl-1.1.16_eabi/dvblast-3.1:dvblast-3.1
-Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1
-Wl,-z,now -Wl,-z,relro
-I/home/pavel/hacks/source-17.01.0/staging_dir/target-arm_cortex-a9+vfpv3_musl-1.1.16_eabi/usr/include
-I/home/pavel/hacks/source-17.01.0/staging_dir/target-arm_cortex-a9+vfpv3_musl-1.1.16_eabi/include
-I/home/pavel/hacks/source-17.01.0/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-5.4.0_musl-1.1.16_eabi/usr/include
-I/home/pavel/hacks/source-17.01.0/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-5.4.0_musl-1.1.16_eabi/include/fortify
-I/home/pavel/hacks/source-17.01.0/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-5.4.0_musl-1.1.16_eabi/include
-std=gnu99 -Wall -Wformat-security -Wno-strict-aliasing
-DVERSION=\"3.1\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1
-DVERSION_EXTRA=\"release\" -c dvblast.c
In file included from dvblast.c:43:0:
dvblast.h:54:3: error: unknown type name 'u_int16_t'
u_int16_t source;
^
dvblast.h:55:3: error: unknown type name 'u_int16_t'
u_int16_t dest;
^
dvblast.h:56:3: error: unknown type name 'u_int16_t'
u_int16_t len;
^
dvblast.h:57:3: error: unknown type name 'u_int16_t'
u_int16_t check;
^
Makefile:53: recipe for target 'dvblast.o' failed
make[4]: *** [dvblast.o] Error 1
make[4]: Leaving directory
'/home/pavel/hacks/source-17.01.0/build_dir/target-arm_cortex-a9+vfpv3_musl-1.1.16_eabi/dvblast-3.1'
> Hi,
>
> Can you please post the full error message for future reference?
>
> Best regards,
>
>> On 9 Apr 2017, at 11:31, Pavel Löbl <lobl.pavel at gmail.com> wrote:
>>
>> While I was compiling dvblast for LEDE (OpenWRT) it failed because of
>> fixed-width types used in dvblast.h.
>> Adding include of sys/types.h to dvblast.h resolved the issue.
>>
>> Pavel
>> _______________________________________________
>> dvblast-devel mailing list
>> dvblast-devel at videolan.org
>> https://mailman.videolan.org/listinfo/dvblast-devel
>
> _______________________________________________
> dvblast-devel mailing list
> dvblast-devel at videolan.org
> https://mailman.videolan.org/listinfo/dvblast-devel
More information about the dvblast-devel
mailing list