Error compilation wiht libharu

"Carlos Alberto Correa Fayad" <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <trinity-7efbb286-b5f8-4eef-bfce-5c3b705081c2-1568521182874@3c-app-mailcom-lxa05>
Hi, all

When install libharu, the compilation the aubit4gl generate this error. For it to work, should I install pdflib?

ubit4glsrc -fPIC -DPIC -shared -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H= -I/optdantapos/aubit4glsrc/incl -I/optdantapos/aubit4glsrc -fPIC -DPIC -o /optdantapos/aubit4glsrc/plugins-1.5_1/liberrhook_sample.so sample.o -L../../../lib -laubit4gl-1.5_1

make[2]: se sale del directorio '/optdantapos/aubit4glsrc/lib/extra_libs/errhook'

/usr/bin/make -C extra_libs/barcode

make[2]: se entra en el directorio '/optdantapos/aubit4glsrc/lib/extra_libs/barcode'

/bin/bash: xmlrpc-c-config: orden no encontrada

/bin/bash: xmlrpc-c-config: orden no encontrada

gcc -I.. -I/optdantapos/aubit4glsrc/lib/libincl -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H= -I/optdantapos/aubit4glsrc/incl -I/optdantapos/aubit4glsrc -fPIC -DPIC -c -o barcodelookup.o barcodelookup.c

barcodelookup.c:298:5: aviso: no hay un prototipo previo para ‘aclfgl_a4gl_lookup_barcode’ [-Wmissing-prototypes]

int aclfgl_a4gl_lookup_barcode (int n) {

^~~~~~~~~~~~~~~~~~~~~~~~~~

gcc -I.. -I/optdantapos/aubit4glsrc/lib/libincl -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H= -I/optdantapos/aubit4glsrc/incl -I/optdantapos/aubit4glsrc -fPIC -DPIC -shared -o /optdantapos/aubit4glsrc/plugins-1.5_1/libbarcode.so barcodelookup.o

#cp /optdantapos/aubit4glsrc/plugins-1.5_1/libbarcode.so /optdantapos/aubit4glsrc/

4glc -o testbarcode testbarcode.4gl

make[2]: se sale del directorio '/optdantapos/aubit4glsrc/lib/extra_libs/barcode'

/usr/bin/make -C extra_libs/memcached /optdantapos/aubit4glsrc/plugins-1.5_1/libA4GL_memcache.so

make[2]: se entra en el directorio '/optdantapos/aubit4glsrc/lib/extra_libs/memcached'

../../../bin/4glpc -t C -g --as-dll -I. memcache.c mem.4gl -o /optdantapos/aubit4glsrc/plugins-1.5_1/libA4GL_memcache.so

Warning : Error file is not empty - but I got no error

Check memcache.warn for details

Warning : Error file is not empty - but I got no error

Check mem.warn for details

make[2]: se sale del directorio '/optdantapos/aubit4glsrc/lib/extra_libs/memcached'

/usr/bin/make -C libpdf

make[2]: se entra en el directorio '/optdantapos/aubit4glsrc/lib/libpdf'

gcc -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H= -I/optdantapos/aubit4glsrc/incl -I/optdantapos/aubit4glsrc -fPIC -DPIC -I/optdantapos/aubit4glsrc/lib/libincl -I../../compilers/fcompile -c -o nopdf.o nopdf.c

gcc -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H= -I/optdantapos/aubit4glsrc/incl -I/optdantapos/aubit4glsrc -fPIC -DPIC -I/optdantapos/aubit4glsrc/lib/libincl -I../../compilers/fcompile -shared nopdf.o -o /optdantapos/aubit4glsrc/plugins-1.5_1/libEXREPORT_NOPDF.so

gcc -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H= -I/optdantapos/aubit4glsrc/incl -I/optdantapos/aubit4glsrc -fPIC -DPIC -I/optdantapos/aubit4glsrc/lib/libincl -I../../compilers/fcompile -c -o haru.o haru.c

haru.c: En la función ‘A4GL_pdf_set_font_name’:

haru.c:1081:13: aviso: se define tipo ‘pdf_font_type’ localmente pero no se usa [-Wunused-local-typedefs]

pdf_font_type;

^~~~~~~~~~~~~

gcc -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -g -fPIC -DPIC -DSRC_TREE -DDEBUG -DHAVE_CONFIG_H= -I/optdantapos/aubit4glsrc/incl -I/optdantapos/aubit4glsrc -fPIC -DPIC -I/optdantapos/aubit4glsrc/lib/libincl -I../../compilers/fcompile -c -o ../liblogical/pdf/process/pdf_barcode.o ../liblogical/pdf/process/pdf_barcode.c

../liblogical/pdf/process/pdf_barcode.c:6:10: error fatal: pdflib.h: No existe el fichero o el directorio

#include "pdflib.h"

^~~~~~~~~~

compilación terminada.

make[2]: *** [<integrado>: ../liblogical/pdf/process/pdf_barcode.o] Error 1

make[2]: se sale del directorio '/optdantapos/aubit4glsrc/lib/libpdf'

make[1]: *** [Makefile:369: /optdantapos/aubit4glsrc/plugins-1.5_1/libEXREPORT_NOPDF.so] Error 2

make[1]: se sale del directorio '/optdantapos/aubit4glsrc/lib'

make: *** [Makefile:285: corecompile] Error 2

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.