a2ps
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem compiling a2ps-4.13 on SCO - UW7.1.1 UDK 711b


From: Henri Irla
Subject: Problem compiling a2ps-4.13 on SCO - UW7.1.1 UDK 711b
Date: Fri, 16 Feb 2001 14:32:16 +0100

hi,

it's impossible to compile a2ps-4.13 on  UW7.1.1 / udk 711b  - problem
on:

-  UX:acomp: ERROR: "encoding.c", line 349: "inline" functions cannot
use "static" identifier: font_entry_new

declarative static function, are  not conform  with  new ansi standard
compiler definitions !

to solve, perharps to modify  all the inline declarative  static
function  in all modules  ?

Any one has  some idea  ( no use ogf gcc  thanks ... ?)

Regards

Henri

PS  : I join file "compil.log" witch  contain ./configure proces and
begenning of make



$ cd a2ps-4.13
$ ./configure
creating cache ./config.cache
checking for a BSD compatible install... auxdir/install-sh -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking for mawk... (cached) nawk
checking for gm4... no
checking for gnum4... no
checking for m4... /bin/m4
checking whether m4 supports frozen files... no
checking for a BSD compatible install... auxdir/install-sh -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking for perl... /bin/perl
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc   ) works... yes
checking whether the C compiler (cc   ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking dependency style of cc... none
checking for AIX... no
checking for minix/config.h... no
checking for POSIXized ISC... no
checking how to run the C preprocessor... cc -E
checking for cc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for bison... no
checking for byacc... no
checking how to suppress newlines using echo... escape
checking for flex... no
checking for lex... lex
checking for flex... (cached) lex
checking for yywrap in -ll... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... no
checking host system type... i586-sco-sysv5uw7.1.1
checking build system type... i586-sco-sysv5uw7.1.1
checking for ranlib... :
checking for non-GNU ld... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /bin/nm -p
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking whether we are using GNU C... no
checking for object suffix... o
checking for executable suffix... no
checking for cc option to produce PIC... -KPIC
checking if cc PIC flag -KPIC works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc static flag -Bstatic works... -Bstatic
checking if the linker (/bin/ld) is GNU ld... no
checking whether the linker (/bin/ld) supports shared libraries... yes
checking command to parse /bin/nm -p output... ok
checking how to hardcode library paths into programs... immediate
checking for /bin/ld option to reload object files... -r
checking dynamic linker characteristics... sysv5uw7.1.1 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for ANSI C header files... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/time.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for sys/ioctl.h... yes
checking for math.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for stdarg.h... yes
checking for pwd.h... yes
checking for malloc.h... yes
checking for memory.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for stdbool.h... yes
checking for fnmatch.h... yes
checking for cc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for uchar... no
checking for size_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct passwd.pw_gecos... yes
checking for inttypes.h... yes
checking for unsigned long long... yes
checking for stdlib.h... (cached) yes
checking for strtoumax... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for EMX OS/2 environment... no
checking for executable suffix... (cached) no
checking for sys_siglist declaration in signal.h or unistd.h... no
checking for sys_siglist... no
checking for library containing getpwuid... none required
checking for stpcpy... no
checking for stpncpy... no
checking for strtoul... yes
checking for memcpy... yes
checking for memset... yes
checking for gethostname... yes
checking for getuid... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for rename... yes
checking whether rename works... yes
checking for uname... yes
checking for strchr... yes
checking for strerror... yes
checking for strerror_r... no
checking for getcwd... yes
checking for bcopy... yes
checking for bzero... yes
checking for tempnam... yes
checking for strsignal... yes
checking for psignal... yes
checking for systempapername in -lpaper... no
checking for atexit... yes
checking for strftime... yes
checking for struct tm.tm_zone... no
checking for tzname... yes
checking for tzset... yes
checking for mblen... yes
checking for mbrlen... yes
checking for limits.h... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... no
checking whether closedir returns void... no
checking for vprintf... yes
checking for obstacks... no
checking for working alloca.h... yes
checking for alloca... yes
checking for error_at_line... no
checking for working malloc... yes
checking for working realloc... yes
checking for isascii... yes
checking for mbrtowc... yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for wchar.h... yes
checking for ANSI C header files... (cached) yes
checking whether backslash-a works in strings... yes
checking for function prototypes... yes
checking for fnmatch.h... (cached) yes
checking for working fnmatch... yes
checking POSIX termios... yes
checking whether use of TIOCGWINSZ requires sys/ioctl.h... no
checking for termios.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for limits.h... (cached) yes
checking whether fputs is declared... yes
checking whether strlen is declared... yes
checking whether strtoul is declared... yes
checking whether strtoull is declared... yes
checking for off_t... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... no
checking for limits.h... (cached) yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... (cached) yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... no
checking for setlocale... yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... no
checking whether catgets can be used... no
checking for msgfmt... msgfmt
checking for gmsgfmt... msgfmt
checking for xgettext... :
checking for catalogs to be installed...  ca cs da de es et fr it ko nl no pl pt
 ru sl sv tr
updating cache ./config.cache
checking for emacs... no
checking for xemacs... no
checking whether paths should be hardcoded... no
checking for PostScript fonts path... :/usr/local/ghostscript/fonts:/usr/local/s
hare/ghostscript/fonts
checking for file... /bin/file
checking for the option for file to follow the links... no way
checking for lp... lp
checking for printer queue selection... lp -d PRINTER
checking for gv... yes
checking for ghostview... yes
checking for gzip... yes
checking for bzip... no
checking for bzip2... yes
checking for dvips... no
checking for convert... yes
checking for acroread... no
checking for pdf2ps... yes
checking for distill... no
checking for ps2pdf... yes
checking for psselect... yes
checking for psnup... yes
checking for grog... no
configure: warning: ============================================================
a2ps works better with groff.
Consider fetching groff at any ftp site proposing GNU programs
configure: warning: ============================================================
checking for makeinfo... no
checking for tex... no
checking for latex... no
updating cache ./config.cache
creating ./config.status
creating contrib/card
creating contrib/fixps
creating contrib/pdiff
creating contrib/psmandup
creating contrib/psset
creating Makefile
creating src/Makefile
creating doc/Makefile
creating man/Makefile
creating tests/Makefile
creating tests/defs
creating lib/Makefile
creating auxdir/Makefile
creating m4/Makefile
creating etc/Makefile
creating etc/a2ps_cfg
creating etc/a2ps-site.cfg
creating intl/Makefile
creating po/Makefile.in
creating sheets/Makefile
creating encoding/Makefile
creating ps/Makefile
creating afm/Makefile
creating contrib/Makefile
creating contrib/sample/Makefile
creating contrib/emacs/Makefile
creating fonts/Makefile
creating ppd/Makefile
creating config.h
linking ./intl/libgettext.h to intl/libintl.h
creating src/.deps/buffer.Po
creating src/.deps/delegate.Po
creating src/.deps/ffaces.Po
creating src/.deps/generate.Po
creating src/.deps/lexps.Po
creating src/.deps/lexssh.Po
creating src/.deps/long-options.Po
creating src/.deps/main.Po
creating src/.deps/parsessh.Po
creating src/.deps/read.Po
creating src/.deps/regex.Po
creating src/.deps/select.Po
creating src/.deps/sheets-map.Po
creating src/.deps/ssheet.Po
creating src/.deps/sshread.Po
creating src/.deps/version-etc.Po
creating src/.deps/versions.Po
creating lib/.deps/addext.Plo
creating lib/.deps/alloca.Plo
creating lib/.deps/argmatch.Plo
creating lib/.deps/argv.Plo
creating lib/.deps/atexit.Plo
creating lib/.deps/backupfile.Plo
creating lib/.deps/basename.Plo
creating lib/.deps/caret.Plo
creating lib/.deps/closeout.Plo
creating lib/.deps/common.Plo
creating lib/.deps/confg.Plo
creating lib/.deps/darray.Plo
creating lib/.deps/dirname.Plo
creating lib/.deps/document.Plo
creating lib/.deps/dsc.Plo
creating lib/.deps/dstring.Plo
creating lib/.deps/encoding.Plo
creating lib/.deps/error.Plo
creating lib/.deps/faces.Plo
creating lib/.deps/filalign.Plo
creating lib/.deps/filtdir.Plo
creating lib/.deps/fjobs.Plo
creating lib/.deps/fnmatch.Plo
creating lib/.deps/fonts.Plo
creating lib/.deps/gen.Plo
creating lib/.deps/gethostname.Plo
creating lib/.deps/getnum.Plo
creating lib/.deps/getopt.Plo
creating lib/.deps/getopt1.Plo
creating lib/.deps/getshline.Plo
creating lib/.deps/getuid.Plo
creating lib/.deps/hashtab.Plo
creating lib/.deps/isdir.Plo
creating lib/.deps/jobs.Plo
creating lib/.deps/lexppd.Plo
creating lib/.deps/lister.Plo
creating lib/.deps/madir.Plo
creating lib/.deps/malloc.Plo
creating lib/.deps/media.Plo
creating lib/.deps/memcpy.Plo
creating lib/.deps/memset.Plo
creating lib/.deps/message.Plo
creating lib/.deps/metaseq.Plo
creating lib/.deps/mktime.Plo
creating lib/.deps/obstack.Plo
creating lib/.deps/options.Plo
creating lib/.deps/output.Plo
creating lib/.deps/pair_ht.Plo
creating lib/.deps/parseppd.Plo
creating lib/.deps/path-concat.Plo
creating lib/.deps/pathwalk.Plo
creating lib/.deps/ppd.Plo
creating lib/.deps/prange.Plo
creating lib/.deps/printers.Plo
creating lib/.deps/printlen.Plo
creating lib/.deps/prolog.Plo
creating lib/.deps/psgen.Plo
creating lib/.deps/psstat.Plo
creating lib/.deps/quotearg.Plo
creating lib/.deps/realloc.Plo
creating lib/.deps/rename.Plo
creating lib/.deps/routines.Plo
creating lib/.deps/signame.Plo
creating lib/.deps/stpcpy.Plo
creating lib/.deps/stpncpy.Plo
creating lib/.deps/str_ht.Plo
creating lib/.deps/strcasecmp.Plo
creating lib/.deps/stream.Plo
creating lib/.deps/strftime.Plo
creating lib/.deps/strncasecmp.Plo
creating lib/.deps/strtoul.Plo
creating lib/.deps/strtoull.Plo
creating lib/.deps/strtoumax.Plo
creating lib/.deps/strverscmp.Plo
creating lib/.deps/title.Plo
creating lib/.deps/tterm.Plo
creating lib/.deps/userdata.Plo
creating lib/.deps/useropt.Plo
creating lib/.deps/xbackupfile.Plo
creating lib/.deps/xgetcwd.Plo
creating lib/.deps/xgethostname.Plo
creating lib/.deps/xmalloc.Plo
creating lib/.deps/xstrdup.Plo
creating lib/.deps/xstrrpl.Plo
creating lib/.deps/xstrtol.Plo
creating contrib/.deps/fixnt.Po
creating contrib/sample/.deps/main.Po
configuring in ogonkify
running /bin/sh ./configure  --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... ../auxdir/install-sh -c
checking whether build environment is sane... yes
checking for mawk... (cached) nawk
checking whether make sets ${MAKE}... (cached) yes
checking for perl perl5... (cached) /bin/perl
checking how to run the C preprocessor... (cached) cc -E
checking for X... libraries /usr/X11R6.1/lib, headers /usr/X11R6.1/include
checking for IBM font files... /usr/X11R6.1/lib/X11/fonts/Type1/cour*.pfa
updating cache .././config.cache
creating ./config.status
creating composeglyphs
creating Makefile
creating ogonkify.in
creating doc/Makefile
creating m4/Makefile
*****************************************************************
* a2ps thinks it should be configured the following way:
* - you print on `A4' paper
* - your charset is `latin1'
* - to send a JOB to the default printer, run `lp job'
* - to send a JOB to the printer PRINTER, run `lp -d PRINTER job'
* - to ask `file(1)' to follow the links, run `/bin/file'
*   (`file(1)' is used to guess the type of the files to print.)
*
* If a2ps is wrong somewhere, fix the `System Dependent parameters'
* in `etc/a2ps-site.cfg'.  See the README file.
*****************************************************************
$ make
UX:make: AVERTISSEMENT: Pas de liste de suffixes.
        make  all-recursive
UX:make: AVERTISSEMENT: Pas de liste de suffixes.
Making all in auxdir
UX:make: AVERTISSEMENT: Pas de liste de suffixes.
Making all in m4
UX:make: AVERTISSEMENT: Pas de liste de suffixes.
Making all in etc
UX:make: AVERTISSEMENT: Pas de liste de suffixes.
        sed "address@hidden@!`date`!g;address@hidden@!4.13!g"      \
        ./README.in > README
        sed 
"address@hidden@!/usr/local/share/a2ps/sheets:/usr/local/share/a2ps/ps:/usr/local/share/a2ps/en
coding:/usr/local/share/a2ps/afm:/usr/local/share/ogonkify/afm:/usr/local/share/a2ps/ppd:/usr/local/sha
re/a2ps/fonts:/usr/local/share/ogonkify/fonts:/usr/local/share/a2ps!" a2ps_cfg 
> a2ps.cfg
Making all in ps
UX:make: AVERTISSEMENT: Pas de liste de suffixes.
Making all in ogonkify
Making all in doc
Making all in m4
UX:make: AVERTISSEMENT: Pas de liste de suffixes.
        sed -e "address@hidden@#/usr/local/share/ogonkify#g" ogonkify.in > 
ogonkify-t
        chmod +x ogonkify-t
        mv ogonkify-t ogonkify
Creating adobe encoding vector...
        /bin/perl ./composeglyphs -e adobe.afm -E adobe.enc
Creating ascii encoding vector...
        /bin/perl ./composeglyphs -e ascii.afm -E ascii.enc
Creating latin2 encoding vector...
        /bin/perl ./composeglyphs -e latin2.afm -E latin2.enc
Creating latin3 encoding vector...
        /bin/perl ./composeglyphs -e latin3.afm -E latin3.enc
Creating latin4 encoding vector...
        /bin/perl ./composeglyphs -e latin4.afm -E latin4.enc
Creating latin6 encoding vector...
        /bin/perl ./composeglyphs -e latin6.afm -E latin6.enc
Creating cp1250 encoding vector...
        /bin/perl ./composeglyphs -e cp1250.afm -E cp1250.enc
Creating mac encoding vector...
        /bin/perl ./composeglyphs -e mac.afm -E mac.enc
Creating ibmpc encoding vector...
        /bin/perl ./composeglyphs -e ibmpc.afm -E ibmpc.enc
Creating hp encoding vector...
        /bin/perl ./composeglyphs -e hp.afm -E hp.enc
Making all in intl
        cc -c -DLOCALEDIR=\"/usr/local/share/locale\" 
-DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOC
ALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl 
-I../lib  -g   intl-com
pat.c
        cc -c -DLOCALEDIR=\"/usr/local/share/locale\" 
-DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOC
ALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl 
-I../lib  -g   bindtext
dom.c
        cc -c -DLOCALEDIR=\"/usr/local/share/locale\" 
-DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOC
ALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl 
-I../lib  -g   dcgettex
t.c
        cc -c -DLOCALEDIR=\"/usr/local/share/locale\" 
-DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOC
ALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl 
-I../lib  -g   dgettext
.c
        cc -c -DLOCALEDIR=\"/usr/local/share/locale\" 
-DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOC
ALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl 
-I../lib  -g   gettext.
c
        cc -c -DLOCALEDIR=\"/usr/local/share/locale\" 
-DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOC
ALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl 
-I../lib  -g   finddoma
in.c
        cc -c -DLOCALEDIR=\"/usr/local/share/locale\" 
-DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOC
ALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl 
-I../lib  -g   loadmsgc
at.c
        cc -c -DLOCALEDIR=\"/usr/local/share/locale\" 
-DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOC
ALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl 
-I../lib  -g   localeal
ias.c
UX:acomp: AVERTISSEMENT: "localealias.c", ligne 258: avertissement: argument #1 
incompatible with proto
type: fgets()
UX:acomp: AVERTISSEMENT: "localealias.c", ligne 264: avertissement: argument #1 
incompatible with proto
type: strchr()
UX:acomp: AVERTISSEMENT: "localealias.c", ligne 317: avertissement: argument #1 
incompatible with proto
type: strlen()
UX:acomp: AVERTISSEMENT: "localealias.c", ligne 318: avertissement: argument #1 
incompatible with proto
type: strlen()
        cc -c -DLOCALEDIR=\"/usr/local/share/locale\" 
-DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOC
ALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl 
-I../lib  -g   textdoma
in.c
        cc -c -DLOCALEDIR=\"/usr/local/share/locale\" 
-DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOC
ALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl 
-I../lib  -g   l10nflis
t.c
        cc -c -DLOCALEDIR=\"/usr/local/share/locale\" 
-DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOC
ALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl 
-I../lib  -g   exploden
ame.c
        rm -f libintl.a
        ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o 
gettext.o  finddomain.o loa
dmsgcat.o localealias.o textdomain.o l10nflist.o  explodename.o
        : libintl.a
Making all in lib
        source='encoding.c' object='encoding.lo' libtool=yes \
        depfile='.deps/encoding.Plo' tmpdepfile='.deps/encoding.TPlo' \
        depmode=none /bin/sh ../auxdir/depcomp \
        /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H 
-DLOCALEDIR=\"/usr/local/share/locale\" -D
SYSCONFFILE=\"/usr/local/etc/a2ps.cfg\" -I.. -I../intl -I.    -g  -c -o 
encoding.lo encoding.c
cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" 
-DSYSCONFFILE=\"/usr/local/etc/a2ps.cfg\" -I
. -I../intl -I. -g -c encoding.c -o encoding.o
UX:acomp: WARNING: "encoding.c", line 250: end-of-loop code not reached
UX:acomp: WARNING: "encoding.c", line 256: end-of-loop code not reached
UX:acomp: WARNING: "encoding.c", line 262: end-of-loop code not reached
UX:acomp: WARNING: "encoding.c", line 268: end-of-loop code not reache
UX:acomp: ERROR: "encoding.c", line 349: "inline" functions cannot use "static" 
identifier: font_entry_
new
UX:acomp: WARNING: "encoding.c", line 812: end-of-loop code not reached
UX:acomp: WARNING: "encoding.c", line 818: end-of-loop code not reached
UX:acomp: WARNING: "encoding.c", line 824: end-of-loop code not reached
UX:acomp: WARNING: "encoding.c", line 831: end-of-loop code not reached
UX:acomp: WARNING: "encoding.c", line 973: argument #1 incompatible with 
prototype: strlower()
UX:acomp: WARNING: "encoding.c", line 973: argument #2 incompatible with 
prototype: encodings_map_resol
ve_alias()
*** Code d'erreur 1 (bu21)
UX:make: ERREUR: erreur irrémédiable.
*** Code d'erreur 1 (bu21)
UX:make: ERREUR: erreur irrémédiable.
*** Code d'erreur 1 (bu21)
UX:make: ERREUR: erreur irrémédiable.
$

Attachment: henri.vcf
Description: Carte pour Henri Irla


reply via email to

[Prev in Thread] Current Thread [Next in Thread]