[Botan-devel] Problem building 1.9.7

Rickard Bellgrim rickard.bellgrim at iis.se
Wed May 5 10:11:19 EDT 2010


> Disabling all of these warnings is easy (and probably I should try to
> remember to do so when doing releases, or else add some sort of
> --maintainer-mode build option). Edit src/build-data/cc/gcc.txt
> and comment out the long warning_flags setting on line 15 and
> perhaps uncomment the shorter one with just -W -Wall.

Thank you, got me on step closer:

g++ -Ibuild/include -O3 -finline-functions -march=i686 -momit-leaf-frame-pointer -D_REENTRANT -ansi -Wno-long-long -fpermissive -W -Wall -fPIC -fvisibility=hidden -c src/utils/cpuid.cpp -o build/lib/cpuid.o
src/utils/cpuid.cpp:31:21: error: cpuid.h: No such file or directory
src/utils/cpuid.cpp: In function ‘Botan::u32bit Botan::<unnamed>::get_x86_cache_line_size()’:
src/utils/cpuid.cpp:55: error: ‘__get_cpuid’ was not declared in this scope
src/utils/cpuid.cpp:59: error: ‘__get_cpuid’ was not declared in this scope
src/utils/cpuid.cpp:64: error: ‘__get_cpuid’ was not declared in this scope
D::x86_processor_flags()’:
src/utils/cpuid.cpp:152: error: ‘__get_cpuid’ was not declared in this scope
make: *** [build/lib/cpuid.o] Error 1

(The cpuid.h is there)

// Rickard


More information about the botan-devel mailing list