soq icon indicating copy to clipboard operation
soq copied to clipboard

Can't compile libsoq due to lack of file "jlss-getopt.h"

Open USSX-Hares opened this issue 11 months ago • 2 comments

Command:

$ cd src/libsoq
$ make

Output:

gcc -O3   -g      -I../../inc    -std=c18    -Wall -Wextra -Werror -Wmissing-prototypes -Wstrict-prototypes        -fno-common    -DHAVE_NANOSLEEP   -c -o mddebug.o mddebug.c
mddebug.c:20:10: fatal error: jlss-getopt.h: No such file or directory
   20 | #include "jlss-getopt.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: mddebug.o] Error 1

Workaround

Deleting mddebug.* from source tree and from makefile helped.

USSX-Hares avatar Jan 26 '25 15:01 USSX-Hares

Thanks for the heads up.

Jonathan Leffler @.***> #include <disclaimer.h> Guardian of DBD::Informix - v2018.1031 - http://dbi.perl.org "Blessed are we who can laugh at ourselves, for we shall never cease to be amused."

On Sun, Jan 26, 2025 at 08:16 USSX-Hares @.***> wrote:

gcc -O3 -g -I../../inc -std=c18 -Wall -Wextra -Werror -Wmissing-prototypes -Wstrict-prototypes -fno-common -DHAVE_NANOSLEEP -c -o mddebug.o mddebug.c mddebug.c:20:10: fatal error: jlss-getopt.h: No such file or directory 20 | #include "jlss-getopt.h" | ^~~~~~~~~~~~~~~ compilation terminated. make: *** [: mddebug.o] Error 1

Workaround

Deleting mddebug.* from source tree and from makefile helped.

— Reply to this email directly, view it on GitHub https://github.com/jleffler/soq/issues/225, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCAHBV7BOSFXHCCSOSZETD2MT36BAVCNFSM6AAAAABV4RGLYWVHI2DSMVQWIX3LMV43ASLTON2WKOZSHAYTCNRRGU2DIMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jleffler avatar Jan 26 '25 15:01 jleffler

I've just pushed commit bd69de4 to GitHub to add the missing header.

On Sun, Jan 26, 2025 at 8:16 AM USSX-Hares @.***> wrote:

gcc -O3 -g -I../../inc -std=c18 -Wall -Wextra -Werror -Wmissing-prototypes -Wstrict-prototypes -fno-common -DHAVE_NANOSLEEP -c -o mddebug.o mddebug.c mddebug.c:20:10: fatal error: jlss-getopt.h: No such file or directory 20 | #include "jlss-getopt.h" | ^~~~~~~~~~~~~~~ compilation terminated. make: *** [: mddebug.o] Error 1

Workaround

Deleting mddebug.* from source tree and from makefile helped.

— Reply to this email directly, view it on GitHub https://github.com/jleffler/soq/issues/225, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCAHBV7BOSFXHCCSOSZETD2MT36BAVCNFSM6AAAAABV4RGLYWVHI2DSMVQWIX3LMV43ASLTON2WKOZSHAYTCNRRGU2DIMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Jonathan Leffler @.***> #include <disclaimer.h> Guardian of DBD::Informix - v2018.1031 - http://dbi.perl.org "Blessed are we who can laugh at ourselves, for we shall never cease to be amused."

jleffler avatar Feb 04 '25 06:02 jleffler