Skip to content

Ubuntu 24.04 Build Error #385

@alyxazon

Description

@alyxazon

OS: Ubuntu 24.04
Make target: firmware

Error:

USER_CFLAGS=""
tools/pfilter-builder
lm32-elf-objcopy -I binary  -O elf32-lm32 -B lm32 rules-novlan.bin rules-novlan.o
make -C sdb-lib
make[2]: Entering directory '/workspace/bel_projects/ip_cores/wrpc-sw/sdb-lib'
lm32-elf-gcc -Wall -ggdb -O2 -I../include/linux -I../include  -ffunction-sections -fdata-sections -Wno-pointer-sign  -DSDBFS_LITTLE_ENDIAN -I/lib/modules/6.8.0-49-generic/build/arch/x86/include -Iarch/x86/include/generated -I/lib/modules/6.8.0-49-generic/build/include   -c -o glue.o glue.c
In file included from libsdbfs.h:10:0,
                 from glue.c:12:
libsdbfs-freestanding.h:18:4: error: #error "No support, yet, for little-endian freestanding library"
In file included from glue.c:12:0:
libsdbfs.h: In function 'htonll':
libsdbfs.h:80:9: warning: implicit declaration of function 'htonl'
glue.c: In function 'sdbfs_dev_create':
glue.c:28:3: warning: implicit declaration of function 'ntohl'
glue.c: In function 'scan_newdir':
glue.c:116:2: warning: implicit declaration of function 'ntohs'
make[2]: *** [<builtin>: glue.o] Error 1
make[2]: Leaving directory '/workspace/bel_projects/ip_cores/wrpc-sw/sdb-lib'
make[1]: *** [Makefile:164: sdb-lib/libsdbfs.a] Error 2
make[1]: Leaving directory '/workspace/bel_projects/ip_cores/wrpc-sw'
make: *** [Makefile:234: firmware] Error 2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions