[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
Mon Oct 8 09:39:06 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-10-08 11:39

Message:
Sure, my email is
adam at os.inf.tu-dresden.de

Adam

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

Comment By: Christian Sonnemans (csonn-guest)
Date: 2007-10-08 09:51

Message:
Hello Adam,

Where my i send the complete tarball of te compile tree?
Do you hava a mail adres or so.
I do not know how to attach files in Alioth.

Greetings Christian.


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

Comment By: Adam Lackorzynski (al-guest)
Date: 2007-10-06 22:40

Message:
Hi,

compiling with xlc doesn't work because the build system is using gcc options which xlc does not understand. So please use gcc.

When compiling with gcc it is not building one file it later wants to link. To inspect that a copy of your tree would be really welcome. Would that be possible?

Adam

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

Comment By: Christian Sonnemans (csonn-guest)
Date: 2007-10-04 19:33

Message:
2e attempt:

For this i used the IBM VAC9 compiler.
VAC means visual age compiler.
This is the last version of this compiler.

I used in the first try also the IBM make
utility, this version is very strict in some things.

See the compile errors below:

tijdelijk/minicom @pasmar> 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
        make minicom.pot-update
        if test -n 'minicom-devel at lists.alioth.debian.org' || test 'minicom-devel at lists.alioth.debian.org' = '@'PACKAGE_BUGREPORT'@'; then  msgid_bugs_address='minicom-devel at lists.alioth.debian.org';  else  msgid_bugs_address='minicom-devel at lists.alioth.debian.org';  fi;  : --default-domain=minicom --directory=..  --add-comments=TRANSLATORS: --keyword=_ --keyword=N_  --files-from=./POTFILES.in  --copyright-holder='Free Software Foundation, Inc.'  --msgid-bugs-address="$msgid_bugs_address"
        test ! -f minicom.po || {  if test -f ./minicom.pot; then  sed -f remove-potcdate.sed < ./minicom.pot > minicom.1po &&  sed -f remove-potcdate.sed < minicom.po > minicom.2po &&  if cmp minicom.1po minicom.2po >/dev/null 2>&1; then  rm -f minicom.1po minicom.2po minicom.po;  else  rm -f minicom.1po minicom.2po ./minicom.pot &&  mv minicom.po ./minicom.pot;  fi;  else  mv minicom.po ./minicom.pot;  fi;  }
        test ! -f ./minicom.pot ||  test -z "cs.gmo da.gmo de.gmo es.gmo fr.gmo fi.gmo hu.gmo ja.gmo no.gmo pl.gmo pt_BR.gmo ro.gmo ru.gmo rw.gmo sv.gmo vi.gmo zh_TW.gmo" || make cs.gmo da.gmo de.gmo es.gmo fr.gmo fi.gmo hu.gmo ja.gmo no.gmo pl.gmo pt_BR.gmo ro.gmo ru.gmo rw.gmo sv.gmo vi.gmo zh_TW.gmo
Target "all" is up to date.
Making all in lib
Target "all" is up to date.
Making all in src
        source='minicom.c' object='minicom.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  xlc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include -I../lib -DCONFDIR=\"/usr/local/etc\"  -DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/local/include -Wall -W  -c minicom.c
xlc: 1501-210 (S) command option Wall contains an incorrect subargument
make: 1254-004 The error code from the last command is 40.


After this i tried to use the gmake util
and set the CC flag to: 
export CC=XLC  this is the ibm xlc compiler exec.

see errors below:

/tijdelijk/minicom @pasmar> gmake           
gmake  all-recursive
gmake[1]: Entering directory `/tijdelijk/minicom'
Making all in doc
gmake[2]: Entering directory `/tijdelijk/minicom/doc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/tijdelijk/minicom/doc'
Making all in extras
gmake[2]: Entering directory `/tijdelijk/minicom/extras'
Making all in linux
gmake[3]: Entering directory `/tijdelijk/minicom/extras/linux'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tijdelijk/minicom/extras/linux'
Making all in tables
gmake[3]: Entering directory `/tijdelijk/minicom/extras/tables'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tijdelijk/minicom/extras/tables'
Making all in termcap
gmake[3]: Entering directory `/tijdelijk/minicom/extras/termcap'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tijdelijk/minicom/extras/termcap'
Making all in terminfo
gmake[3]: Entering directory `/tijdelijk/minicom/extras/terminfo'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tijdelijk/minicom/extras/terminfo'
gmake[3]: Entering directory `/tijdelijk/minicom/extras'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/tijdelijk/minicom/extras'
gmake[2]: Leaving directory `/tijdelijk/minicom/extras'
Making all in man
gmake[2]: Entering directory `/tijdelijk/minicom/man'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/tijdelijk/minicom/man'
Making all in po
gmake[2]: Entering directory `/tijdelijk/minicom/po'
gmake minicom.pot-update
gmake[3]: Entering directory `/tijdelijk/minicom/po'
if test -n 'minicom-devel at lists.alioth.debian.org' || test 'minicom-devel at lists.alioth.debian.org' = '@'PACKAGE_BUGREPORT'@'; then \
  msgid_bugs_address='minicom-devel at lists.alioth.debian.org'; \
else \
  msgid_bugs_address='minicom-devel at lists.alioth.debian.org'; \
fi; \
: --default-domain=minicom --directory=.. \
  --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
  --files-from=./POTFILES.in \
  --copyright-holder='Free Software Foundation, Inc.' \
  --msgid-bugs-address="$msgid_bugs_address"
test ! -f minicom.po || { \
  if test -f ./minicom.pot; then \
    sed -f remove-potcdate.sed < ./minicom.pot > minicom.1po && \
    sed -f remove-potcdate.sed < minicom.po > minicom.2po && \
    if cmp minicom.1po minicom.2po >/dev/null 2>&1; then \
      rm -f minicom.1po minicom.2po minicom.po; \
    else \
      rm -f minicom.1po minicom.2po ./minicom.pot && \
      mv minicom.po ./minicom.pot; \
    fi; \
  else \
    mv minicom.po ./minicom.pot; \
  fi; \
}
gmake[3]: Leaving directory `/tijdelijk/minicom/po'
test ! -f ./minicom.pot || \
  test -z "cs.gmo da.gmo de.gmo es.gmo fr.gmo fi.gmo hu.gmo ja.gmo no.gmo pl.gmo pt_BR.gmo ro.gmo ru.gmo rw.gmo sv.gmo vi.gmo zh_TW.gmo" || gmake cs.gmo da.gmo de.gmo es.gmo fr.gmo fi.gmo hu.gmo ja.gmo no.gmo pl.gmo pt_BR.gmo ro.gmo ru.gmo rw.gmo sv.gmo vi.gmo zh_TW.gmo
gmake[2]: Leaving directory `/tijdelijk/minicom/po'
Making all in lib
gmake[2]: Entering directory `/tijdelijk/minicom/lib'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/tijdelijk/minicom/lib'
Making all in src
gmake[2]: Entering directory `/tijdelijk/minicom/src'
source='minicom.c' object='minicom.o' libtool=no \
DEPDIR=.deps depmode=aix /bin/sh ../depcomp \
xlc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include -I../lib -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include -Wall -W  -c minicom.c
xlc: 1501-210 (S) command option Wall contains an incorrect subargument
gmake[2]: *** [minicom.o] Error 40
gmake[2]: Leaving directory `/tijdelijk/minicom/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tijdelijk/minicom'
gmake: *** [all] Error 2


For this a also kept a tar.gz file for the complete minicom tree.

It seems that we are a small step further because i don't get the wprint
errors.
I seems to me that the gcc compiler compiles a bit further than the IBM
vac9 compiler.
But still having problems.
What can i do to give you the right clue's?
I understood form a lot of the power users that if there is 
a minicom available it would help them a lot of installing
power series under linux.
So therefore i hope that you not give up to soon!
I like to send you as much of information you need.
So please let me know.

Greetings Christian Sonnemans.




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

Comment By: Christian Sonnemans (csonn-guest)
Date: 2007-10-04 19:19

Message:
Hello Adam,

I tried a lot today, but don't get it awork yet.

1e attempt:

I tried to compile it with te gcc compiler, on AIX 5.3
See below details of the compiler.

---- version of gcc for aix ------
reading specs from /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/specs
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0
Thread model: aix
gcc version 3.3.2
----------------------------------

It tried this on 2 different machines but with the same gcc compiler.
For the make version i used also the gnu gmake utility (same as for linux platforms). 

This shows the following errors:

/tijdelijk/minicom @pasmar> gmake
gmake  all-recursive
gmake[1]: Entering directory `/tijdelijk/minicom'
Making all in doc
gmake[2]: Entering directory `/tijdelijk/minicom/doc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/tijdelijk/minicom/doc'
Making all in extras
gmake[2]: Entering directory `/tijdelijk/minicom/extras'
Making all in linux
gmake[3]: Entering directory `/tijdelijk/minicom/extras/linux'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tijdelijk/minicom/extras/linux'
Making all in tables
gmake[3]: Entering directory `/tijdelijk/minicom/extras/tables'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tijdelijk/minicom/extras/tables'
Making all in termcap
gmake[3]: Entering directory `/tijdelijk/minicom/extras/termcap'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tijdelijk/minicom/extras/termcap'
Making all in terminfo
gmake[3]: Entering directory `/tijdelijk/minicom/extras/terminfo'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tijdelijk/minicom/extras/terminfo'
gmake[3]: Entering directory `/tijdelijk/minicom/extras'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/tijdelijk/minicom/extras'
gmake[2]: Leaving directory `/tijdelijk/minicom/extras'
Making all in man
gmake[2]: Entering directory `/tijdelijk/minicom/man'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/tijdelijk/minicom/man'
Making all in po
gmake[2]: Entering directory `/tijdelijk/minicom/po'
gmake minicom.pot-update
gmake[3]: Entering directory `/tijdelijk/minicom/po'
sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
if test -n 'minicom-devel at lists.alioth.debian.org' || test 'minicom-devel at lists.alioth.debian.org' = '@'PACKAGE_BUGREPORT'@'; then \
  msgid_bugs_address='minicom-devel at lists.alioth.debian.org'; \
else \
  msgid_bugs_address='minicom-devel at lists.alioth.debian.org'; \
fi; \
: --default-domain=minicom --directory=.. \
  --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
  --files-from=./POTFILES.in \
  --copyright-holder='Free Software Foundation, Inc.' \
  --msgid-bugs-address="$msgid_bugs_address"
test ! -f minicom.po || { \
  if test -f ./minicom.pot; then \
    sed -f remove-potcdate.sed < ./minicom.pot > minicom.1po && \
    sed -f remove-potcdate.sed < minicom.po > minicom.2po && \
    if cmp minicom.1po minicom.2po >/dev/null 2>&1; then \
      rm -f minicom.1po minicom.2po minicom.po; \
    else \
      rm -f minicom.1po minicom.2po ./minicom.pot && \
      mv minicom.po ./minicom.pot; \
    fi; \
  else \
    mv minicom.po ./minicom.pot; \
  fi; \
}
gmake[3]: Leaving directory `/tijdelijk/minicom/po'
test ! -f ./minicom.pot || \
  test -z "cs.gmo da.gmo de.gmo es.gmo fr.gmo fi.gmo hu.gmo ja.gmo no.gmo pl.gmo pt_BR.gmo ro.gmo ru.gmo rw.gmo sv.gmo vi.gmo zh_TW.gmo" || gmake cs.gmo da.gmo de.gmo es.gmo fr.gmo fi.gmo hu.gmo ja.gmo no.gmo pl.gmo pt_BR.gmo ro.gmo ru.gmo rw.gmo sv.gmo vi.gmo zh_TW.gmo
gmake[2]: Leaving directory `/tijdelijk/minicom/po'
Making all in lib
gmake[2]: Entering directory `/tijdelijk/minicom/lib'
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -MT getopt_long.o -MD -MP -MF ".deps/getopt_long.Tpo" -c -o getopt_long.o getopt_long.c; \
then mv -f ".deps/getopt_long.Tpo" ".deps/getopt_long.Po"; else rm -f ".deps/getopt_long.Tpo"; exit 1; fi
rm -f libport.a
ar cru libport.a  error.o getopt_long.o getopt.o
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file getopt.o.
gmake[2]: *** [libport.a] Error 1
gmake[2]: Leaving directory `/tijdelijk/minicom/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tijdelijk/minicom'
gmake: *** [all] Error 2

I also have a complete tar.gz copy of the minicom tree
but i don't know how i can send you this probaly usefull info.



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

Comment By: Christian Sonnemans (csonn-guest)
Date: 2007-10-03 10:08

Message:
Hello Adam,

On an other AIX system (not at home) i tested it again.
Seems that the getops function is not found.
I test it tomorrow again at home, mybe this is more sucessful.
current erros see below:

./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 ISO C89... 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 grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/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 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 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/modem
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: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile



/home/9120019/minicom>make
gmake  all-recursive
gmake[1]: Entering directory `/apps/home_ontw/9120019/minicom'
Making all in doc
gmake[2]: Entering directory `/apps/home_ontw/9120019/minicom/doc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/apps/home_ontw/9120019/minicom/doc'
Making all in extras
gmake[2]: Entering directory `/apps/home_ontw/9120019/minicom/extras'
Making all in linux
gmake[3]: Entering directory `/apps/home_ontw/9120019/minicom/extras/linux'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/apps/home_ontw/9120019/minicom/extras/linux'
Making all in tables
gmake[3]: Entering directory `/apps/home_ontw/9120019/minicom/extras/tables'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/apps/home_ontw/9120019/minicom/extras/tables'
Making all in termcap
gmake[3]: Entering directory `/apps/home_ontw/9120019/minicom/extras/termcap'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/apps/home_ontw/9120019/minicom/extras/termcap'
Making all in terminfo
gmake[3]: Entering directory `/apps/home_ontw/9120019/minicom/extras/terminfo'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/apps/home_ontw/9120019/minicom/extras/terminfo'
gmake[3]: Entering directory `/apps/home_ontw/9120019/minicom/extras'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/apps/home_ontw/9120019/minicom/extras'
gmake[2]: Leaving directory `/apps/home_ontw/9120019/minicom/extras'
Making all in man
gmake[2]: Entering directory `/apps/home_ontw/9120019/minicom/man'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/apps/home_ontw/9120019/minicom/man'
Making all in po
gmake[2]: Entering directory `/apps/home_ontw/9120019/minicom/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/apps/home_ontw/9120019/minicom/po'
Making all in lib
gmake[2]: Entering directory `/apps/home_ontw/9120019/minicom/lib'
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT getopt_long.o -MD -MP -MF ".deps/getopt_long.Tpo" -c -o getopt_long.o getopt_long.c; \
then mv -f ".deps/getopt_long.Tpo" ".deps/getopt_long.Po"; else rm -f ".deps/getopt_long.Tpo"; exit 1; fi
rm -f libport.a
ar cru libport.a  error.o getopt_long.o getopt.o
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file getopt.o.
gmake[2]: *** [libport.a] Error 1
gmake[2]: Leaving directory `/apps/home_ontw/9120019/minicom/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/apps/home_ontw/9120019/minicom'
gmake: *** [all] Error 2

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

Comment By: Adam Lackorzynski (al-guest)
Date: 2007-10-03 08:17

Message:
Oh, sorry, I've now updated the tar.gz (same URL). The archive now contains the files instead of links.

Adam

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

Comment By: Christian Sonnemans (csonn-guest)
Date: 2007-10-03 07:57

Message:
It seem that i used the wrong file.
I just tried i again on a other system and it seem that i some links are missing:

./configure   
configure: error: cannot find install-sh or install.sh 
in "." "./.." "./../.."

lrwxrwxrwx   1 root     system           31 Oct 03 07:20 missing -> /usr/share/automake-1.9/missing
lrwxrwxrwx   1 root     system           34 Oct 03 07:20 install-sh -> /usr/share/automake-1.9/install-sh
lrwxrwxrwx   1 root     system           31 Oct 03 07:20 depcomp -> /usr/share/automake-1.9/depcomp
lrwxrwxrwx   1 root     system           34 Oct 03 07:20 config.sub -> /usr/share/automake-1.9/config.sub
lrwxrwxrwx   1 root     system           36 Oct 03 07:20 config.guess -> /usr/share/automake-1.9/config.guess

The links refers automake, on this system it does not exists. 

I will tried to find automake for AIX 5.3. if it is available.



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

Comment By: Christian Sonnemans (csonn-guest)
Date: 2007-10-02 19:17

Message:
Hello Adam,

It still does not work see below for complete errors

/tijdelijk/minicom-2.2 @pasmar> ./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... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
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... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl
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/modem
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: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
/tijdelijk/minicom-2.2 @pasmar> gmake
gmake  all-recursive
gmake[1]: Entering directory `/tijdelijk/minicom-2.2'
Making all in doc
gmake[2]: Entering directory `/tijdelijk/minicom-2.2/doc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/tijdelijk/minicom-2.2/doc'
Making all in extras
gmake[2]: Entering directory `/tijdelijk/minicom-2.2/extras'
Making all in linux
gmake[3]: Entering directory `/tijdelijk/minicom-2.2/extras/linux'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tijdelijk/minicom-2.2/extras/linux'
Making all in tables
gmake[3]: Entering directory `/tijdelijk/minicom-2.2/extras/tables'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tijdelijk/minicom-2.2/extras/tables'
Making all in termcap
gmake[3]: Entering directory `/tijdelijk/minicom-2.2/extras/termcap'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tijdelijk/minicom-2.2/extras/termcap'
Making all in terminfo
gmake[3]: Entering directory `/tijdelijk/minicom-2.2/extras/terminfo'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tijdelijk/minicom-2.2/extras/terminfo'
gmake[3]: Entering directory `/tijdelijk/minicom-2.2/extras'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/tijdelijk/minicom-2.2/extras'
gmake[2]: Leaving directory `/tijdelijk/minicom-2.2/extras'
Making all in man
gmake[2]: Entering directory `/tijdelijk/minicom-2.2/man'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/tijdelijk/minicom-2.2/man'
Making all in po
gmake[2]: Entering directory `/tijdelijk/minicom-2.2/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/tijdelijk/minicom-2.2/po'
Making all in lib
gmake[2]: Entering directory `/tijdelijk/minicom-2.2/lib'
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -g -O2 -MT getopt_long.o -MD -MP -MF ".deps/getopt_long.Tpo" -c -o getopt_long.o getopt_long.c; \
then mv -f ".deps/getopt_long.Tpo" ".deps/getopt_long.Po"; else rm -f ".deps/getopt_long.Tpo"; exit 1; fi
rm -f libport.a
ar cru libport.a  error.o getopt_long.o getopt.o
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file getopt.o.
gmake[2]: *** [libport.a] Error 1
gmake[2]: Leaving directory `/tijdelijk/minicom-2.2/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tijdelijk/minicom-2.2'
gmake: *** [all] Error 2


After this i tried the IBM make util, instead of gmake

tijdelijk/minicom-2.2 @pasmar> 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/usr/local/include -I../lib -DCONFDIR=\"/usr/local/etc\"  -DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/local/include -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'
/usr/include/wchar.h:330: error: previous declaration of `wprintf'
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