Skip to content

Instantly share code, notes, and snippets.

@ncopa
Created May 7, 2014 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ncopa/ca48bc8ac8afd0c61e44 to your computer and use it in GitHub Desktop.
Save ncopa/ca48bc8ac8afd0c61e44 to your computer and use it in GitHub Desktop.
ncdev-edge-x86_64:~/aports/main/cups-filters/src/cups-filters-1.0.53$ make
make all-am
make[1]: Entering directory '/home/ncopa/aports/main/cups-filters/src/cups-filters-1.0.53'
CXX pdftopdf-intervalset.o
In file included from /usr/lib/gcc/x86_64-alpine-linux-musl/4.8.2/include/xmmintrin.h:38:0,
from /usr/lib/gcc/x86_64-alpine-linux-musl/4.8.2/include/x86intrin.h:34,
from /usr/include/c++/4.8.2/x86_64-alpine-linux-musl/bits/opt_random.h:33,
from /usr/include/c++/4.8.2/random:51,
from /usr/include/c++/4.8.2/bits/stl_algo.h:65,
from /usr/include/c++/4.8.2/algorithm:62,
from filter/pdftopdf/intervalset.cc:5:
/usr/lib/gcc/x86_64-alpine-linux-musl/4.8.2/include/mm_malloc.h:34:64: error: declaration of 'int posix_memalign(void**, size_t, size_t) throw ()' has a different exception specifier
extern "C" int posix_memalign (void **, size_t, size_t) throw ();
^
In file included from /usr/include/c++/4.8.2/cstdlib:72:0,
from /usr/include/c++/4.8.2/bits/stl_algo.h:59,
from /usr/include/c++/4.8.2/algorithm:62,
from filter/pdftopdf/intervalset.cc:5:
/usr/include/stdlib.h:98:5: error: from previous declaration 'int posix_memalign(void**, size_t, size_t)'
int posix_memalign (void **, size_t, size_t);
^
Makefile:3487: recipe for target 'pdftopdf-intervalset.o' failed
make[1]: *** [pdftopdf-intervalset.o] Error 1
make[1]: Leaving directory '/home/ncopa/aports/main/cups-filters/src/cups-filters-1.0.53'
Makefile:1609: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment