Re: error while compiling aubit

Mike Aubury <[email protected]> Wed, 25 Aug 2021 11:07:02 +0100
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAGAq4WFsGC__+YUcx5psm2S=jbnw4fpMreX=F6TKQBOBMZg9Gw@mail.gmail.com>
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