Re: error while compiling aubit
Mike Aubury <[email protected]> Wed, 25 Aug 2021 11:20:03 +0100
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <CAGAq4WFHBjfTMA_52SjNn-mBHmwPrjV0NX0zjF7Mg-xb2-a03Q@mail.gmail.com> |
Its probably something in incl/Makefile-common My guess something around "GTK_INC_PATH" Mine is set to : GTK_INC_PATH =-I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 which looks like your pre-amble to the stray "-" On Wed, 25 Aug 2021 at 11:14, <[email protected]> wrote: > Thank for answering. > > Yes, me too. When I compile it without the single "-", it compiles OK. > Next error is then in aubit4glsrc/lib/extra_libs/barcode. Same error, but > in this directory I can compile without the single "-" but it will not > continue as in aubit4glsrc/lib/extra_libs/pick. > > I suppose I miss a library or include file. Is it helpful if I send the > config log file? > > > On 25-8-2021 12:07, Mike Aubury wrote: > > Something wrong with the environment or settings ? > > At the very end - it has "- -c" > > I'd like to know where that "-" (before the "-c") is coming from.... > > > > gcc -Wall -Wredundant-decls -Wmissing-declarations > -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE > -DDEBUG -DHAVE_CONFIG_H= -I/usr/local/src/aubit4glsrc/incl > -I/usr/local/src/aubit4glsrc -fPIC -DPIC pick.c -o pick_local.o > -I"/usr/local/src/aubit4glsrc/incl" -I/usr/include/gtk-2.0 > -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 > -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 > -I/usr/include/cairo -I/usr/include/pixman-1 > -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount > -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz > -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid > -I/usr/include/freetype2 - -c > > On Wed, 25 Aug 2021 at 10:27, <[email protected]> wrote: > >> Hi, >> >> I try to compile aubit from source. Ends in error and I don't know how >> to solve. Anyone an idea? >> >> >> My test machine debian buster with gcc 8.3.0, gnu make 4.2.1 and source >> aubit 1.5.3 >> >> =================== >> >> Error while compiling: >> >> /usr/bin/make -C extra_libs/pick >> make[2]: Entering directory >> '/usr/local/src/aubit4glsrc/lib/extra_libs/pick' >> A4GL_OBJ_EXT=.o A4GL_SQLTYPE=nosql A4GL_LEXTYPE=C ../../../bin/4glc -o >> pick_local.o pick.4gl >> Error compiling pick.c - check pick.c.err >> Failed command was: gcc -Wall -Wredundant-decls -Wmissing-declarations >> -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE >> -DDEBUG -DHAVE_CONFIG_H= -I/usr/local/src/aubit4glsrc/incl >> -I/usr/local/src/aubit4glsrc -fPIC -DPIC pick.c -o pick_local.o >> -I"/usr/local/src/aubit4glsrc/incl" -I/usr/include/gtk-2.0 >> -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 >> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 >> -I/usr/include/cairo -I/usr/include/pixman-1 >> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount >> -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz >> -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 >> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid >> -I/usr/include/freetype2 - -c > pick.c.err 2>&1 >> Exit code is: 256 >> make[2]: *** [Makefile:73: pick_local.o] Error 99 >> make[2]: Leaving directory >> '/usr/local/src/aubit4glsrc/lib/extra_libs/pick' >> make[1]: *** [Makefile:599: >> /usr/local/src/aubit4glsrc/plugins-1.5_3/libA4GL_pick.so] Error 2 >> make[1]: Leaving directory '/usr/local/src/aubit4glsrc/lib' >> make: *** [Makefile:285: corecompile] Error 2 >> >> ================ >> >> Specific error in pick.c.err: >> >> gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files >> compilation terminated. >> >> -- >> >> Cordialement, >> R.J. Baart >> >> >> >> _______________________________________________ >> Aubit4gl-discuss mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss >> > _______________________________________________ > Aubit4gl-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss > _______________________________________________ Aubit4gl-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss