8000 Build fail on Centos with glibc-headers-2.17-292.el7.x86_64 · Issue #9 · xerub/img4lib · GitHub
[go: up one dir, main page]

Skip to content

Build fail on Centos with glibc-headers-2.17-292.el7.x86_64 #9

Open

Description

@timonline
~/Downloads/playground/img4lib$ make
gcc -o img4.o -Wall -W -pedantic -Wno-variadic-macros -Wno-multichar -Wno-four-char-constants -Wno-unused-parameter -O2 -I. -g -DiOS10 -DDER_MULTIBYTE_TAGS=1 -DDER_TAG_SIZE=8 -D__unused="__attribute__((unused))" -Ilzfse/src -Wno-deprecated-declarations -c img4.c
In file included from /usr/include/fcntl.h:77:0,
                 from img4.c:4:
/usr/include/bits/stat.h:106:31: error: expected identifier or ‘(’ before ‘[’ token
     __syscall_slong_t __unused[3];
                               ^

Activity

  1. xerub commented on Nov 17, 2019

    @xerub
    Owner

    try removing -D__unused lines from the Makefiles. iirc, those defines were added to avoid editing some files (oids.c) as my compiler didnt' have it back then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0