Skip to content

compile error - src/send_bw.c:179:30: error: ‘VERSION’ undeclared #359

@BaobabAfter17

Description

@BaobabAfter17

Hi dear developers,

I am installing perftest on my machine and got the following error:

/path/to/perftest$ make
make  all-am
make[1]: Entering directory '/path/to/perftest'
  CC       src/send_bw.o
src/send_bw.c: In function ‘main’:
src/send_bw.c:179:30: error: ‘VERSION’ undeclared (first use in this function); did you mean ‘DURATION’?
  strncpy(user_param.version, VERSION, sizeof(user_param.version));
                              ^~~~~~~
                              DURATION
src/send_bw.c:179:30: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [Makefile:950: src/send_bw.o] Error 1
make[1]: Leaving directory '/path/to/perftest'

did not see any error when ./autogen.sh and ./configure, except:

./configure: line 14528: test: =: unary operator expected

My Env

Debian 10
gcc (Debian 8.3.0-6) 8.3.0

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