Hello,
I am trying to compile ArcticFox on Alpine Linux.
It compiles fine on different Linux versions and different OpenBSD
versions. It is quite portable... it is firefox comparable.
Compilation dies for me with:
13:11.94 libtoolkit_xre.a.desc
13:11.95 affentry.o
13:11.96 In file included from ./../../../../mozilla-config.h:202,
13:11.97 from <command-line>:
13:11.98
/home/multix/code/Arctic-Fox/extensions/spellcheck/hunspell/src/../glue/hunspell_alloc_hooks.h:54:29:
error: no declaration matches 'void*
HunspellAllocator::CountingCalloc(size_t, size_t)'
13:11.98 54 | #define calloc(count, size)
HunspellAllocator::CountingCalloc(count, size)
13:12.00 | ^~~~~~~~~~~~~~~~~
13:12.00
/home/multix/code/Arctic-Fox/extensions/spellcheck/hunspell/src/../glue/hunspell_alloc_hooks.h:54:29:
note: no functions named 'void*
HunspellAllocator::CountingCalloc(size_t, size_t)'
13:12.02 In file included from
/home/multix/code/Arctic-Fox/extensions/spellcheck/hunspell/src/../glue/hunspell_alloc_hooks.h:51,
13:12.02 from ./../../../../mozilla-config.h:202,
13:12.03 from <command-line>:
13:12.04
/home/multix/code/Arctic-Fox/extensions/spellcheck/hunspell/src/../glue/mozHunspellAllocator.h:12:7:
note: 'class HunspellAllocator' defined here
13:12.05 12 | class HunspellAllocator : public
mozilla::CountingAllocatorBase<HunspellAllocator>
13:12.06 | ^~~~~~~~~~~~~~~~~
13:12.07 In file included from ./../../../../mozilla-config.h:202,
13:12.08 from <command-line>:
I don't understand what here could be MUSL - Alpine specific. and gcc 9
is fine on other system
I tried to conigure with and without
ac_add_options --enable-system-hunspell
No difference: do you have any specific patches there for compiling
Firefox and similars on Alpine?
Thank you.
Riccardo