[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
Sat Jul 23 18:12:55 UTC 2011


Bugs item #304105, was changed at 2007-03-05 15:25 by Adam Lackorzynski
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=100031&aid=304105&group_id=30018

>Status: Closed
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: Out of Date


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-16 23:38

Message:
Hi,

the problem with the option comes because gcc options are used with the IBM compiler which the IBM compiler does not understand. One would have to convert all gcc options to IBM compiler options to make that work. But this is not so important as we can use gcc.

More important in the getopts thing. The intersting thing is why getopt.c is not compiled but taken to be linked into the lib. The file getopt.o is not there so the linking fails. I don't really understand why a second run succeeds but anyway it cannot really be ok since the file getopt.o is still not there. That could also be the reason why it finally fails to execute.
It would be good if I could look myself at this. I'll try to find some AIX5 box but I fear I won't be so successful...

Adam

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

Comment By: Christian Sonnemans (csonn-guest)
Date: 2007-10-11 10:55

Message:
Hello Adam,

I did serveral tests again.
The things that a collegue of my did helped me in some way.
First he told me to use the native cc compiler of IBM.
Ok tested it and than indeed it does not show the getops errors but now it comes up with:
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  cc -qlanglvl=extc89 -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 -Wall -W -g -c minicom.c
cc: 1501-210 (S) command option Wall contains an incorrect subargument
make: 1254-004 The error code from the last command is 40.


Stop.

The machine on witch he compiled is indeed an AIX5.2 machine. But this machine has the same getop funtions installed as my machine, its part of the IBM libs.

I also tried to recompile his old minicom tree, and
did the tricks he did.
First with not overwriting the Makefile in de lib dir
and indeed this came up with the following error:
Making all in lib
        source='error.c' object='error.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/include  -g -c error.c
        source='getopt_long.c' object='getopt_long.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/include  -g -c getopt_long.c
        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.
make: 1254-004 The error code from the last command is 1.

After this i did compiled it again with overwriting the Make file in the lib dir.

Then it compiled just fine. No real errors see below the last part, so i seems to fix the getops in the old tree of minicom he used.
Making all in lib
        source='getopt.c' object='getopt.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  /usr/vac/bin/cc -DHAVE_CONFIG_H -I. -I. -I..      -g -c getopt.c
        rm -f libport.a
        ar cru libport.a  error.o getopt_long.o getopt.o
        ranlib libport.a
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  cc -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  -g -c minicom.c
        source='vt100.c' object='vt100.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c vt100.c
        source='config.c' object='config.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c config.c
        source='help.c' object='help.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c help.c
        source='updown.c' object='updown.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c updown.c
        source='util.c' object='util.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c util.c
        source='dial.c' object='dial.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c dial.c
        source='window.c' object='window.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c window.c
        source='wkeys.c' object='wkeys.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c wkeys.c
"wkeys.c", line 131.41: 1506-280 (W) Function argument assignment between types "char*" and "const char*" is not allowed.
        source='ipc.c' object='ipc.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c ipc.c
        source='windiv.c' object='windiv.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c windiv.c
        source='sysdep1.c' object='sysdep1.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c sysdep1.c
        source='sysdep1_s.c' object='sysdep1_s.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c sysdep1_s.c
        source='sysdep2.c' object='sysdep2.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c sysdep2.c
        source='rwconf.c' object='rwconf.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c rwconf.c
        source='main.c' object='main.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c main.c
        source='file.c' object='file.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c file.c
        source='getsdir.c' object='getsdir.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c getsdir.c
        source='wildmat.c' object='wildmat.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c wildmat.c
        source='common.c' object='common.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c common.c
        cc -g  -g  -L/usr/local/lib -o minicom  minicom.o vt100.o  config.o help.o updown.o  util.o dial.o window.o wkeys.o  ipc.o windiv.o sysdep1.o  sysdep1_s.o sysdep2.o rwconf.o  main.o file.o getsdir.o  wildmat.o common.o -lintl ../lib/libport.a -lcurses
        source='script.c' object='script.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c script.c
        cc -g  -g  -L/usr/local/lib -o runscript  script.o sysdep1_s.o  common.o -lintl ../lib/libport.a -lcurses
        source='ascii-xfr.c' object='ascii-xfr.o' libtool=no  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  cc -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  -g -c ascii-xfr.c
        cc -g  -g  -L/usr/local/lib -o ascii-xfr  ascii-xfr.o ../lib/libport.a -lcurses
Target "all" is up to date.
Target "all-am" is up to date.

But one big issue:
I can not run de exec:
fs/stripe/source/minicom-mike/minicom-2.2.aix/src @pasmar> ./minicom
exec(): 0509-036 Cannot load program ./minicom because of the following errors:
        0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.1).
        0509-150   Dependent module /usr/local/lib/libiconv.a(shr4.o) could not be loaded.
        0509-152   Member shr4.o is not found in archive 
        0509-022 Cannot load module minicom.
        0509-150   Dependent module /opt/freeware/lib/libintl.a(libintl.so.1) could not be loaded.
        0509-022 Cannot load module .

Altough the lib exists

ls -altr /opt/freeware/lib/libintl.a
 -rwxr-xr-x   1 root     system       113080 Jul 07 2006  /opt/freeware/lib/libintl.a

Ok the recompiling the old stuff he used was just a test for me. Lets focus on the first part. How can i fix the message:include -g -Wall -W -g -c minicom.c
cc: 1501-210 (S) command option Wall contains an incorrect subargument

If you want that i say witch the gcc error messages than i need to know how to fix the getops errors, do i have to install extra lib's voor the gcc compiler to fix this?

Greetings Christian.


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

Comment By: Adam Lackorzynski (al-guest)
Date: 2007-10-09 23:08

Message:

The function name issues are already fixed in the snapshot you have (also in 2.3-rc1 which has been released on sunday). I'm rather interested in the link issue with getopt.

In the minicom-tree.tar.gz archive the Makefile and Makefile.aix files in the lib directory are the same so I don't understand the difference here. He did use the 2.2 releases, right (and you the snapshot)? And used another host than you (5.2 v 5.3 in the Makefiles)? Is there a possibility that one host has getopt installed and the other has not? Just guessing...

Thanks,
Adam

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

Comment By: Christian Sonnemans (csonn-guest)
Date: 2007-10-09 16:21

Message:
Hello Adam,

I have more info about the compiler issues on AIX.
A college of my managed to get it a work!
Not on a proper way but anyway I think this info will help you to fix the problems we encounter.

I include the complete tree again (this tree successful compiled on aix)send by email.

Below his explanation on the stuff he did to get it awork.

Hi Christian,

It uses the native complier. -> He meant ibm cc compiler

All instances of wprintf and wscanf were changed to Wprintf and Wscanf
New prototypes were added in port.h
Added BC to the term capabilites in window.c
./configure works fine, but it screws up the Makefile in ./lib.

So after ./configure, cd ./lib; cp -p Makefile.aix Makefile
Then cd ..; make
In the ./src directory a working minicom is linked.

For the most comprehensive changes, download minicom 2.2 from somewhere and do a diff.

Does this info helps you?

Greetings Christian.


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

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: 
https://alioth.debian.org/tracker/?func=detail&atid=100031&aid=304105&group_id=30018



More information about the minicom-devel mailing list