crystal woe

in /usr/local/Cellar/crystal-lang/0.23.0/src/callstack.cr:1: while requiring “c/dlfcn”: can’t find file ‘c/dlfcn’ relative to ‘/usr/local/Cellar/crystal-lang/0.23.0/src’

require “c/dlfcn”
^

A-1007536:jstacker packrd$ crystal build parse_jstack.cr –cross-compile –target “x86_64-unknown-linux-gnu”

 

meant “you passed in an unknown target”

ffmpeg cross compile woes

mp3lame woe

 

i686-w64-mingw32-ranlib .libs/libmpgdecoder.a
creating libmpgdecoder.la
(cd .libs && rm -f libmpgdecoder.la && ln -s ../libmpgdecoder.la libmpgdecoder.la)
make[2]: Leaving directory ‘/root/ffmpeg-windows-build-helpers/sandbox/win32/lame_git/mpglib’
Making all in libmp3lame
make[2]: Entering directory ‘/root/ffmpeg-windows-build-helpers/sandbox/win32/lame_git/libmp3lame’
Making all in i386
make[3]: Entering directory ‘/root/ffmpeg-windows-build-helpers/sandbox/win32/lame_git/libmp3lame/i386’
test -d .libs || mkdir .libs
test -d .libs || mkdir .libs
echo ‘# Generated by ltmain.sh – GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)’ >choose_table.lo
mkdir: cannot create directory ‘.libs’: File exists
Makefile:490: recipe for target ‘cpu_feat.lo’ failed
make[3]: *** [cpu_feat.lo] Error 1
make[3]: *** Waiting for unfinished jobs….
echo “pic_object=’.libs/choose_table.o'” >>choose_table.lo
echo “non_pic_object=’.libs/choose_table.o'” >>choose_table.lo
/usr/bin/nasm -f win32 -DWIN32 -i ../../libmp3lame/i386/ choose_table.nas -o .libs/choose_table.o -l choose_table.lo.lst
choose_table.nas:24: warning: label alone on a line without a colon might be in error
abinit.o
i686-w64-mingw32-ranlib .libs/libmpgdecoder.a
creating libmpgdecoder.la
(cd .libs && rm -f libmpgdecoder.la && ln -s ../libmpgdecoder.la libmpgdecoder.la)
make[2]: Leaving directory ‘/root/ffmpeg-windows-build-helpers/sandbox/win32/lame_git/mpglib’
Making all in libmp3lame
make[2]: Entering directory ‘/root/ffmpeg-windows-build-helpers/sandbox/win32/lame_git/libmp3lame’
Making all in i386
make[3]: Entering directory ‘/root/ffmpeg-windows-build-helpers/sandbox/win32/lame_git/libmp3lame/i386’
test -d .libs || mkdir .libs
test -d .libs || mkdir .libs
echo ‘# Generated by ltmain.sh – GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)’ >choose_table.lo
mkdir: cannot create directory ‘.libs’: File exists
Makefile:490: recipe for target ‘cpu_feat.lo’ failed
make[3]: *** [cpu_feat.lo] Error 1
make[3]: *** Waiting for unfinished jobs….
echo “pic_object=’.libs/choose_table.o'” >>choose_table.lo
echo “non_pic_object=’.libs/choose_table.o'” >>choose_table.lo
/usr/bin/nasm -f win32 -DWIN32 -i ../../libmp3lame/i386/ choose_table.nas -o .libs/choose_table.o -l choose_table.lo.lst
choose_table.nas:24: warning: label alone on a line without a colon might be in error
choose_table.nas:78: warning: label alone on a line without a colon might be in error
choose_table.nas:102: warning: label alone on a line without a colon might be in error
choose_table.nas:109: warning: label alone on a line without a colon might be in error
choose_table.nas:341: warning: label alone on a line without a colon might be in error
choose_table.nas:353: warning: label alone on a line without a colon might be in error
choose_table.nas:414: warning: label alone on a line without a colon might be in error
choose_table.nas:426: warning: label alone on a line without a colon might be in error
choose_table.nas:447: warning: label alone on a line without a colon might be in error
make[3]: Leaving directory ‘/root/ffmpeg-windows-build-helpers/sandbox/win32/lame_git/libmp3lame/i386’
Makefile:492: recipe for target ‘all-recursive’ failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory ‘/root/ffmpeg-windows-build-helpers/sandbox/win32/lame_git/libmp3lame’
Makefile:312: recipe for target ‘all-recursive’ failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory ‘/root/ffmpeg-windows-build-helpers/sandbox/win32/lame_git’
Makefile:240: recipe for target ‘all’ failed
make: *** [all] Error 2

after doing make again it “worked fine” so I presume this meant

meant “don’t build it multi thread (make -j ..) , it can conflict…” 😐

Roger's meanderings, notes to himself, bug reports, and other things