[minicom-Bugs][304105] tried to compile on IBM AIX 5.3 with gcc and vac8

minicom-bugs at alioth.debian.org minicom-bugs at alioth.debian.org
Sun Sep 30 09:58:12 UTC 2007


Bugs item #304105, was opened at 2007-03-05 15:25
Status: Open
Priority: 3
Submitted By: Nobody (None)
Assigned to: Adam Lackorzynski (al-guest)
Summary: tried to compile on IBM AIX 5.3 with gcc and vac8 
Category: None
Group: None
Resolution: None


Initial Comment:
tried to compile minicom on AIX with the gcc compiler.
Also tried the IBM compiler VAC8 both gives errors.

for gcc i used:
gcc-4.0.0-1
gcc-c++-4.0.0-1
libgcc-4.0.0-1


$>./configure
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for a BSD-compatible install... ./install-sh -c
checking for ranlib... ranlib
checking for library containing strerror... none required
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking build system type... powerpc-ibm-aix5.3.0.0
checking host system type... powerpc-ibm-aix5.3.0.0
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... /bin/sh: ./config.rpath:  not found
done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for kermit... no
checking for tputs in -ltinfo... no
checking for tputs in -lncurses... no
checking for tputs in -lcurses... yes
checking for socket in -lsocket... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking POSIX termios... yes
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/ptem.h usability... no
checking sys/ptem.h presence... no
checking for sys/ptem.h... no
checking for sys/stat.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/ttold.h usability... no
checking sys/ttold.h presence... no
checking for sys/ttold.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking posix1_lim.h usability... no
checking posix1_lim.h presence... no
checking for posix1_lim.h... no
checking for sgtty.h... (cached) yes
checking features.h usability... no
checking features.h presence... no
checking for features.h... no
checking for an ANSI C-conforming const... yes
checking for function prototypes... yes
checking for string.h... (cached) yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for error_at_line... no
checking whether closedir returns void... no
checking if malloc debugging is wanted... no
checking for getcwd... yes
checking for getwd... yes
checking for memmove... yes
checking for strerror... yes
checking for strstr... yes
checking for vsnprintf... yes
checking for vprintf... yes
checking for select... yes
checking for snprintf... yes
checking for usleep... yes
checking for getopt... yes
checking for getopt_long... no
checking for long file names... yes
checking for com line lock directory... /etc/locks
checking for default serial port device... /dev/tty8
checking for default baud rate... 115200
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating extras/Makefile
config.status: creating extras/linux/Makefile
config.status: creating extras/tables/Makefile
config.status: creating extras/termcap/Makefile
config.status: creating extras/terminfo/Makefile
config.status: creating man/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating minicom.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

$>

$>make

        make  all-recursive

Making all in doc

Target "all" is up to date.

Making all in extras

Making all in linux

Target "all" is up to date.

Making all in tables

Target "all" is up to date.

Making all in termcap

Target "all" is up to date.

Making all in terminfo

Target "all" is up to date.

Target "all-am" is up to date.

Target "all" is up to date.

Making all in man

Target "all" is up to date.

Making all in po

Target "all" is up to date.

Making all in lib

Target "all" is up to date.

Making all in src

        if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -DCONFDIR=\"/usr/local/etc\"  -DLOCALEDIR=\"/usr/local/share/locale\"   -g -O2 -Wall -W -g -O2 -MT minicom.o -MD -MP -MF ".deps/minicom.Tpo" -c -o minicom.o minicom.c;  then mv -f ".deps/minicom.Tpo" ".deps/minicom.Po"; else rm -f ".deps/minicom.Tpo"; exit 1; fi

In file included from minicom.h:27,

                 from minicom.c:35:

window.h:155: error: conflicting types for 'wprintf'

/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.0.0/include/wchar.h:339: error: previous declaration of 'wprintf' was here

make: 1254-004 The error code from the last command is 1.


Stop.

make: 1254-004 The error code from the last command is 1.


Stop.

make: 1254-004 The error code from the last command is 2.

Stop.




----------------------------------------------------------------------

>Comment By: Adam Lackorzynski (al-guest)
Date: 2007-09-30 11:58

Message:
Hi,

I've made you a snapshot, available at
http://os.inf.tu-dresden.de/~adam/tmp/minicom-snapshot.tar.gz

- tar xzvf minicom-snapshot.tar.gz
- cd minicom-snapshot
- configure...

as usual.

Thanks for testing.

----------------------------------------------------------------------

Comment By: Christian Sonnemans (csonn-guest)
Date: 2007-09-29 20:00

Message:
Hello Adam,

How do i get the new source so that i can
try to recompile minicom with both the gcc
or with the IBM compiler vac8.
I would perfer gcc for max compatability but also
want to test with the IBM compiler for smaller exec

Greetings Christian.
email christian.sonnemans at hetnet.nl

----------------------------------------------------------------------

Comment By: Christian Sonnemans (csonn-guest)
Date: 2007-09-29 19:40

Message:
Hello Adam,

I don't know how to get the new source with cvs.
If i know how this works i will test i next week.

Thanks in advance

Greetings
Christian Sonnemans.
Email: christian.sonnemans at hetnet.nl

----------------------------------------------------------------------

Comment By: Adam Lackorzynski (al-guest)
Date: 2007-09-10 11:41

Message:
Could you retry with CVS and see if it's fixed?

----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=100031&aid=304105&group_id=30018



More information about the minicom-devel mailing list