Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to compile on FreeBSD #31

Closed
ghost opened this issue Nov 13, 2019 · 1 comment
Closed

Fails to compile on FreeBSD #31

ghost opened this issue Nov 13, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 13, 2019

Making all in smolscale
/bin/sh ../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wextra -Wmissing-prototypes -fvisibility=hidden -DSMOL_WITH_AVX2 -g -O2 -MT libsmolscale_la-smolscale.lo -MD -MP -MF .deps/libsmolscale_la-smolscale.Tpo -c -o libsmolscale_la-smolscale.lo test -f 'smolscale.c' || echo './'smolscale.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wextra -Wmissing-prototypes -fvisibility=hidden -DSMOL_WITH_AVX2 -g -O2 -MT libsmolscale_la-smolscale.lo -MD -MP -MF .deps/libsmolscale_la-smolscale.Tpo -c smolscale.c -fPIC -DPIC -o .libs/libsmolscale_la-smolscale.o
smolscale.c:8:10: fatal error: 'alloca.h' file not found
#include <alloca.h> /* alloca */
^~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/home/gregf/chafa/chafa/internal/smolscale
*** Error code 1

Stop.
make[3]: stopped in /usr/home/gregf/chafa/chafa/internal
*** Error code 1

Stop.
make[2]: stopped in /usr/home/gregf/chafa/chafa
*** Error code 1

Stop.
make[1]: stopped in /usr/home/gregf/chafa
*** Error code 1

Stop.
make: stopped in /usr/home/gregf/chafa

hpjansson added a commit that referenced this issue Nov 13, 2019
This broke the build on FreeBSD. Fixes Github issue #31.
@hpjansson
Copy link
Owner

Fixed in master. Thanks for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant