Skip to content

Dahdi won't compile with rocky 9.5 - did with 9.3 #83

@liquidalpha

Description

@liquidalpha

/usr/src/dahdi-linux-complete-3.4.0+3.4.0/linux/drivers/dahdi/wctdm24xxp/base.c:233:27: error: macro "DEFINE_SEMAPHORE" requires 2 arguments, but only 1 given 233 | DEFINE_SEMAPHORE(ifacelock); | ^ In file included from ./include/linux/fs.h:25, from ./include/linux/compat.h:17, from ./arch/x86/include/asm/ia32.h:8, from ./arch/x86/include/asm/elf.h:10, from ./include/linux/elf.h:6, from ./include/linux/module.h:19, from /usr/src/dahdi-linux-complete-3.4.0+3.4.0/linux/drivers/dahdi/wctdm24xxp/base.c:43: ./include/linux/semaphore.h:34: note: macro "DEFINE_SEMAPHORE" defined here 34 | #define DEFINE_SEMAPHORE(_name, _n) \ | /usr/src/dahdi-linux-complete-3.4.0+3.4.0/linux/drivers/dahdi/wctdm24xxp/base.c:233:1: warning: data definition has no type or storage class 233 | DEFINE_SEMAPHORE(ifacelock); | ^~~~~~~~~~~~~~~~ /usr/src/dahdi-linux-complete-3.4.0+3.4.0/linux/drivers/dahdi/wctdm24xxp/base.c:233:1: error: type defaults to ‘int’ in declaration of ‘DEFINE_SEMAPHORE’ [-Werror=implicit-int] cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:249: /usr/src/dahdi-linux-complete-3.4.0+3.4.0/linux/drivers/dahdi/wctdm24xxp/base.o] Error 1 make[3]: *** [scripts/Makefile.build:478: /usr/src/dahdi-linux-complete-3.4.0+3.4.0/linux/drivers/dahdi/wctdm24xxp] Error 2 make[2]: *** [Makefile:1944: /usr/src/dahdi-linux-complete-3.4.0+3.4.0/linux/drivers/dahdi] Error 2 make[2]: Leaving directory '/usr/src/kernels/5.14.0-503.40.1.el9_5.x86_64' make[1]: *** [Makefile:74: modules] Error 2 make[1]: Leaving directory '/usr/src/dahdi-linux-complete-3.4.0+3.4.0/linux' make: *** [Makefile:9: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    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