* SLiRP on osf
@ 1995-05-18 4:00 Leigh Chao
1995-05-21 4:00 ` Kai Makisara
0 siblings, 1 reply; 3+ messages in thread
From: Leigh Chao @ 1995-05-18 4:00 UTC (permalink / raw)
Has anyone be able to successfully compile and run the slip-emulator SLiRP
on OSF/1?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SLiRP on osf
1995-05-18 4:00 SLiRP on osf Leigh Chao
@ 1995-05-21 4:00 ` Kai Makisara
1995-05-21 4:00 ` Leigh Chao
0 siblings, 1 reply; 3+ messages in thread
From: Kai Makisara @ 1995-05-21 4:00 UTC (permalink / raw)
In article <chaolc-1805952355180001@192.0.2.1> chaolc@sluaxa.slu.edu (Leigh Chao) writes:
Has anyone be able to successfully compile and run the slip-emulator SLiRP
on OSF/1?
I am currently running slirp-0.9k on an Alphastation with OSF/1
3.0B. Compilation with native cc gives a lot of warnings but they are
harmless. The BSD network code used in SLiRP stuffs pointers into
32-bit fields within the packets and some trickery had to be used to
get the code running on Alpha. I don't know what happens if you try to
use gcc.
Kai
--
DISCLAIMER: The views expressed here are mine and may not always
coincide with the views of my employer.
* Kai Makisara * email Kai.Makisara@metla.fi *
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SLiRP on osf
1995-05-21 4:00 ` Kai Makisara
@ 1995-05-21 4:00 ` Leigh Chao
0 siblings, 0 replies; 3+ messages in thread
From: Leigh Chao @ 1995-05-21 4:00 UTC (permalink / raw)
In article <MAKISARA.95May21110716@abies.metla.fi>,
makisara@abies.metla.fi (Kai Makisara) wrote:
>In article <chaolc-1805952355180001@192.0.2.1> chaolc@sluaxa.slu.edu
(Leigh Chao) writes:
>
> Has anyone be able to successfully compile and run the slip-emulator SLiRP
> on OSF/1?
>
>I am currently running slirp-0.9k on an Alphastation with OSF/1
>3.0B. Compilation with native cc gives a lot of warnings but they are
>harmless. The BSD network code used in SLiRP stuffs pointers into
>32-bit fields within the packets and some trickery had to be used to
>get the code running on Alpha. I don't know what happens if you try to
>use gcc.
>
> Kai
>
>--
>DISCLAIMER: The views expressed here are mine and may not always
>coincide with the views of my employer.
>
>* Kai Makisara * email Kai.Makisara@metla.fi *
Thanks for replying to my post. My problem is that I can't even configure
it! I could use native cc on this DEC alpha if I can get slirp to
configure first. Were you able to configure it using that script, or did
you manually configure it? I always get a core dump. Here's what happens
on screen when I type configure:
$ configure
creating cache ./config.cache
checking for gcc... cc
checking whether we are using GNU C... no
checking how to run the C preprocessor... cc -E
checking whether cross-compiling... no
checking whether sprintf returns int... yes
checking whether sprintf/fprintf need to be declared... no
checking whether your compiler accepts prototypes... yes
checking for 8-bit clean memcmp... yes
checking for -lnsl... no
checking for -lsocket... no
checking for -lposix... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/ioctl.h... yes
checking for unistd.h... yes
checking for sys/filio.h... no
checking for sys/select.h... yes
checking for string.h... yes
checking for sys/signal.h... yes
checking for sys/bitypes.h... no
checking whether byte ordering is bigendian... no
checking for working const... yes
checking for inline... __inline
checking whether u_int32_t etc. need to be typedef'd... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of char *... 8
checking for strdup... yes
checking for strerror... yes
checking for readv... yes
updating cache ./config.cache
creating ./config.status
./config.status: 2608 Memory fault - core dumped
creating Makefile
creating config.h
./config.status: 2600 Memory fault - core dumped
config.h is unchanged
and here is the config.status file after all that:
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host sluaxa.slu.edu:
#
# ./configure
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
for ac_option
do
case "$ac_option" in
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursio
n"
exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "./config.status generated by autoconf version 2.3"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "$ac_cs_usage"; exit 0 ;;
*) echo "$ac_cs_usage"; exit 1 ;;
esac
done
ac_given_srcdir=.
trap 'rm -fr Makefile config.h conftest*; exit 1' 1 2 15
# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
/^[ ]*VPATH[ ]*=[^:]*$/d
s%@CFLAGS@%-g -DANSI -O%g
s%@CPPFLAGS@%%g
s%@CXXFLAGS@%%g
s%@DEFS@%-DHAVE_CONFIG_H%g
s%@LDFLAGS@% -T 20000000 -D 40000000%g
s%@LIBS@%%g
s%@exec_prefix@%${prefix}%g
s%@prefix@%/usr/local%g
s%@program_transform_name@%s,x,x,%g
s%@CC@%cc%g
s%@CPP@%cc -E%g
s%@LIBOBJS@%%g
CEOF
CONFIG_FILES=${CONFIG_FILES-"Makefile"}
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
# Support "outfile[:infile]", defaulting infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
# Adjust relative srcdir, etc. for subdirectories.
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
# A "../" for each directory in $ac_dir_suffix.
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
else
ac_dir_suffix= ac_dots=
fi
case "$ac_given_srcdir" in
.) srcdir=.
if test -z "$ac_dots"; then top_srcdir=.
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
*) # Relative path.
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
echo creating "$ac_file"
rm -f "$ac_file"
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'`
by configure."
case "$ac_file" in
*Makefile*) ac_comsub="1i\\
# $configure_input" ;;
*) ac_comsub= ;;
esac
sed -e "$ac_comsub
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
fi; done
rm -f conftest.subs
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
ac_dC='\3'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_uB='\([ ]\)%\1#\2define\3'
ac_uC=' '
ac_uD='\4%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_eB='$%\1#\2define\3'
ac_eC=' '
ac_eD='%g'
CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"}
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
# Support "outfile[:infile]", defaulting infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
echo creating $ac_file
rm -f conftest.frag conftest.in conftest.out
cp $ac_given_srcdir/$ac_file_in conftest.in
cat > conftest.frag <<CEOF
${ac_dA}TIME_WITH_SYS_TIME${ac_dB}TIME_WITH_SYS_TIME${ac_dC}1${ac_dD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
rm -f conftest.frag conftest.h
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
cat conftest.in >> conftest.h
rm -f conftest.in
if cmp -s $ac_file conftest.h 2>/dev/null; then
echo "$ac_file is unchanged"
rm -f conftest.h
else
rm -f $ac_file
mv conftest.h $ac_file
fi
fi; done
exit 0
Any suggestions?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-05-21 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-18 4:00 SLiRP on osf Leigh Chao
1995-05-21 4:00 ` Kai Makisara
1995-05-21 4:00 ` Leigh Chao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox