Skip to content

naive_ntt16.h: error: ntt16_tables.h: No such file or directory #2

@barracuda156

Description

@barracuda156

Build does not seem to work:

--->  Building NTT
Executing:  cd "/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/NTT-773fa67c19d21b2b3d72dd5b6c44ce6d328ee629/src" && /usr/bin/make -j8 -w all CC="/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/cc/usr/bin/gcc-4.2" CXX="/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/cxx/usr/bin/g++-4.2" OBJC="/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/objc/usr/bin/gcc-4.2" OBJCXX="/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/objcxx/usr/bin/g++-4.2" INSTALL="/usr/bin/install -c" 
make: Entering directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/NTT-773fa67c19d21b2b3d72dd5b6c44ce6d328ee629/src'
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/cc/usr/bin/gcc-4.2 -DNDEBUG -D_BSD_SOURCE -DNDEBUG -Wall -std=c99 -O3 -c test_ntt.c
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/cc/usr/bin/gcc-4.2 -DNDEBUG -D_BSD_SOURCE -DNDEBUG -Wall -std=c99 -O3 -c ntt.c
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/cc/usr/bin/gcc-4.2 -DNDEBUG -D_BSD_SOURCE -DNDEBUG -Wall -std=c99 -O3 -c test_ntt_tables.c
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/cc/usr/bin/gcc-4.2 -DNDEBUG -D_BSD_SOURCE -DNDEBUG -Wall -std=c99 -O3 -c test_bitrev_tables.c
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/cc/usr/bin/gcc-4.2 -DNDEBUG -D_BSD_SOURCE -DNDEBUG -Wall -std=c99 -O3 -c sort.c
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/cc/usr/bin/gcc-4.2 -Wall -g -o make_tables make_tables.c
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/cc/usr/bin/gcc-4.2 -Wall -g -o make_bitrev_table make_bitrev_table.c
/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/cc/usr/bin/gcc-4.2 -DNDEBUG -D_BSD_SOURCE -DNDEBUG -Wall -std=c99 -O3 -c test_naive_ntt16.c
In file included from test_naive_ntt16.c:12:
naive_ntt16.h:8:26: error: ntt16_tables.h: No such file or directory
In file included from test_naive_ntt16.c:12:
naive_ntt16.h: In function ‘naive_ntt16_ct_rev2std’:
naive_ntt16.h:22: error: ‘ntt16_omega_powers’ undeclared (first use in this function)
naive_ntt16.h:22: error: (Each undeclared identifier is reported only once
naive_ntt16.h:22: error: for each function it appears in.)
naive_ntt16.h: In function ‘naive_ntt16_gs_rev2std’:
naive_ntt16.h:26: error: ‘ntt16_omega_powers_rev’ undeclared (first use in this function)
naive_ntt16.h: In function ‘naive_ntt16_ct_std2rev’:
naive_ntt16.h:30: error: ‘ntt16_omega_powers_rev’ undeclared (first use in this function)
naive_ntt16.h: In function ‘naive_ntt16_gs_std2rev’:
naive_ntt16.h:34: error: ‘ntt16_omega_powers’ undeclared (first use in this function)
naive_ntt16.h: In function ‘naive_intt16_ct_rev2std’:
naive_ntt16.h:39: error: ‘ntt16_inv_omega_powers’ undeclared (first use in this function)
naive_ntt16.h: In function ‘naive_intt16_gs_rev2std’:
naive_ntt16.h:43: error: ‘ntt16_inv_omega_powers_rev’ undeclared (first use in this function)
naive_ntt16.h: In function ‘naive_intt16_ct_std2rev’:
naive_ntt16.h:47: error: ‘ntt16_inv_omega_powers_rev’ undeclared (first use in this function)
naive_ntt16.h: In function ‘naive_intt16_gs_std2rev’:
naive_ntt16.h:51: error: ‘ntt16_inv_omega_powers’ undeclared (first use in this function)
naive_ntt16.h: In function ‘naive_mulntt16_ct_rev2std’:
naive_ntt16.h:56: error: ‘ntt16_mixed_powers’ undeclared (first use in this function)
naive_ntt16.h: In function ‘naive_mulntt16_ct_std2rev’:
naive_ntt16.h:60: error: ‘ntt16_mixed_powers_rev’ undeclared (first use in this function)
naive_ntt16.h: In function ‘naive_inttmul16_gs_rev2std’:
naive_ntt16.h:65: error: ‘ntt16_inv_mixed_powers_rev’ undeclared (first use in this function)
naive_ntt16.h: In function ‘naive_inttmul16_gs_std2rev’:
naive_ntt16.h:69: error: ‘ntt16_inv_mixed_powers’ undeclared (first use in this function)
test_naive_ntt16.c: In function ‘check_inverse’:
test_naive_ntt16.c:286: error: ‘ntt16_inv_n’ undeclared (first use in this function)
test_naive_ntt16.c: In function ‘main’:
test_naive_ntt16.c:434: error: ‘ntt16_omega’ undeclared (first use in this function)
test_naive_ntt16.c:439: error: ‘ntt16_inv_omega’ undeclared (first use in this function)
make: *** [test_naive_ntt16.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/NTT-773fa67c19d21b2b3d72dd5b6c44ce6d328ee629/src'
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/NTT-773fa67c19d21b2b3d72dd5b6c44ce6d328ee629/src" && /usr/bin/make -j8 -w all CC="/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/cc/usr/bin/gcc-4.2" CXX="/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/cxx/usr/bin/g++-4.2" OBJC="/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/objc/usr/bin/gcc-4.2" OBJCXX="/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_NTT/NTT/work/compwrap/objcxx/usr/bin/g++-4.2" INSTALL="/usr/bin/install -c" 
Exit code: 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