Skip to content

Instantly share code, notes, and snippets.

% ./configure CC=clang
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... autotools/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... amd64-unknown-freebsd10.2
checking host system type... amd64-unknown-freebsd10.2
checking for gcc... clang
@jungle-boogie
jungle-boogie / gist:9bf651cc084958dea36c
Created September 22, 2015 14:14
make failing #68 - freebsd failure #2
% autoreconf -fiv; ./configure; make
autoreconf-2.69: Entering directory `.'
autoreconf-2.69: configure.ac: not using Gettext
autoreconf-2.69: running: aclocal --force
autoreconf-2.69: configure.ac: tracing
autoreconf-2.69: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autotools'.
libtoolize: copying file 'autotools/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
@jungle-boogie
jungle-boogie / gist:ffce6ee4b3a0ed3da244
Created September 22, 2015 14:10
make failing #68 - freebsd
% autoreconf -if && CC=clang ./configure && make
aclocal-1.15: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autotools'.
libtoolize: copying file 'autotools/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
@jungle-boogie
jungle-boogie / gist:62544a083794897ccc92
Created September 22, 2015 07:03
make failing #68
dsls/libfdsl.la dsls/libpdsl.la -lm
libtool: link: cc -std=gnu99 -g -pg -g -O2 -o mlrp mlrp-mlrmain.o cli/.libs/libcli.a containers/.libs/libcontainers.a stream/.libs/libstream.a input/.libs/libinput.a mapping/.libs/libmapping.a output/.libs/liboutput.a lib/.libs/libmlr.a dsls/.libs/libfdsl.a dsls/.libs/libpdsl.a -lm
/usr/bin/ld: undefined reference to symbol `_end' (try adding -lc)
//lib/libc.so.7: could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make[1]: stopped in /home/vagrant/bin/miller/c
*** Error code 1
@jungle-boogie
jungle-boogie / gist:cc46e900ff75dc73dd83
Last active September 22, 2015 07:02
make failing #68 make
vagrant@:~/bin/miller % make -e CC=clang
make all-recursive
Making all in c
Making all in lib
/bin/csh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -I./../ -std=gnu99 -g -O2 -MT mlr_globals.lo -MD -MP -MF .deps/mlr_globals.Tpo -c -o mlr_globals.lo mlr_globals.c
available_tags=: Command not found.
Missing }.
*** Error code 1
Stop.
@jungle-boogie
jungle-boogie / gist:9c0a20ae0d0cfd0a40e1
Created September 22, 2015 07:00
make failing #68 ./configure
% ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... autotools/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... amd64-unknown-freebsd11.0
@jungle-boogie
jungle-boogie / gist:49b38c8daac24980586d
Created September 22, 2015 06:57
make failing #68 with libtool
% libtool --version
libtool (GNU libtool) 2.4.6
% autoreconf -if
aclocal-1.15: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autotools'.
libtoolize: copying file 'autotools/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
@jungle-boogie
jungle-boogie / gist:9f9449b67cf53e7ec4e0
Created September 22, 2015 06:55
make failing #68 - gnu/linux
% autoreconf -if
aclocal: warning: couldn't open directory 'm4': No such file or directory
configure.ac:12: installing 'autotools/ar-lib'
configure.ac:11: installing 'autotools/compile'
configure.ac:10: installing 'autotools/config.guess'
configure.ac:10: installing 'autotools/config.sub'
configure.ac:8: installing 'autotools/install-sh'
configure.ac:8: installing 'autotools/missing'
c/Makefile.am: installing 'autotools/depcomp'
c/cli/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
% autoreconf -if
aclocal-1.15: warning: couldn't open directory 'm4': No such file or directory
configure.ac:12: installing 'autotools/ar-lib'
configure.ac:11: installing 'autotools/compile'
configure.ac:10: installing 'autotools/config.guess'
configure.ac:10: installing 'autotools/config.sub'
configure.ac:8: installing 'autotools/install-sh'
configure.ac:8: installing 'autotools/missing'
c/Makefile.am: installing 'autotools/depcomp'
c/cli/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
@jungle-boogie
jungle-boogie / gist:45a3904889144e4217f9
Created September 7, 2015 03:43
miller build ticket #64 with CO 54ea039b
% git checkout 54ea039b034ff0874f386b54d5327c1de780b7fb .
% make -e CCOMP=clang
make -C dsls put_dsl_parse.o
clang -o lemon lemon.c
lemon.c:2277:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static preprocess_input(char *z){
~~~~~~ ^
lemon.c:2327:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^