From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Wunderlin Subject: Compiling on OpenBSD Date: Sun, 20 Jun 2004 13:15:55 +0200 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <40D571EB.5020009@wunderlin.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-msdos@vger.kernel.org hi, i try to compile 1.2.1 on openBSD, however, i haven't gotten over the ./configure script yet. first of all, are there any chances that dosemu will compile on a bsd derived system (or is it written for linux only)? if there is a chance, i have a problem running configure on openbsd: --- # sh ./configure --prefix=/home/_dosemu configure: Compiling for native x86... ... snip (full output see below) *** error: *** Your system has no complete code16 functional gas, *** you must upgrade to atleast binutils-2.9.1.0.25 *** in order to compile DOSEMU ... giving up # pkg_info | grep binutils binutils-2.12 GNU development tools --- what can i do to get around this problem ? any help would be appreciated. Cheers, -- Simon # sh ./configure --prefix=/home/_dosemu expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error ./mkpluginhooks enable no yes yes yes slang no yes yes yes no find: -printf: unknown option exec ./configure --with-slangdir=default --prefix=/usr/local --bindir=${prefix}/bin --sysconfdir=/etc/dosemu --datadir=${prefix}/share --mandir=${prefix}/man --with-docdir=${datadir}/doc/dosemu --with-syshdimagedir=/var/lib/dosemu --with-x11fontdir=${datadir}/dosemu/Xfonts --with-fdtarball=dosemu-freedos-bin.tgz --prefix=/home/_dosemu checking build system type... i386-unknown-openbsd3.3 checking host system type... i386-unknown-openbsd3.3 checking target system type... i386-unknown-openbsd3.3 checking for gcc... gcc checking for C compiler default output... 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 how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for bison... bison -y checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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... no checking for unistd.h... yes checking whether sys/types.h defines makedev... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... 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 for unistd.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for pid_t... yes checking return type of signal handlers... void checking for size_t... yes checking for uid_t in sys/types.h... yes checking for struct stat.st_rdev... yes checking whether struct tm is in sys/time.h or time.h... time.h checking if C compiler has "__FILE__" macro... yes checking if C compiler has "__LINE__" macro... yes checking if C compiler has "__FUNCTION__" macro... yes checking for working alloca.h... no checking for alloca... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether utime accepts a null argument... yes checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for sigaltstack... yes configure: Linking for shared libraries... configure: Compiling without svgalib support... checking for Gpm_Open in -lgpm... no configure: Compiling without GPM support... checking for S-Lang... checking for SLsmg_write_nwchars in -lslang... no checking for SLtt_get_terminfo in -lslang... no configure: WARNING: No S-Lang library found. Using supplied S-Lang. find: -printf: unknown option checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... no checking for gethostbyname in -lnsl... no checking for gethostbyname in -lbsd... no checking for connect... no checking for connect in -lsocket... no checking for remove... no checking for remove in -lposix... no checking for shmat... no checking for shmat in -lipc... no checking for IceConnectionNumber in -lICE... no checking for XOpenDisplay in -lX11... no checking for XCloseDisplay in -lX11... no checking for main in -lXwindow... no configure: Compiling without X support... configure: EXPERIMENTAL stuff disabled... find: -printf: unknown option configure: Compiling without plug-ins... configure: Compiling without debug info... configure: Compiling with ASPI support... configure: Compiling with SB Emulation... checking for gus_close in -lgus... no configure: Compiling for native x86... *** error: *** Your system has no complete code16 functional gas, *** you must upgrade to atleast binutils-2.9.1.0.25 *** in order to compile DOSEMU ... giving up