Skip to content

Fails to build from source: crc64_ecma_norm_by8.S' No such file or directory #56

Closed
@thiagomacieira

Description

@thiagomacieira

Steps to reproduce:

mkdir build
cd build
../configure
make

Output:

$ gmake -j1 V=1 VERBOSE=1
gmake  all-am
gmake[1]: Entering directory '/home/tjmaciei/src/qatlib/build'
  CCAS     quickassist/lookaside/access_layer/src/common/compression/crc32_gzip_refl_by8.lo
nasm: fatal: unable to open input file `quickassist/lookaside/access_layer/src/common/compression/crc32_gzip_refl_by8.S' No such file or directory
gmake[1]: *** [Makefile:6845: crc32_gzip_refl_by8.lo] Error 1
gmake[1]: Leaving directory '/home/tjmaciei/src/qatlib/build'
gmake: *** [Makefile:1941: all] Error 2

The rule in the Makefile.am is probably wrong:

qatlib/Makefile.am

Lines 123 to 130 in 7429ee2

if !USE_CCODE_CRC
# Creating CRC libs from asm files using nasm with automake-like output
libcrc_SOURCES_DIR = quickassist/lookaside/access_layer/src/common/compression/
%.lo:
@echo " CCAS $(libcrc_SOURCES_DIR)$@"
@$(LIBTOOL) --mode=compile --quiet \
nasm -f elf64 -D LINUX -X gnu $(libcrc_SOURCES_DIR)$(@:.lo=.S) -I$(libcrc_SOURCES_DIR) -o $@ -prefer-non-pic
endif

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