Skip to content

Instantly share code, notes, and snippets.

@epadilla
Created August 30, 2023 22:56
Show Gist options
  • Save epadilla/f1428d297a63e5f230d7ada17d50cfe8 to your computer and use it in GitHub Desktop.
Save epadilla/f1428d297a63e5f230d7ada17d50cfe8 to your computer and use it in GitHub Desktop.
➜ Rack git:(v2) arch
i386
➜ Rack git:(v2) make clean
rm -rfv build dist libRack.dylib Rack *.a
➜ Rack git:(v2) make dep
/Library/Developer/CommandLineTools/usr/bin/make -C dep
cd jansson-2.12 && ./configure --prefix="/Users/epadilla/Dropbox/VCVRackDev/Rack/dep"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... rm: conftest.dSYM: is a directory
yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-apple-darwin22.5.0
checking host system type... x86_64-apple-darwin22.5.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... rm: conftest.dSYM: is a directory
BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786432
checking how to convert x86_64-apple-darwin22.5.0 file names to x86_64-apple-darwin22.5.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin22.5.0 file names to toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... rm: conftest.dSYM: is a directory
no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... rm: conftest.dSYM: is a directory
ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin22.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for int32_t... yes
checking for uint32_t... yes
checking for uint16_t... yes
checking for uint8_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for inline... inline
checking for close... yes
checking for getpid... yes
checking for gettimeofday... yes
checking for localeconv... yes
checking for open... yes
checking for read... yes
checking for sched_yield... yes
checking for strtoll... yes
checking for gcc __sync builtins... yes
checking for gcc __atomic builtins... yes
checking for -Bsymbolic-functions linker flag... no
checking for -Wno-format-truncation... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating jansson.pc
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/jansson_config.h
config.status: creating test/Makefile
config.status: creating test/bin/Makefile
config.status: creating test/suites/Makefile
config.status: creating test/suites/api/Makefile
config.status: creating jansson_private_config.h
config.status: jansson_private_config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
/Library/Developer/CommandLineTools/usr/bin/make -C jansson-2.12
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in doc
make[4]: Nothing to be done for `all'.
Making all in src
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c -o dump.lo dump.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c dump.c -fno-common -DPIC -o .libs/dump.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c dump.c -o dump.o >/dev/null 2>&1
mv -f .deps/dump.Tpo .deps/dump.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT error.lo -MD -MP -MF .deps/error.Tpo -c -o error.lo error.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fno-common -DPIC -o .libs/error.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
mv -f .deps/error.Tpo .deps/error.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.lo hashtable.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c hashtable.c -fno-common -DPIC -o .libs/hashtable.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c hashtable.c -o hashtable.o >/dev/null 2>&1
mv -f .deps/hashtable.Tpo .deps/hashtable.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c -o hashtable_seed.lo hashtable_seed.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c hashtable_seed.c -fno-common -DPIC -o .libs/hashtable_seed.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c hashtable_seed.c -o hashtable_seed.o >/dev/null 2>&1
mv -f .deps/hashtable_seed.Tpo .deps/hashtable_seed.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT load.lo -MD -MP -MF .deps/load.Tpo -c -o load.lo load.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c -fno-common -DPIC -o .libs/load.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c -o load.o >/dev/null 2>&1
mv -f .deps/load.Tpo .deps/load.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c -o memory.lo memory.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c memory.c -fno-common -DPIC -o .libs/memory.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c memory.c -o memory.o >/dev/null 2>&1
mv -f .deps/memory.Tpo .deps/memory.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c -o pack_unpack.lo pack_unpack.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c pack_unpack.c -fno-common -DPIC -o .libs/pack_unpack.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c pack_unpack.c -o pack_unpack.o >/dev/null 2>&1
mv -f .deps/pack_unpack.Tpo .deps/pack_unpack.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c -o strbuffer.lo strbuffer.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c strbuffer.c -fno-common -DPIC -o .libs/strbuffer.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c strbuffer.c -o strbuffer.o >/dev/null 2>&1
mv -f .deps/strbuffer.Tpo .deps/strbuffer.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c -o strconv.lo strconv.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c strconv.c -fno-common -DPIC -o .libs/strconv.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c strconv.c -o strconv.o >/dev/null 2>&1
mv -f .deps/strconv.Tpo .deps/strconv.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT value.lo -MD -MP -MF .deps/value.Tpo -c -o value.lo value.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT value.lo -MD -MP -MF .deps/value.Tpo -c value.c -fno-common -DPIC -o .libs/value.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -MT value.lo -MD -MP -MF .deps/value.Tpo -c value.c -o value.o >/dev/null 2>&1
mv -f .deps/value.Tpo .deps/value.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wextra -Wdeclaration-after-statement -Wshadow -g -O3 -fPIC -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -no-undefined -export-symbols-regex '^json_' -version-info 15:1:11 -mmacosx-version-min=10.9 -stdlib=libc++ -o libjansson.la -rpath /Users/epadilla/Dropbox/VCVRackDev/Rack/dep/lib dump.lo error.lo hashtable.lo hashtable_seed.lo load.lo memory.lo pack_unpack.lo strbuffer.lo strconv.lo utf.lo value.lo
libtool: link: rm -fr .libs/libjansson.exp
libtool: link: /usr/bin/nm -B .libs/dump.o .libs/error.o .libs/hashtable.o .libs/hashtable_seed.o .libs/load.o .libs/memory.o .libs/pack_unpack.o .libs/strbuffer.o .libs/strconv.o .libs/utf.o .libs/value.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libjansson.exp
libtool: link: /usr/bin/grep -E -e "^json_" ".libs/libjansson.exp" > ".libs/libjansson.expT"
libtool: link: mv -f ".libs/libjansson.expT" ".libs/libjansson.exp"
libtool: link: sed 's|^|_|' < .libs/libjansson.exp > .libs/libjansson-symbols.expsym
libtool: link: gcc -dynamiclib -o .libs/libjansson.4.dylib .libs/dump.o .libs/error.o .libs/hashtable.o .libs/hashtable_seed.o .libs/load.o .libs/memory.o .libs/pack_unpack.o .libs/strbuffer.o .libs/strconv.o .libs/utf.o .libs/value.o -g -O3 -march=nehalem -mmacosx-version-min=10.9 -stdlib=libc++ -mmacosx-version-min=10.9 -stdlib=libc++ -install_name /Users/epadilla/Dropbox/VCVRackDev/Rack/dep/lib/libjansson.4.dylib -compatibility_version 16 -current_version 16.1 -Wl,-single_module -Wl,-exported_symbols_list,.libs/libjansson-symbols.expsym
ld: warning: ignoring file .libs/utf.o, building for macOS-x86_64 but attempting to link with file built for unknown-arm64
Undefined symbols for architecture x86_64:
"_utf8_check_first", referenced from:
_lex_scan in load.o
_lex_unget_unsave in load.o
_stream_get in load.o
"_utf8_check_full", referenced from:
_stream_get in load.o
"_utf8_check_string", referenced from:
_read_string in pack_unpack.o
_json_object_set_new in value.o
_json_string in value.o
_json_stringn in value.o
_json_string_set in value.o
_json_string_setn in value.o
_json_vsprintf in value.o
...
"_utf8_encode", referenced from:
_lex_scan in load.o
"_utf8_iterate", referenced from:
_dump_string in dump.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libjansson.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [lib/libjansson.a] Error 2
make: *** [dep] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment