Hello Mike, pwd
/opt/iraf/x11iraf.src
wget ftp://iraf.noao.edu/pub/fitz/x11iraf-new_gcc.tgz .
su
xmkmf
make World gccmakedep -I.. -I. -DHAVE_UNISTD_H=1 -- -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BIT
S=64 -DFUNCPROTO=15 -DNARROWPROTO
-- panic.c regexp.c tclAppInit.c tclAsync.c tclBasic.c tclCkalloc.c tclCmdAH.c tclCmdIL.c tclCmdMZ.c tclEnv.c tclExpr.c tclGet.c tclGlob.c tclHash.c tclHistory.c tclLink.c tclMain.c tclMtherr.c tclParse.c tclProc.c tclTest.c tclUnixAZ.c tclUnixStr.c tclUnixUtil.c tclUtil.c tclVar.c
In file included from tclInt.h:75,
from regexp.c:35:
/usr/lib/gcc/i586-suse-linux/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i586-suse-linux/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
In file included from tclInt.h:75, from tclAsync.c:34:
/usr/lib/gcc/i586-suse-linux/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i586-suse-linux/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
In file included from tclInt.h:75, from tclBasic.c:33:
/usr/lib/gcc/i586-suse-linux/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i586-suse-linux/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
In file included from tclInt.h:75, from tclCkalloc.c:30:about 50 errors on ......
In file included from tclInt.h:75, from tclCkalloc.c:30:charproc.c:3790: warning: return type defaults to ?int?
charproc.c:3804: warning: return type defaults to ?int?
make[2]: *** [charproc.o] Error 1
make[2]: Leaving directory `/opt/iraf/x11iraf.src/xgterm'
making all in ./ximtool...
make[2]: Entering directory `/opt/iraf/x11iraf.src/ximtool'
rm -f ximtool
gcc -m32 -o ximtool -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -L/opt/iraf/x11iraf.src
/lib -L../lib -L/usr/lib eps.o iis.o load.o print.o raster.o save.o rasio.o fitsio.o ximclient.o ximtool.o quant.o util.o zscale.o gifio.o tiffio.o irafio.o ism.o ism_wcspix.o -lobm -lXpm -lXaw3d -lXmu -lXt -lSM -lICE -lXpm -lXp -lXext -lX11 -lm /usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lobm
collect2: ld returned 1 exit status
make[2]: *** [ximtool] Error 1
make[2]: Leaving directory `/opt/iraf/x11iraf.src/ximtool'
making all in ./xtapemon...
make[2]: Entering directory `/opt/iraf/x11iraf.src/xtapemon'
rm -f xtapemon
gcc -m32 -o xtapemon -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -L../lib -L/opt/iraf/x
11iraf.src/lib -L../lib -L/usr/lib classnames.o types.o xtapemon.o -lobm -lXpm -lXaw3d -lXmu -lXt -lSM -lICE -lXpm -lXp -lXext -lX11 -lm
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lobm
collect2: ld returned 1 exit status
make[2]: *** [xtapemon] Error 1
make[2]: Leaving directory `/opt/iraf/x11iraf.src/xtapemon'
making all in ./obmsh...
make[2]: Entering directory `/opt/iraf/x11iraf.src/obmsh'
rm -f obmsh
gcc -m32 -o obmsh -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -L/opt/iraf/x11iraf.src/l
ib -L../lib -L/usr/lib obmsh.o -lobm -lXpm -lXaw3d -lXmu -lXt -lSM -lICE -lXpm -lXp -lXext -lX11 -lm
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lobm
collect2: ld returned 1 exit status
make[2]: *** [obmsh] Error 1
make[2]: Leaving directory `/opt/iraf/x11iraf.src/obmsh'
making all in ./vximtool...
make[2]: Entering directory `/opt/iraf/x11iraf.src/vximtool'
rm -f vximtool
gcc -m32 -o vximtool -DHAVE_CDL vximtool.o -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing
-L/opt/iraf/x11iraf.src/lib -L../lib -L/usr/lib -lcdl -lm
/usr/local/lib/libcdl.a(imd.o): In function `imd_setWCS':
imd.c
.text+0x912): warning: the `getwd' function is dangerous and should not be used.
/usr/local/lib/libcdl.a(cdl.o): In function `cdl_printPix':
cdl.c
.text+0xf1f): warning: the use of `mktemp' is dangerous, better use `mkstemp'
/usr/local/lib/libcdl.a(imd.o): In function `imd_parseImtdev':
imd.c
.text+0x206f): undefined reference to `__ctype_b'
imd.c
.text+0x20de): undefined reference to `__ctype_b'
/usr/local/lib/libcdl.a(imd.o): In function `imd_loadImtoolrc':
imd.c
.text+0x2341): undefined reference to `__ctype_b'
/usr/local/lib/libcdl.a(imd.o): In function `imd_getstr':
imd.c
.text+0x24c8): undefined reference to `__ctype_b'
collect2: ld returned 1 exit status
make[2]: *** [vximtool] Error 1
make[2]: Leaving directory `/opt/iraf/x11iraf.src/vximtool'
make[1]: *** [apps] Error 2
make[1]: Leaving directory `/opt/iraf/x11iraf.src'
make: *** [World] Error 2Replacing <varargs.h> to use <stdarg.h> did not get much further.thank you,
osturna