coverclock / com-diag-hazer

Parse NMEA sentences and other typical output from GNSS devices.
GNU Lesser General Public License v2.1
14 stars 6 forks source link

app/dgmtool/main.c:37:10: fatal error: com/diag/diminuto/diminuto_assert.h: No such file or directory #2

Closed realtime-neil closed 1 year ago

realtime-neil commented 1 year ago

I'm almost certainly holding it wrong. How do I do it right?

$ script --command 'git describe --long --always --dirty && git clean -ffxd && make' /tmp/script.out
Script started on 2023-08-19 17:48:04+00:00 [COMMAND="git describe --long --always --dirty && git clean -ffxd && make" TERM="st-256color" TTY="/dev/pts/10" COLUMNS="136" LINES="74"]
1.1.0-2297-gf59791a
Removing Hazer/out/
make -C Hazer all
make[1]: Entering directory '/home/neil/code/com-diag-hazer/Hazer'
D=`dirname out/host/inc/com/diag/hazer/hazer_release.h`; mkdir -p $D
echo '/* GENERATED FILE! DO NOT EDIT! */' > out/host/inc/com/diag/hazer/hazer_release.h
echo '#ifndef _H_COM_DIAG_HAZER_RELEASE_' >> out/host/inc/com/diag/hazer/hazer_release.h
echo '#define _H_COM_DIAG_HAZER_RELEASE_' >> out/host/inc/com/diag/hazer/hazer_release.h
echo '#define COM_DIAG_HAZER_RELEASE_MAJOR 60' >> out/host/inc/com/diag/hazer/hazer_release.h
echo '#define COM_DIAG_HAZER_RELEASE_MINOR 1' >> out/host/inc/com/diag/hazer/hazer_release.h
echo '#define COM_DIAG_HAZER_RELEASE_BUILD 0' >> out/host/inc/com/diag/hazer/hazer_release.h
echo '#define COM_DIAG_HAZER_RELEASE "60.1.0"' >> out/host/inc/com/diag/hazer/hazer_release.h
echo '#endif' >> out/host/inc/com/diag/hazer/hazer_release.h
D=`dirname out/host/inc/com/diag/hazer/hazer_vintage.h`; mkdir -p $D
echo '/* GENERATED FILE! DO NOT EDIT! */' > out/host/inc/com/diag/hazer/hazer_vintage.h
echo '#ifndef _H_COM_DIAG_HAZER_VINTAGE_' >> out/host/inc/com/diag/hazer/hazer_vintage.h
echo '#define _H_COM_DIAG_HAZER_VINTAGE_' >> out/host/inc/com/diag/hazer/hazer_vintage.h
echo '#define COM_DIAG_HAZER_VINTAGE "2023-08-19T17:48:04.424257319+0000"' >> out/host/inc/com/diag/hazer/hazer_vintage.h
echo '#endif' >> out/host/inc/com/diag/hazer/hazer_vintage.h
D=`dirname out/host/inc/com/diag/hazer/hazer_revision.h`; mkdir -p $D
echo '/* GENERATED FILE! DO NOT EDIT! */' > out/host/inc/com/diag/hazer/hazer_revision.h
echo '#ifndef _H_COM_DIAG_HAZER_REVISION_' >> out/host/inc/com/diag/hazer/hazer_revision.h
echo '#define _H_COM_DIAG_HAZER_REVISION_' >> out/host/inc/com/diag/hazer/hazer_revision.h
echo '#define COM_DIAG_HAZER_REVISION "f59791aa166ca584458ad02b547d4742a6cc7a48"' >> out/host/inc/com/diag/hazer/hazer_revision.h
echo '#endif' >> out/host/inc/com/diag/hazer/hazer_revision.h
D=`dirname out/host/obc/src/calico.o`; mkdir -p $D
gcc  -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/calico.o -c src/calico.c
D=`dirname out/host/obc/src/coordinates.o`; mkdir -p $D
gcc  -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/coordinates.o -c src/coordinates.c
D=`dirname out/host/obc/src/datagram.o`; mkdir -p $D
gcc  -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/datagram.o -c src/datagram.c
D=`dirname out/host/obc/src/hazer.o`; mkdir -p $D
gcc  -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer.o -c src/hazer.c
D=`dirname out/host/obc/src/hazer_release.o`; mkdir -p $D
gcc  -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_release.o -c src/hazer_release.c
D=`dirname out/host/obc/src/hazer_revision.o`; mkdir -p $D
gcc  -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_revision.o -c src/hazer_revision.c
D=`dirname out/host/obc/src/hazer_vintage.o`; mkdir -p $D
gcc  -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_vintage.o -c src/hazer_vintage.c
D=`dirname out/host/obc/src/machine.o`; mkdir -p $D
gcc  -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/machine.o -c src/machine.c
D=`dirname out/host/obc/src/tumbleweed.o`; mkdir -p $D
gcc  -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/tumbleweed.o -c src/tumbleweed.c
D=`dirname out/host/obc/src/yodel.o`; mkdir -p $D
gcc  -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/yodel.o -c src/yodel.c
D=`dirname out/host/arc/libhazer.a`; mkdir -p $D
ar crsv out/host/arc/libhazer.a out/host/obc/src/calico.o out/host/obc/src/coordinates.o out/host/obc/src/datagram.o out/host/obc/src/hazer.o out/host/obc/src/hazer_release.o out/host/obc/src/hazer_revision.o out/host/obc/src/hazer_vintage.o out/host/obc/src/machine.o out/host/obc/src/tumbleweed.o out/host/obc/src/yodel.o
a - out/host/obc/src/calico.o
a - out/host/obc/src/coordinates.o
a - out/host/obc/src/datagram.o
a - out/host/obc/src/hazer.o
a - out/host/obc/src/hazer_release.o
a - out/host/obc/src/hazer_revision.o
a - out/host/obc/src/hazer_vintage.o
a - out/host/obc/src/machine.o
a - out/host/obc/src/tumbleweed.o
a - out/host/obc/src/yodel.o
ranlib out/host/arc/libhazer.a
D=`dirname out/host/lib/libhazer.so.60.1`; mkdir -p $D
gcc  -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -shared -Wl,-soname,libhazer.so.60.1 -o out/host/lib/libhazer.so.60.1  -lm out/host/obc/src/calico.o out/host/obc/src/coordinates.o out/host/obc/src/datagram.o out/host/obc/src/hazer.o out/host/obc/src/hazer_release.o out/host/obc/src/hazer_revision.o out/host/obc/src/hazer_vintage.o out/host/obc/src/machine.o out/host/obc/src/tumbleweed.o out/host/obc/src/yodel.o
D=`dirname out/host/lib/libhazer.so.60.1`; F=`basename out/host/lib/libhazer.so.60.1`; T=`basename out/host/lib/libhazer.so.60`; ( cd $D; ln -s -f $F $T ) 
D=`dirname out/host/lib/libhazer.so.60`; F=`basename out/host/lib/libhazer.so.60`; T=`basename out/host/lib/libhazer.so`; ( cd $D; ln -s -f $F $T ) 
D=`dirname out/host/app/dgmtool`; mkdir -p $D
gcc -iquote app/dgmtool  -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/app/dgmtool app/dgmtool/*.c -Lout/host/lib -lhazer -lm -L/home/neil/code/com-diag-diminuto/Diminuto/out/host/lib -ldiminuto -lpthread -lrt -ldl
app/dgmtool/main.c:37:10: fatal error: com/diag/diminuto/diminuto_assert.h: No such file or directory
   37 | #include "com/diag/diminuto/diminuto_assert.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:309: out/host/app/dgmtool] Error 1
make[1]: Leaving directory '/home/neil/code/com-diag-hazer/Hazer'
make: *** [Makefile:12: all] Error 2

Script done on 2023-08-19 17:48:05+00:00 [COMMAND_EXIT_CODE="2"]
coverclock commented 1 year ago

Huh. I don’t really think this is the problem, but as a diagnostic step, do a “make depend” first before doing a “make all” (which is not exactly the same as “make depend all”).

On Aug 19, 2023, at 11:52 , realtime-neil @.***> wrote:

I'm almost certainly holding it wrong. How do I do it right?

$ script --command 'git describe --long --always --dirty && git clean -ffxd && make' /tmp/script.out Script started on 2023-08-19 17:48:04+00:00 [COMMAND="git describe --long --always --dirty && git clean -ffxd && make" TERM="st-256color" TTY="/dev/pts/10" COLUMNS="136" LINES="74"] 1.1.0-2297-gf59791a Removing Hazer/out/ make -C Hazer all make[1]: Entering directory '/home/neil/code/com-diag-hazer/Hazer' D=dirname out/host/inc/com/diag/hazer/hazer_release.h; mkdir -p $D echo '/ GENERATED FILE! DO NOT EDIT! /' > out/host/inc/com/diag/hazer/hazer_release.h echo '#ifndef _H_COM_DIAG_HAZERRELEASE' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define _H_COM_DIAG_HAZERRELEASE' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE_MAJOR 60' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE_MINOR 1' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE_BUILD 0' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE "60.1.0"' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#endif' >> out/host/inc/com/diag/hazer/hazer_release.h D=dirname out/host/inc/com/diag/hazer/hazer_vintage.h; mkdir -p $D echo '/ GENERATED FILE! DO NOT EDIT! /' > out/host/inc/com/diag/hazer/hazer_vintage.h echo '#ifndef _H_COM_DIAG_HAZERVINTAGE' >> out/host/inc/com/diag/hazer/hazer_vintage.h echo '#define _H_COM_DIAG_HAZERVINTAGE' >> out/host/inc/com/diag/hazer/hazer_vintage.h echo '#define COM_DIAG_HAZER_VINTAGE "2023-08-19T17:48:04.424257319+0000"' >> out/host/inc/com/diag/hazer/hazer_vintage.h echo '#endif' >> out/host/inc/com/diag/hazer/hazer_vintage.h D=dirname out/host/inc/com/diag/hazer/hazer_revision.h; mkdir -p $D echo '/ GENERATED FILE! DO NOT EDIT! /' > out/host/inc/com/diag/hazer/hazer_revision.h echo '#ifndef _H_COM_DIAG_HAZERREVISION' >> out/host/inc/com/diag/hazer/hazer_revision.h echo '#define _H_COM_DIAG_HAZERREVISION' >> out/host/inc/com/diag/hazer/hazer_revision.h echo '#define COM_DIAG_HAZER_REVISION "f59791aa166ca584458ad02b547d4742a6cc7a48"' >> out/host/inc/com/diag/hazer/hazer_revision.h echo '#endif' >> out/host/inc/com/diag/hazer/hazer_revision.h D=dirname out/host/obc/src/calico.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/calico.o -c src/calico.c D=dirname out/host/obc/src/coordinates.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/coordinates.o -c src/coordinates.c D=dirname out/host/obc/src/datagram.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/datagram.o -c src/datagram.c D=dirname out/host/obc/src/hazer.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer.o -c src/hazer.c D=dirname out/host/obc/src/hazer_release.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_release.o -c src/hazer_release.c D=dirname out/host/obc/src/hazer_revision.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_revision.o -c src/hazer_revision.c D=dirname out/host/obc/src/hazer_vintage.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_vintage.o -c src/hazer_vintage.c D=dirname out/host/obc/src/machine.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/machine.o -c src/machine.c D=dirname out/host/obc/src/tumbleweed.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/tumbleweed.o -c src/tumbleweed.c D=dirname out/host/obc/src/yodel.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/yodel.o -c src/yodel.c D=dirname out/host/arc/libhazer.a; mkdir -p $D ar crsv out/host/arc/libhazer.a out/host/obc/src/calico.o out/host/obc/src/coordinates.o out/host/obc/src/datagram.o out/host/obc/src/hazer.o out/host/obc/src/hazer_release.o out/host/obc/src/hazer_revision.o out/host/obc/src/hazer_vintage.o out/host/obc/src/machine.o out/host/obc/src/tumbleweed.o out/host/obc/src/yodel.o a - out/host/obc/src/calico.o a - out/host/obc/src/coordinates.o a - out/host/obc/src/datagram.o a - out/host/obc/src/hazer.o a - out/host/obc/src/hazer_release.o a - out/host/obc/src/hazer_revision.o a - out/host/obc/src/hazer_vintage.o a - out/host/obc/src/machine.o a - out/host/obc/src/tumbleweed.o a - out/host/obc/src/yodel.o ranlib out/host/arc/libhazer.a D=dirname out/host/lib/libhazer.so.60.1; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -shared -Wl,-soname,libhazer.so.60.1 -o out/host/lib/libhazer.so.60.1 -lm out/host/obc/src/calico.o out/host/obc/src/coordinates.o out/host/obc/src/datagram.o out/host/obc/src/hazer.o out/host/obc/src/hazer_release.o out/host/obc/src/hazer_revision.o out/host/obc/src/hazer_vintage.o out/host/obc/src/machine.o out/host/obc/src/tumbleweed.o out/host/obc/src/yodel.o D=dirname out/host/lib/libhazer.so.60.1; F=basename out/host/lib/libhazer.so.60.1; T=basename out/host/lib/libhazer.so.60; ( cd $D; ln -s -f $F $T ) D=dirname out/host/lib/libhazer.so.60; F=basename out/host/lib/libhazer.so.60; T=basename out/host/lib/libhazer.so; ( cd $D; ln -s -f $F $T ) D=dirname out/host/app/dgmtool; mkdir -p $D gcc -iquote app/dgmtool -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/app/dgmtool app/dgmtool/*.c -Lout/host/lib -lhazer -lm -L/home/neil/code/com-diag-diminuto/Diminuto/out/host/lib -ldiminuto -lpthread -lrt -ldl �[01m�[Kapp/dgmtool/main.c:37:10:�[m�[K �[01;31m�[Kfatal error: �[m�[Kcom/diag/diminuto/diminuto_assert.h: No such file or directory 37 | #include �[01;31m�[K"com/diag/diminuto/diminuto_assert.h"�[m�[K | �[01;31m�[K^~~~~~~~~�[m�[K compilation terminated. make[1]: [Makefile:309: out/host/app/dgmtool] Error 1 make[1]: Leaving directory '/home/neil/code/com-diag-hazer/Hazer' make: [Makefile:12: all] Error 2

Script done on 2023-08-19 17:48:05+00:00 [COMMAND_EXIT_CODE="2"] — Reply to this email directly, view it on GitHub https://github.com/coverclock/com-diag-hazer/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPQ5HWIQUOF76FS4BY4G73XWD4NRANCNFSM6AAAAAA3WWX4VU. You are receiving this because you are subscribed to this thread.

-- J. L. Sloan Digital Aggregates Corporation +1.303.489.5178 3440 Youngfield Street @.*** #209 http://www.diag.com Wheat Ridge CO 80033 USA

coverclock commented 1 year ago

And as crazy and impossible as it sounds, verify that there really is a

/home/neil/code/com-diag-diminuto/Diminuto/inc/com/diag/diminuto/diminuto_assert.h

On Aug 19, 2023, at 11:52 , realtime-neil @.***> wrote:

I'm almost certainly holding it wrong. How do I do it right?

$ script --command 'git describe --long --always --dirty && git clean -ffxd && make' /tmp/script.out Script started on 2023-08-19 17:48:04+00:00 [COMMAND="git describe --long --always --dirty && git clean -ffxd && make" TERM="st-256color" TTY="/dev/pts/10" COLUMNS="136" LINES="74"] 1.1.0-2297-gf59791a Removing Hazer/out/ make -C Hazer all make[1]: Entering directory '/home/neil/code/com-diag-hazer/Hazer' D=dirname out/host/inc/com/diag/hazer/hazer_release.h; mkdir -p $D echo '/ GENERATED FILE! DO NOT EDIT! /' > out/host/inc/com/diag/hazer/hazer_release.h echo '#ifndef _H_COM_DIAG_HAZERRELEASE' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define _H_COM_DIAG_HAZERRELEASE' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE_MAJOR 60' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE_MINOR 1' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE_BUILD 0' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE "60.1.0"' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#endif' >> out/host/inc/com/diag/hazer/hazer_release.h D=dirname out/host/inc/com/diag/hazer/hazer_vintage.h; mkdir -p $D echo '/ GENERATED FILE! DO NOT EDIT! /' > out/host/inc/com/diag/hazer/hazer_vintage.h echo '#ifndef _H_COM_DIAG_HAZERVINTAGE' >> out/host/inc/com/diag/hazer/hazer_vintage.h echo '#define _H_COM_DIAG_HAZERVINTAGE' >> out/host/inc/com/diag/hazer/hazer_vintage.h echo '#define COM_DIAG_HAZER_VINTAGE "2023-08-19T17:48:04.424257319+0000"' >> out/host/inc/com/diag/hazer/hazer_vintage.h echo '#endif' >> out/host/inc/com/diag/hazer/hazer_vintage.h D=dirname out/host/inc/com/diag/hazer/hazer_revision.h; mkdir -p $D echo '/ GENERATED FILE! DO NOT EDIT! /' > out/host/inc/com/diag/hazer/hazer_revision.h echo '#ifndef _H_COM_DIAG_HAZERREVISION' >> out/host/inc/com/diag/hazer/hazer_revision.h echo '#define _H_COM_DIAG_HAZERREVISION' >> out/host/inc/com/diag/hazer/hazer_revision.h echo '#define COM_DIAG_HAZER_REVISION "f59791aa166ca584458ad02b547d4742a6cc7a48"' >> out/host/inc/com/diag/hazer/hazer_revision.h echo '#endif' >> out/host/inc/com/diag/hazer/hazer_revision.h D=dirname out/host/obc/src/calico.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/calico.o -c src/calico.c D=dirname out/host/obc/src/coordinates.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/coordinates.o -c src/coordinates.c D=dirname out/host/obc/src/datagram.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/datagram.o -c src/datagram.c D=dirname out/host/obc/src/hazer.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer.o -c src/hazer.c D=dirname out/host/obc/src/hazer_release.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_release.o -c src/hazer_release.c D=dirname out/host/obc/src/hazer_revision.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_revision.o -c src/hazer_revision.c D=dirname out/host/obc/src/hazer_vintage.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_vintage.o -c src/hazer_vintage.c D=dirname out/host/obc/src/machine.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/machine.o -c src/machine.c D=dirname out/host/obc/src/tumbleweed.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/tumbleweed.o -c src/tumbleweed.c D=dirname out/host/obc/src/yodel.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/yodel.o -c src/yodel.c D=dirname out/host/arc/libhazer.a; mkdir -p $D ar crsv out/host/arc/libhazer.a out/host/obc/src/calico.o out/host/obc/src/coordinates.o out/host/obc/src/datagram.o out/host/obc/src/hazer.o out/host/obc/src/hazer_release.o out/host/obc/src/hazer_revision.o out/host/obc/src/hazer_vintage.o out/host/obc/src/machine.o out/host/obc/src/tumbleweed.o out/host/obc/src/yodel.o a - out/host/obc/src/calico.o a - out/host/obc/src/coordinates.o a - out/host/obc/src/datagram.o a - out/host/obc/src/hazer.o a - out/host/obc/src/hazer_release.o a - out/host/obc/src/hazer_revision.o a - out/host/obc/src/hazer_vintage.o a - out/host/obc/src/machine.o a - out/host/obc/src/tumbleweed.o a - out/host/obc/src/yodel.o ranlib out/host/arc/libhazer.a D=dirname out/host/lib/libhazer.so.60.1; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -shared -Wl,-soname,libhazer.so.60.1 -o out/host/lib/libhazer.so.60.1 -lm out/host/obc/src/calico.o out/host/obc/src/coordinates.o out/host/obc/src/datagram.o out/host/obc/src/hazer.o out/host/obc/src/hazer_release.o out/host/obc/src/hazer_revision.o out/host/obc/src/hazer_vintage.o out/host/obc/src/machine.o out/host/obc/src/tumbleweed.o out/host/obc/src/yodel.o D=dirname out/host/lib/libhazer.so.60.1; F=basename out/host/lib/libhazer.so.60.1; T=basename out/host/lib/libhazer.so.60; ( cd $D; ln -s -f $F $T ) D=dirname out/host/lib/libhazer.so.60; F=basename out/host/lib/libhazer.so.60; T=basename out/host/lib/libhazer.so; ( cd $D; ln -s -f $F $T ) D=dirname out/host/app/dgmtool; mkdir -p $D gcc -iquote app/dgmtool -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/app/dgmtool app/dgmtool/*.c -Lout/host/lib -lhazer -lm -L/home/neil/code/com-diag-diminuto/Diminuto/out/host/lib -ldiminuto -lpthread -lrt -ldl �[01m�[Kapp/dgmtool/main.c:37:10:�[m�[K �[01;31m�[Kfatal error: �[m�[Kcom/diag/diminuto/diminuto_assert.h: No such file or directory 37 | #include �[01;31m�[K"com/diag/diminuto/diminuto_assert.h"�[m�[K | �[01;31m�[K^~~~~~~~~�[m�[K compilation terminated. make[1]: [Makefile:309: out/host/app/dgmtool] Error 1 make[1]: Leaving directory '/home/neil/code/com-diag-hazer/Hazer' make: [Makefile:12: all] Error 2

Script done on 2023-08-19 17:48:05+00:00 [COMMAND_EXIT_CODE="2"] — Reply to this email directly, view it on GitHub https://github.com/coverclock/com-diag-hazer/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPQ5HWIQUOF76FS4BY4G73XWD4NRANCNFSM6AAAAAA3WWX4VU. You are receiving this because you are subscribed to this thread.

-- J. L. Sloan Digital Aggregates Corporation +1.303.489.5178 3440 Youngfield Street @.*** #209 http://www.diag.com Wheat Ridge CO 80033 USA

coverclock commented 1 year ago

Also, I’d be interested in knowing the output of the Diminuto “platform” script, which is probably in something like

/home/neil/code/com-diag-diminuto/Diminuto/out/host/bin/platform

and might work if you have

/home/neil/code/com-diag-diminuto/Diminuto/out/host/bin

in your path.

Sourcing

. /home/neil/code/com-diag-diminuto/Diminuto/out/host/bin/setup

or

. /home/neil/code/com-diag-hazer/Hazer/out/host/bin/setup

(if the latter has been built yet) into your shell (assuming you’re not cross compiling) should set PATH etc.

On Aug 19, 2023, at 11:52 , realtime-neil @.***> wrote:

I'm almost certainly holding it wrong. How do I do it right?

$ script --command 'git describe --long --always --dirty && git clean -ffxd && make' /tmp/script.out Script started on 2023-08-19 17:48:04+00:00 [COMMAND="git describe --long --always --dirty && git clean -ffxd && make" TERM="st-256color" TTY="/dev/pts/10" COLUMNS="136" LINES="74"] 1.1.0-2297-gf59791a Removing Hazer/out/ make -C Hazer all make[1]: Entering directory '/home/neil/code/com-diag-hazer/Hazer' D=dirname out/host/inc/com/diag/hazer/hazer_release.h; mkdir -p $D echo '/ GENERATED FILE! DO NOT EDIT! /' > out/host/inc/com/diag/hazer/hazer_release.h echo '#ifndef _H_COM_DIAG_HAZERRELEASE' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define _H_COM_DIAG_HAZERRELEASE' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE_MAJOR 60' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE_MINOR 1' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE_BUILD 0' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE "60.1.0"' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#endif' >> out/host/inc/com/diag/hazer/hazer_release.h D=dirname out/host/inc/com/diag/hazer/hazer_vintage.h; mkdir -p $D echo '/ GENERATED FILE! DO NOT EDIT! /' > out/host/inc/com/diag/hazer/hazer_vintage.h echo '#ifndef _H_COM_DIAG_HAZERVINTAGE' >> out/host/inc/com/diag/hazer/hazer_vintage.h echo '#define _H_COM_DIAG_HAZERVINTAGE' >> out/host/inc/com/diag/hazer/hazer_vintage.h echo '#define COM_DIAG_HAZER_VINTAGE "2023-08-19T17:48:04.424257319+0000"' >> out/host/inc/com/diag/hazer/hazer_vintage.h echo '#endif' >> out/host/inc/com/diag/hazer/hazer_vintage.h D=dirname out/host/inc/com/diag/hazer/hazer_revision.h; mkdir -p $D echo '/ GENERATED FILE! DO NOT EDIT! /' > out/host/inc/com/diag/hazer/hazer_revision.h echo '#ifndef _H_COM_DIAG_HAZERREVISION' >> out/host/inc/com/diag/hazer/hazer_revision.h echo '#define _H_COM_DIAG_HAZERREVISION' >> out/host/inc/com/diag/hazer/hazer_revision.h echo '#define COM_DIAG_HAZER_REVISION "f59791aa166ca584458ad02b547d4742a6cc7a48"' >> out/host/inc/com/diag/hazer/hazer_revision.h echo '#endif' >> out/host/inc/com/diag/hazer/hazer_revision.h D=dirname out/host/obc/src/calico.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/calico.o -c src/calico.c D=dirname out/host/obc/src/coordinates.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/coordinates.o -c src/coordinates.c D=dirname out/host/obc/src/datagram.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/datagram.o -c src/datagram.c D=dirname out/host/obc/src/hazer.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer.o -c src/hazer.c D=dirname out/host/obc/src/hazer_release.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_release.o -c src/hazer_release.c D=dirname out/host/obc/src/hazer_revision.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_revision.o -c src/hazer_revision.c D=dirname out/host/obc/src/hazer_vintage.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_vintage.o -c src/hazer_vintage.c D=dirname out/host/obc/src/machine.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/machine.o -c src/machine.c D=dirname out/host/obc/src/tumbleweed.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/tumbleweed.o -c src/tumbleweed.c D=dirname out/host/obc/src/yodel.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/yodel.o -c src/yodel.c D=dirname out/host/arc/libhazer.a; mkdir -p $D ar crsv out/host/arc/libhazer.a out/host/obc/src/calico.o out/host/obc/src/coordinates.o out/host/obc/src/datagram.o out/host/obc/src/hazer.o out/host/obc/src/hazer_release.o out/host/obc/src/hazer_revision.o out/host/obc/src/hazer_vintage.o out/host/obc/src/machine.o out/host/obc/src/tumbleweed.o out/host/obc/src/yodel.o a - out/host/obc/src/calico.o a - out/host/obc/src/coordinates.o a - out/host/obc/src/datagram.o a - out/host/obc/src/hazer.o a - out/host/obc/src/hazer_release.o a - out/host/obc/src/hazer_revision.o a - out/host/obc/src/hazer_vintage.o a - out/host/obc/src/machine.o a - out/host/obc/src/tumbleweed.o a - out/host/obc/src/yodel.o ranlib out/host/arc/libhazer.a D=dirname out/host/lib/libhazer.so.60.1; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -shared -Wl,-soname,libhazer.so.60.1 -o out/host/lib/libhazer.so.60.1 -lm out/host/obc/src/calico.o out/host/obc/src/coordinates.o out/host/obc/src/datagram.o out/host/obc/src/hazer.o out/host/obc/src/hazer_release.o out/host/obc/src/hazer_revision.o out/host/obc/src/hazer_vintage.o out/host/obc/src/machine.o out/host/obc/src/tumbleweed.o out/host/obc/src/yodel.o D=dirname out/host/lib/libhazer.so.60.1; F=basename out/host/lib/libhazer.so.60.1; T=basename out/host/lib/libhazer.so.60; ( cd $D; ln -s -f $F $T ) D=dirname out/host/lib/libhazer.so.60; F=basename out/host/lib/libhazer.so.60; T=basename out/host/lib/libhazer.so; ( cd $D; ln -s -f $F $T ) D=dirname out/host/app/dgmtool; mkdir -p $D gcc -iquote app/dgmtool -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/app/dgmtool app/dgmtool/*.c -Lout/host/lib -lhazer -lm -L/home/neil/code/com-diag-diminuto/Diminuto/out/host/lib -ldiminuto -lpthread -lrt -ldl �[01m�[Kapp/dgmtool/main.c:37:10:�[m�[K �[01;31m�[Kfatal error: �[m�[Kcom/diag/diminuto/diminuto_assert.h: No such file or directory 37 | #include �[01;31m�[K"com/diag/diminuto/diminuto_assert.h"�[m�[K | �[01;31m�[K^~~~~~~~~�[m�[K compilation terminated. make[1]: [Makefile:309: out/host/app/dgmtool] Error 1 make[1]: Leaving directory '/home/neil/code/com-diag-hazer/Hazer' make: [Makefile:12: all] Error 2

Script done on 2023-08-19 17:48:05+00:00 [COMMAND_EXIT_CODE="2"] — Reply to this email directly, view it on GitHub https://github.com/coverclock/com-diag-hazer/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPQ5HWIQUOF76FS4BY4G73XWD4NRANCNFSM6AAAAAA3WWX4VU. You are receiving this because you are subscribed to this thread.

-- J. L. Sloan Digital Aggregates Corporation +1.303.489.5178 3440 Youngfield Street @.*** #209 http://www.diag.com Wheat Ridge CO 80033 USA

coverclock commented 1 year ago

I build this code on a very broad variety of platforms, targets, Linux distros, etc. Still, you may be the first person ever other than me to build it. It’s possible I have been unwittingly depending on something in my own environment.

On Aug 19, 2023, at 11:52 , realtime-neil @.***> wrote:

I'm almost certainly holding it wrong. How do I do it right?

$ script --command 'git describe --long --always --dirty && git clean -ffxd && make' /tmp/script.out Script started on 2023-08-19 17:48:04+00:00 [COMMAND="git describe --long --always --dirty && git clean -ffxd && make" TERM="st-256color" TTY="/dev/pts/10" COLUMNS="136" LINES="74"] 1.1.0-2297-gf59791a Removing Hazer/out/ make -C Hazer all make[1]: Entering directory '/home/neil/code/com-diag-hazer/Hazer' D=dirname out/host/inc/com/diag/hazer/hazer_release.h; mkdir -p $D echo '/ GENERATED FILE! DO NOT EDIT! /' > out/host/inc/com/diag/hazer/hazer_release.h echo '#ifndef _H_COM_DIAG_HAZERRELEASE' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define _H_COM_DIAG_HAZERRELEASE' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE_MAJOR 60' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE_MINOR 1' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE_BUILD 0' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#define COM_DIAG_HAZER_RELEASE "60.1.0"' >> out/host/inc/com/diag/hazer/hazer_release.h echo '#endif' >> out/host/inc/com/diag/hazer/hazer_release.h D=dirname out/host/inc/com/diag/hazer/hazer_vintage.h; mkdir -p $D echo '/ GENERATED FILE! DO NOT EDIT! /' > out/host/inc/com/diag/hazer/hazer_vintage.h echo '#ifndef _H_COM_DIAG_HAZERVINTAGE' >> out/host/inc/com/diag/hazer/hazer_vintage.h echo '#define _H_COM_DIAG_HAZERVINTAGE' >> out/host/inc/com/diag/hazer/hazer_vintage.h echo '#define COM_DIAG_HAZER_VINTAGE "2023-08-19T17:48:04.424257319+0000"' >> out/host/inc/com/diag/hazer/hazer_vintage.h echo '#endif' >> out/host/inc/com/diag/hazer/hazer_vintage.h D=dirname out/host/inc/com/diag/hazer/hazer_revision.h; mkdir -p $D echo '/ GENERATED FILE! DO NOT EDIT! /' > out/host/inc/com/diag/hazer/hazer_revision.h echo '#ifndef _H_COM_DIAG_HAZERREVISION' >> out/host/inc/com/diag/hazer/hazer_revision.h echo '#define _H_COM_DIAG_HAZERREVISION' >> out/host/inc/com/diag/hazer/hazer_revision.h echo '#define COM_DIAG_HAZER_REVISION "f59791aa166ca584458ad02b547d4742a6cc7a48"' >> out/host/inc/com/diag/hazer/hazer_revision.h echo '#endif' >> out/host/inc/com/diag/hazer/hazer_revision.h D=dirname out/host/obc/src/calico.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/calico.o -c src/calico.c D=dirname out/host/obc/src/coordinates.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/coordinates.o -c src/coordinates.c D=dirname out/host/obc/src/datagram.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/datagram.o -c src/datagram.c D=dirname out/host/obc/src/hazer.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer.o -c src/hazer.c D=dirname out/host/obc/src/hazer_release.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_release.o -c src/hazer_release.c D=dirname out/host/obc/src/hazer_revision.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_revision.o -c src/hazer_revision.c D=dirname out/host/obc/src/hazer_vintage.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/hazer_vintage.o -c src/hazer_vintage.c D=dirname out/host/obc/src/machine.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/machine.o -c src/machine.c D=dirname out/host/obc/src/tumbleweed.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/tumbleweed.o -c src/tumbleweed.c D=dirname out/host/obc/src/yodel.o; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/obc/src/yodel.o -c src/yodel.c D=dirname out/host/arc/libhazer.a; mkdir -p $D ar crsv out/host/arc/libhazer.a out/host/obc/src/calico.o out/host/obc/src/coordinates.o out/host/obc/src/datagram.o out/host/obc/src/hazer.o out/host/obc/src/hazer_release.o out/host/obc/src/hazer_revision.o out/host/obc/src/hazer_vintage.o out/host/obc/src/machine.o out/host/obc/src/tumbleweed.o out/host/obc/src/yodel.o a - out/host/obc/src/calico.o a - out/host/obc/src/coordinates.o a - out/host/obc/src/datagram.o a - out/host/obc/src/hazer.o a - out/host/obc/src/hazer_release.o a - out/host/obc/src/hazer_revision.o a - out/host/obc/src/hazer_vintage.o a - out/host/obc/src/machine.o a - out/host/obc/src/tumbleweed.o a - out/host/obc/src/yodel.o ranlib out/host/arc/libhazer.a D=dirname out/host/lib/libhazer.so.60.1; mkdir -p $D gcc -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -shared -Wl,-soname,libhazer.so.60.1 -o out/host/lib/libhazer.so.60.1 -lm out/host/obc/src/calico.o out/host/obc/src/coordinates.o out/host/obc/src/datagram.o out/host/obc/src/hazer.o out/host/obc/src/hazer_release.o out/host/obc/src/hazer_revision.o out/host/obc/src/hazer_vintage.o out/host/obc/src/machine.o out/host/obc/src/tumbleweed.o out/host/obc/src/yodel.o D=dirname out/host/lib/libhazer.so.60.1; F=basename out/host/lib/libhazer.so.60.1; T=basename out/host/lib/libhazer.so.60; ( cd $D; ln -s -f $F $T ) D=dirname out/host/lib/libhazer.so.60; F=basename out/host/lib/libhazer.so.60; T=basename out/host/lib/libhazer.so; ( cd $D; ln -s -f $F $T ) D=dirname out/host/app/dgmtool; mkdir -p $D gcc -iquote app/dgmtool -iquote src -iquote inc -iquote out/host/inc -iquote /home/neil/code/com-diag-diminuto/Diminuto/inc -isystem /usr/src/linux-headers-6.1.0-10-amd64 -D_USE_GNU -D_GNU_SOURCE -rdynamic -fPIC -Wall -g -o out/host/app/dgmtool app/dgmtool/*.c -Lout/host/lib -lhazer -lm -L/home/neil/code/com-diag-diminuto/Diminuto/out/host/lib -ldiminuto -lpthread -lrt -ldl �[01m�[Kapp/dgmtool/main.c:37:10:�[m�[K �[01;31m�[Kfatal error: �[m�[Kcom/diag/diminuto/diminuto_assert.h: No such file or directory 37 | #include �[01;31m�[K"com/diag/diminuto/diminuto_assert.h"�[m�[K | �[01;31m�[K^~~~~~~~~�[m�[K compilation terminated. make[1]: [Makefile:309: out/host/app/dgmtool] Error 1 make[1]: Leaving directory '/home/neil/code/com-diag-hazer/Hazer' make: [Makefile:12: all] Error 2

Script done on 2023-08-19 17:48:05+00:00 [COMMAND_EXIT_CODE="2"] — Reply to this email directly, view it on GitHub https://github.com/coverclock/com-diag-hazer/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPQ5HWIQUOF76FS4BY4G73XWD4NRANCNFSM6AAAAAA3WWX4VU. You are receiving this because you are subscribed to this thread.

-- J. L. Sloan Digital Aggregates Corporation +1.303.489.5178 3440 Youngfield Street @.*** #209 http://www.diag.com Wheat Ridge CO 80033 USA

realtime-neil commented 1 year ago

I don't (yet) have com-diag-diminuto cloned out to a worktree. I'm guessing it's a build dependency?

realtime-neil commented 1 year ago

Update, yep, I should have read the README.md more closely.

coverclock commented 1 year ago

The library builds because I worked hard NOT to have any Diminuto dependencies in it. Long ago my goal was to be able to use the library (and only the library) on non-Linux/GNU platforms e.g. maybe VxWorks (in which I’ve done a ton of work).

On Aug 19, 2023, at 12:33 , realtime-neil @.***> wrote:

Update, yep, I should have read the README.md more closely.

— Reply to this email directly, view it on GitHub https://github.com/coverclock/com-diag-hazer/issues/2#issuecomment-1685080793, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPQ5HXURXOQMAMIHBLHK2TXWEBHTANCNFSM6AAAAAA3WWX4VU. You are receiving this because you commented.

-- J. L. Sloan Digital Aggregates Corporation +1.303.489.5178 3440 Youngfield Street @.*** #209 http://www.diag.com Wheat Ridge CO 80033 USA

coverclock commented 1 year ago

No worries.

On Aug 19, 2023, at 12:33 , realtime-neil @.***> wrote:

Update, yep, I should have read the README.md more closely.

— Reply to this email directly, view it on GitHub https://github.com/coverclock/com-diag-hazer/issues/2#issuecomment-1685080793, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPQ5HXURXOQMAMIHBLHK2TXWEBHTANCNFSM6AAAAAA3WWX4VU. You are receiving this because you commented.

-- J. L. Sloan Digital Aggregates Corporation +1.303.489.5178 3440 Youngfield Street @.*** #209 http://www.diag.com Wheat Ridge CO 80033 USA