Unix Technical Forum

cannot find XOpenDisplay

This is a discussion on cannot find XOpenDisplay within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello to all, I try to install dosemu ; I can't compile it with support for x, I get ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 01:36 PM
Gauthier
 
Posts: n/a
Default cannot find XOpenDisplay

Hello to all,

I try to install dosemu ; I can't compile it with support for x, I get
thes messages when configuring :

checking for XOpenDisplay in -lX11... no
checking for XCloseDisplay in -lX11... no
checking for main in -lXwindow... no
configure: Compiling without X support...

And then :

configure: WARNING:
configure: WARNING: Compiling without X support.
configure: WARNING: Install the X development libraries if you want
support for X.

But the package xfree86-devel-4.3.0-i486-3 is well installed.

Can someone help ? I work on a Slackware 9.1

Here is the config.log :


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.57. Invocation command line was

$ /home/gv/programmes/dosemu-1.2.2/configure --enable-linkstatic --with-svgalib --with-slangdir=default --prefix=/usr --bindir=${prefix}/bin --sysconfdir=/etc/dosemu --datadir=${prefix}/share --mandir=${prefix}/man --with-docdir=${prefix}/doc/dosemu-1.2.2 --with-syshdimagedir=/var/lib/dosemu --with-x11fontdir=${datadir}/dosemu/Xfonts --with-fdtarball=dosemu-freedos-bin.tgz --with-x

## --------- ##
## Platform. ##
## --------- ##

hostname = fantasio
uname -m = i686
uname -r = 2.4.22
uname -s = Linux
uname -v = #6 Tue Sep 2 17:43:01 PDT 2003

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/j2sdk1.3.1/bin
PATH: /usr/local/mozilla
PATH: /home/gv/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /usr/lib/java/bin
PATH: /usr/lib/java/jre/bin
PATH: /opt/kde/bin
PATH: /usr/lib/qt-3.2.1/bin
PATH: /usr/share/texmf/bin
PATH: .


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1338: checking build system type
configure:1356: result: i686-pc-linux-gnu
configure:1364: checking host system type
configure:1378: result: i686-pc-linux-gnu
configure:1386: checking target system type
configure:1400: result: i686-pc-linux-gnu
configure:1462: checking for gcc
configure:1478: found /usr/bin/gcc
configure:1488: result: gcc
configure:1732: checking for C compiler version
configure:1735: gcc --version </dev/null >&5
gcc (GCC) 3.2.3
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1738: $? = 0
configure:1740: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/specs
Configured with: ../gcc-3.2.3/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.2.3
configure:1743: $? = 0
configure:1745: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1748: $? = 1
configure:1772: checking for C compiler default output
configure:1775: gcc conftest.c >&5
configure:1778: $? = 0
configure:1824: result: a.out
configure:1829: checking whether the C compiler works
configure:1835: ./a.out
configure:1838: $? = 0
configure:1855: result: yes
configure:1862: checking whether we are cross compiling
configure:1864: result: no
configure:1867: checking for suffix of executables
configure:1869: gcc -o conftest conftest.c >&5
configure:1872: $? = 0
configure:1897: result:
configure:1903: checking for suffix of object files
configure:1925: gcc -c conftest.c >&5
configure:1928: $? = 0
configure:1950: result: o
configure:1954: checking whether we are using the GNU C compiler
configure:1979: gcc -c conftest.c >&5
configure:1982: $? = 0
configure:1985: test -s conftest.o
configure:1988: $? = 0
configure:2001: result: yes
configure:2007: checking whether gcc accepts -g
configure:2029: gcc -c -g conftest.c >&5
configure:2032: $? = 0
configure:2035: test -s conftest.o
configure:2038: $? = 0
configure:2049: result: yes
configure:2066: checking for gcc option to accept ANSI C
configure:2127: gcc -c -g -O2 conftest.c >&5
configure:2130: $? = 0
configure:2133: test -s conftest.o
configure:2136: $? = 0
configure:2154: result: none needed
configure:2172: gcc -c -g -O2 conftest.c >&5
conftest.c:2: syntax error before "me"
configure:2175: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2290: checking how to run the C preprocessor
configure:2326: gcc -E conftest.c
configure:2332: $? = 0
configure:2364: gcc -E conftest.c
configure:2363:28: ac_nonexistent.h: No such file or directory
configure:2370: $? = 1
configure: failed program was:
| #line 2355 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:2408: result: gcc -E
configure:2433: gcc -E conftest.c
configure:2439: $? = 0
configure:2471: gcc -E conftest.c
configure:2470:28: ac_nonexistent.h: No such file or directory
configure:2477: $? = 1
configure: failed program was:
| #line 2462 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:2520: checking for egrep
configure:2530: result: grep -E
configure:2536: checking whether gcc needs -traditional
configure:2580: result: no
configure:2591: checking for gawk
configure:2607: found /usr/bin/gawk
configure:2617: result: gawk
configure:2639: checking for a BSD-compatible install
configure:2693: result: /usr/bin/ginstall -c
configure:2708: checking for flex
configure:2724: found /usr/bin/flex
configure:2734: result: flex
configure:2747: checking for yywrap in -lfl
configure:2778: gcc -o conftest -g -O2 conftest.c -lfl >&5
configure:2781: $? = 0
configure:2784: test -s conftest
configure:2787: $? = 0
configure:2799: result: yes
configure:2867: checking lex output file root
configure:2878: flex conftest.l
configure:2881: $? = 0
configure:2893: result: lex.yy
configure:2898: checking whether yytext is a pointer
configure:2914: gcc -o conftest -g -O2 conftest.c -lfl >&5
configure:2917: $? = 0
configure:2920: test -s conftest
configure:2923: $? = 0
configure:2936: result: yes
configure:2994: checking whether ln -s works
configure:2998: result: yes
configure:3005: checking whether make sets $(MAKE)
configure:3025: result: yes
configure:3075: checking for ranlib
configure:3091: found /usr/bin/ranlib
configure:3102: result: ranlib
configure:3118: checking for bison
configure:3134: found /usr/bin/bison
configure:3144: result: bison -y
configure:3174: checking for dirent.h that defines DIR
configure:3199: gcc -c -g -O2 conftest.c >&5
configure:3202: $? = 0
configure:3205: test -s conftest.o
configure:3208: $? = 0
configure:3219: result: yes
configure:3232: checking for library containing opendir
configure:3263: gcc -o conftest -g -O2 conftest.c >&5
configure:3266: $? = 0
configure:3269: test -s conftest
configure:3272: $? = 0
configure:3331: result: none required
configure:3447: checking for ANSI C header files
configure:3473: gcc -c -g -O2 conftest.c >&5
configure:3476: $? = 0
configure:3479: test -s conftest.o
configure:3482: $? = 0
configure:3571: gcc -o conftest -g -O2 conftest.c >&5
configure:3574: $? = 0
configure:3576: ./conftest
configure:3579: $? = 0
configure:3594: result: yes
configure:3618: checking for sys/types.h
configure:3635: gcc -c -g -O2 conftest.c >&5
configure:3638: $? = 0
configure:3641: test -s conftest.o
configure:3644: $? = 0
configure:3655: result: yes
configure:3618: checking for sys/stat.h
configure:3635: gcc -c -g -O2 conftest.c >&5
configure:3638: $? = 0
configure:3641: test -s conftest.o
configure:3644: $? = 0
configure:3655: result: yes
configure:3618: checking for stdlib.h
configure:3635: gcc -c -g -O2 conftest.c >&5
configure:3638: $? = 0
configure:3641: test -s conftest.o
configure:3644: $? = 0
configure:3655: result: yes
configure:3618: checking for string.h
configure:3635: gcc -c -g -O2 conftest.c >&5
configure:3638: $? = 0
configure:3641: test -s conftest.o
configure:3644: $? = 0
configure:3655: result: yes
configure:3618: checking for memory.h
configure:3635: gcc -c -g -O2 conftest.c >&5
configure:3638: $? = 0
configure:3641: test -s conftest.o
configure:3644: $? = 0
configure:3655: result: yes
configure:3618: checking for strings.h
configure:3635: gcc -c -g -O2 conftest.c >&5
configure:3638: $? = 0
configure:3641: test -s conftest.o
configure:3644: $? = 0
configure:3655: result: yes
configure:3618: checking for inttypes.h
configure:3635: gcc -c -g -O2 conftest.c >&5
configure:3638: $? = 0
configure:3641: test -s conftest.o
configure:3644: $? = 0
configure:3655: result: yes
configure:3618: checking for stdint.h
configure:3635: gcc -c -g -O2 conftest.c >&5
configure:3638: $? = 0
configure:3641: test -s conftest.o
configure:3644: $? = 0
configure:3655: result: yes
configure:3618: checking for unistd.h
configure:3635: gcc -c -g -O2 conftest.c >&5
configure:3638: $? = 0
configure:3641: test -s conftest.o
configure:3644: $? = 0
configure:3655: result: yes
configure:3667: checking whether sys/types.h defines makedev
configure:3689: gcc -o conftest -g -O2 conftest.c >&5
configure:3692: $? = 0
configure:3695: test -s conftest
configure:3698: $? = 0
configure:3710: result: yes
configure:3995: checking for ANSI C header files
configure:4142: result: yes
configure:4152: checking for sys/wait.h that is POSIX.1 compatible
configure:4184: gcc -c -g -O2 conftest.c >&5
configure:4187: $? = 0
configure:4190: test -s conftest.o
configure:4193: $? = 0
configure:4204: result: yes
configure:4214: checking whether time.h and sys/time.h may both be included
configure:4240: gcc -c -g -O2 conftest.c >&5
configure:4243: $? = 0
configure:4246: test -s conftest.o
configure:4249: $? = 0
configure:4260: result: yes
configure:4292: checking fcntl.h usability
configure:4305: gcc -c -g -O2 conftest.c >&5
configure:4308: $? = 0
configure:4311: test -s conftest.o
configure:4314: $? = 0
configure:4324: result: yes
configure:4328: checking fcntl.h presence
configure:4339: gcc -E conftest.c
configure:4345: $? = 0
configure:4364: result: yes
configure:4400: checking for fcntl.h
configure:4407: result: yes
configure:4292: checking limits.h usability
configure:4305: gcc -c -g -O2 conftest.c >&5
configure:4308: $? = 0
configure:4311: test -s conftest.o
configure:4314: $? = 0
configure:4324: result: yes
configure:4328: checking limits.h presence
configure:4339: gcc -E conftest.c
configure:4345: $? = 0
configure:4364: result: yes
configure:4400: checking for limits.h
configure:4407: result: yes
configure:4292: checking syslog.h usability
configure:4305: gcc -c -g -O2 conftest.c >&5
configure:4308: $? = 0
configure:4311: test -s conftest.o
configure:4314: $? = 0
configure:4324: result: yes
configure:4328: checking syslog.h presence
configure:4339: gcc -E conftest.c
configure:4345: $? = 0
configure:4364: result: yes
configure:4400: checking for syslog.h
configure:4407: result: yes
configure:4292: checking sys/file.h usability
configure:4305: gcc -c -g -O2 conftest.c >&5
configure:4308: $? = 0
configure:4311: test -s conftest.o
configure:4314: $? = 0
configure:4324: result: yes
configure:4328: checking sys/file.h presence
configure:4339: gcc -E conftest.c
configure:4345: $? = 0
configure:4364: result: yes
configure:4400: checking for sys/file.h
configure:4407: result: yes
configure:4292: checking sys/ioctl.h usability
configure:4305: gcc -c -g -O2 conftest.c >&5
configure:4308: $? = 0
configure:4311: test -s conftest.o
configure:4314: $? = 0
configure:4324: result: yes
configure:4328: checking sys/ioctl.h presence
configure:4339: gcc -E conftest.c
configure:4345: $? = 0
configure:4364: result: yes
configure:4400: checking for sys/ioctl.h
configure:4407: result: yes
configure:4292: checking sys/time.h usability
configure:4305: gcc -c -g -O2 conftest.c >&5
configure:4308: $? = 0
configure:4311: test -s conftest.o
configure:4314: $? = 0
configure:4324: result: yes
configure:4328: checking sys/time.h presence
configure:4339: gcc -E conftest.c
configure:4345: $? = 0
configure:4364: result: yes
configure:4400: checking for sys/time.h
configure:4407: result: yes
configure:4283: checking for unistd.h
configure:4288: result: yes
configure:4292: checking termios.h usability
configure:4305: gcc -c -g -O2 conftest.c >&5
configure:4308: $? = 0
configure:4311: test -s conftest.o
configure:4314: $? = 0
configure:4324: result: yes
configure:4328: checking termios.h presence
configure:4339: gcc -E conftest.c
configure:4345: $? = 0
configure:4364: result: yes
configure:4400: checking for termios.h
configure:4407: result: yes
configure:4421: checking for an ANSI C-conforming const
configure:4489: gcc -c -g -O2 conftest.c >&5
configure:4492: $? = 0
configure:4495: test -s conftest.o
configure:4498: $? = 0
configure:4509: result: yes
configure:4519: checking for inline
configure:4541: gcc -c -g -O2 conftest.c >&5
configure:4544: $? = 0
configure:4547: test -s conftest.o
configure:4550: $? = 0
configure:4562: result: inline
configure:4577: checking for off_t
configure:4602: gcc -c -g -O2 conftest.c >&5
configure:4605: $? = 0
configure:4608: test -s conftest.o
configure:4611: $? = 0
configure:4622: result: yes
configure:4634: checking for pid_t
configure:4659: gcc -c -g -O2 conftest.c >&5
configure:4662: $? = 0
configure:4665: test -s conftest.o
configure:4668: $? = 0
configure:4679: result: yes
configure:4691: checking return type of signal handlers
configure:4723: gcc -c -g -O2 conftest.c >&5
configure:4726: $? = 0
configure:4729: test -s conftest.o
configure:4732: $? = 0
configure:4743: result: void
configure:4751: checking for size_t
configure:4776: gcc -c -g -O2 conftest.c >&5
configure:4779: $? = 0
configure:4782: test -s conftest.o
configure:4785: $? = 0
configure:4796: result: yes
configure:4808: checking for uid_t in sys/types.h
configure:4832: result: yes
configure:4847: checking for struct stat.st_rdev
configure:4871: gcc -c -g -O2 conftest.c >&5
configure:4874: $? = 0
configure:4877: test -s conftest.o
configure:4880: $? = 0
configure:4928: result: yes
configure:4939: checking whether struct tm is in sys/time.h or time.h
configure:4963: gcc -c -g -O2 conftest.c >&5
configure:4966: $? = 0
configure:4969: test -s conftest.o
configure:4972: $? = 0
configure:4983: result: time.h
configure:4994: checking if C compiler has "__FILE__" macro
configure:5016: gcc -c -g -O2 conftest.c >&5
configure:5019: $? = 0
configure:5022: test -s conftest.o
configure:5025: $? = 0
configure:5036: result: yes
configure:5045: checking if C compiler has "__LINE__" macro
configure:5067: gcc -c -g -O2 conftest.c >&5
configure:5070: $? = 0
configure:5073: test -s conftest.o
configure:5076: $? = 0
configure:5087: result: yes
configure:5096: checking if C compiler has "__FUNCTION__" macro
configure:5118: gcc -c -g -O2 conftest.c >&5
configure:5121: $? = 0
configure:5124: test -s conftest.o
configure:5127: $? = 0
configure:5138: result: yes
configure:5150: checking for working alloca.h
configure:5172: gcc -o conftest -g -O2 conftest.c >&5
configure:5175: $? = 0
configure:5178: test -s conftest
configure:5181: $? = 0
configure:5192: result: yes
configure:5202: checking for alloca
configure:5244: gcc -o conftest -g -O2 conftest.c >&5
configure:5247: $? = 0
configure:5250: test -s conftest
configure:5253: $? = 0
configure:5264: result: yes
configure:5471: checking for working memcmp
configure:5520: gcc -o conftest -g -O2 conftest.c >&5
configure:5523: $? = 0
configure:5525: ./conftest
configure:5528: $? = 0
configure:5542: result: yes
configure:5552: checking for stdlib.h
configure:5557: result: yes
configure:5552: checking for unistd.h
configure:5557: result: yes
configure:5693: checking for getpagesize
configure:5743: gcc -o conftest -g -O2 conftest.c >&5
configure:5746: $? = 0
configure:5749: test -s conftest
configure:5752: $? = 0
configure:5763: result: yes
configure:5773: checking for working mmap
configure:5916: gcc -o conftest -g -O2 conftest.c >&5
configure:5919: $? = 0
configure:5921: ./conftest
configure:5924: $? = 0
configure:5938: result: yes
configure:5949: checking whether utime accepts a null argument
configure:5981: gcc -o conftest -g -O2 conftest.c >&5
configure:5984: $? = 0
configure:5986: ./conftest
configure:5989: $? = 0
configure:6004: result: yes
configure:6019: checking for vprintf
configure:6069: gcc -o conftest -g -O2 conftest.c >&5
configure:6072: $? = 0
configure:6075: test -s conftest
configure:6078: $? = 0
configure:6089: result: yes
configure:6096: checking for _doprnt
configure:6146: gcc -o conftest -g -O2 conftest.c >&5
/tmp/cceYGYbB.o(.text+0xf): In function `main':
/home/gv/programmes/dosemu-1.2.2/configure:6174: undefined reference to `_doprnt'
/tmp/cceYGYbB.o(.data+0x0):/home/gv/programmes/dosemu-1.2.2/configure:6173: undefined reference to `_doprnt'
collect2: ld returned 1 exit status
configure:6149: $? = 1
configure: failed program was:
| #line 6101 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define YYTEXT_POINTER 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIOS_H 1
| #define RETSIGTYPE void
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_UTIME_NULL 1
| #define HAVE_VPRINTF 1
| /* end confdefs.h. */
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char _doprnt (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char _doprnt ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub__doprnt) || defined (__stub____doprnt)
| choke me
| #else
| char (*f) () = _doprnt;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != _doprnt;
| ;
| return 0;
| }
configure:6166: result: no
configure:6184: checking for gettimeofday
configure:6234: gcc -o conftest -g -O2 conftest.c >&5
configure:6237: $? = 0
configure:6240: test -s conftest
configure:6243: $? = 0
configure:6254: result: yes
configure:6268: checking for sigaltstack
configure:6318: gcc -o conftest -g -O2 conftest.c >&5
configure:6321: $? = 0
configure:6324: test -s conftest
configure:6327: $? = 0
configure:6338: result: yes
configure:6422: Linking statically...
configure:6439: checking for vga_simple_init in -lvga
configure:6470: gcc -o conftest -g -O2 -Wl,-warn-common -static conftest.c -lvga >&5
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../libvga.a(mouse.o)(.text+0xb77): In function `ms_init':
: undefined reference to `pow'
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../libvga.a(i740.o)(.text+0x975): In function `I740CalcVCLK':
: undefined reference to `log'
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../libvga.a(i740.o)(.text+0x987): In function `I740CalcVCLK':
: undefined reference to `log'
collect2: ld returned 1 exit status
configure:6473: $? = 1
configure: failed program was:
| #line 6446 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define YYTEXT_POINTER 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIOS_H 1
| #define RETSIGTYPE void
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_UTIME_NULL 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_SIGALTSTACK 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char vga_simple_init ();
| int
| main ()
| {
| vga_simple_init ();
| ;
| return 0;
| }
configure:6491: result: no
configure:6515: Compiling without svgalib support...
configure:6528: checking for Gpm_Open in -lgpm
configure:6559: gcc -o conftest -g -O2 -Wl,-warn-common -static conftest.c -lgpm >&5
configure:6562: $? = 0
configure:6565: test -s conftest
configure:6568: $? = 0
configure:6580: result: yes
configure:6595: Compiling with GPM support...
configure:6702: checking for S-Lang
configure:6736: result: -I/usr/include/slang
configure:6738: checking for SLsmg_write_nwchars in -lslang
configure:6769: gcc -o conftest -g -O2 -Wl,-warn-common -static conftest.c -lslang -lm -ldl -lgpm >&5
/tmp/ccSyxsX6.o(.text+0xa): In function `main':
/home/gv/programmes/dosemu-1.2.2/configure:6801: undefined reference to `SLsmg_write_nwchars'
collect2: ld returned 1 exit status
configure:6772: $? = 1
configure: failed program was:
| #line 6745 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define YYTEXT_POINTER 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIOS_H 1
| #define RETSIGTYPE void
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_UTIME_NULL 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_LIBGPM 1
| #define USE_GPM 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char SLsmg_write_nwchars ();
| int
| main ()
| {
| SLsmg_write_nwchars ();
| ;
| return 0;
| }
configure:6790: result: no
configure:6798: checking for SLtt_get_terminfo in -lslang
configure:6829: gcc -o conftest -g -O2 -Wl,-warn-common -static conftest.c -lslang -lm -ldl -lgpm >&5
configure:6832: $? = 0
configure:6835: test -s conftest
configure:6838: $? = 0
configure:6850: result: yes
configure:6866: checking for X
configure:7086: result: libraries /usr/X11R6/lib, headers /usr/X11R6/include
configure:7239: gcc -o conftest -g -O2 -Wl,-warn-common -static conftest.c -lgpm -lslang -lm -ldl -L/usr/X11R6/lib -lX11 >&5
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0x85a): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc11): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc2a): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc46): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc63): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xcf6): more undefined references to `pthread_equal' follow
collect2: ld returned 1 exit status
configure:7242: $? = 1
configure: failed program was:
| #line 7215 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define YYTEXT_POINTER 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIOS_H 1
| #define RETSIGTYPE void
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_UTIME_NULL 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_LIBGPM 1
| #define USE_GPM 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char XOpenDisplay ();
| int
| main ()
| {
| XOpenDisplay ();
| ;
| return 0;
| }
configure:7255: checking for dnet_ntoa in -ldnet
configure:7286: gcc -o conftest -g -O2 -Wl,-warn-common -static conftest.c -ldnet -lgpm -lslang -lm -ldl -L/usr/X11R6/lib -lX11 >&5
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure:7289: $? = 1
configure: failed program was:
| #line 7262 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define YYTEXT_POINTER 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIOS_H 1
| #define RETSIGTYPE void
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_UTIME_NULL 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_LIBGPM 1
| #define USE_GPM 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char dnet_ntoa ();
| int
| main ()
| {
| dnet_ntoa ();
| ;
| return 0;
| }
configure:7307: result: no
configure:7314: checking for dnet_ntoa in -ldnet_stub
configure:7345: gcc -o conftest -g -O2 -Wl,-warn-common -static conftest.c -ldnet_stub -lgpm -lslang -lm -ldl -L/usr/X11R6/lib -lX11 >&5
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure:7348: $? = 1
configure: failed program was:
| #line 7321 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define YYTEXT_POINTER 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIOS_H 1
| #define RETSIGTYPE void
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_UTIME_NULL 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_LIBGPM 1
| #define USE_GPM 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char dnet_ntoa ();
| int
| main ()
| {
| dnet_ntoa ();
| ;
| return 0;
| }
configure:7366: result: no
configure:7385: checking for gethostbyname
configure:7435: gcc -o conftest -g -O2 -Wl,-warn-common -static conftest.c -lgpm -lslang -lm -ldl >&5
configure:7438: $? = 0
configure:7441: test -s conftest
configure:7444: $? = 0
configure:7455: result: yes
configure:7586: checking for connect
configure:7636: gcc -o conftest -g -O2 -Wl,-warn-common -static conftest.c -lgpm -lslang -lm -ldl >&5
configure:7639: $? = 0
configure:7642: test -s conftest
configure:7645: $? = 0
configure:7656: result: yes
configure:7721: checking for remove
configure:7771: gcc -o conftest -g -O2 -Wl,-warn-common -static conftest.c -lgpm -lslang -lm -ldl >&5
configure:7774: $? = 0
configure:7777: test -s conftest
configure:7780: $? = 0
configure:7791: result: yes
configure:7856: checking for shmat
configure:7906: gcc -o conftest -g -O2 -Wl,-warn-common -static conftest.c -lgpm -lslang -lm -ldl >&5
configure:7909: $? = 0
configure:7912: test -s conftest
configure:7915: $? = 0
configure:7926: result: yes
configure:8000: checking for IceConnectionNumber in -lICE
configure:8031: gcc -o conftest -g -O2 -Wl,-warn-common -static -L/usr/X11R6/lib conftest.c -lICE -lgpm -lslang -lm -ldl >&5
configure:8034: $? = 0
configure:8037: test -s conftest
configure:8040: $? = 0
configure:8052: result: yes
configure:8067: checking for XOpenDisplay in -lX11
configure:8098: gcc -o conftest -g -O2 -I/usr/X11R6/include -Wl,-warn-common -static -L/usr/X11R6/lib conftest.c -lX11 -lgpm -lslang -lm -ldl >&5
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0x85a): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc11): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc2a): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc46): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc63): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xcf6): more undefined references to `pthread_equal' follow
collect2: ld returned 1 exit status
configure:8101: $? = 1
configure: failed program was:
| #line 8074 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define YYTEXT_POINTER 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIOS_H 1
| #define RETSIGTYPE void
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_UTIME_NULL 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_LIBGPM 1
| #define USE_GPM 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char XOpenDisplay ();
| int
| main ()
| {
| XOpenDisplay ();
| ;
| return 0;
| }
configure:8119: result: no
configure:8130: checking for XCloseDisplay in -lX11
configure:8161: gcc -o conftest -g -O2 -I/usr/X11R6/include -Wl,-warn-common -static -L/usr/X11R6/lib conftest.c -lX11 -ldl -lgpm -lslang -lm -ldl >&5
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0x85a): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc11): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc2a): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc46): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc63): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xcf6): more undefined references to `pthread_equal' follow
collect2: ld returned 1 exit status
configure:8164: $? = 1
configure: failed program was:
| #line 8137 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define YYTEXT_POINTER 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIOS_H 1
| #define RETSIGTYPE void
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_UTIME_NULL 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_LIBGPM 1
| #define USE_GPM 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char XCloseDisplay ();
| int
| main ()
| {
| XCloseDisplay ();
| ;
| return 0;
| }
configure:8182: result: no
configure:8188: checking for main in -lXwindow
configure:8213: gcc -o conftest -g -O2 -I/usr/X11R6/include -Wl,-warn-common -static -L/usr/X11R6/lib conftest.c -lXwindow -lgpm -lslang -lm -ldl >&5
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: cannot find -lXwindow
collect2: ld returned 1 exit status
configure:8216: $? = 1
configure: failed program was:
| #line 8195 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define YYTEXT_POINTER 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIOS_H 1
| #define RETSIGTYPE void
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_UTIME_NULL 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_LIBGPM 1
| #define USE_GPM 1
| /* end confdefs.h. */
|
|
| int
| main ()
| {
| main ();
| ;
| return 0;
| }
configure:8234: result: no
configure:8391: Compiling without X support...
configure:8469: EXPERIMENTAL stuff disabled...
configure:8490: Including plugins: plugin/commands plugin/coopthreads plugin/extra_charsets plugin/kbd_unicode plugin/term plugin/translate plugin/translate/charsets...
configure:8530: Compiling without debug info...
configure:8540: Compiling with ASPI support...
configure:8562: Compiling with SB Emulation...
configure:8569: checking for gus_close in -lgus
configure:8600: gcc -o conftest -g -O2 -I/usr/X11R6/include -Wl,-warn-common -static -L/usr/X11R6/lib conftest.c -lgus -lgpm -lslang -lm -ldl >&5
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: cannot find -lgus
collect2: ld returned 1 exit status
configure:8603: $? = 1
configure: failed program was:
| #line 8576 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define YYTEXT_POINTER 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_TERMIOS_H 1
| #define RETSIGTYPE void
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_UTIME_NULL 1
| #define HAVE_VPRINTF 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_SIGALTSTACK 1
| #define HAVE_LIBGPM 1
| #define USE_GPM 1
| #define EMUVER "1.2"
| #define CONFIG_HOST "linux"
| #define CONFIG_TIME "Wed Aug 11 01:21:49 CEST 2004"
| #define VERSION 1
| #define DOSEMU_VERSION_CODE 16908800
| #define SUBLEVEL 2
| #define PATCHLEVEL 2.0
| #define VERSTR "1.2.2.0"
| #define VERDATE "2004/07/11"
| #define USE_MHPDBG 1
| #define ASPI_SUPPORT 1
| #define USE_SBEMU 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char gus_close ();
| int
| main ()
| {
| gus_close ();
| ;
| return 0;
| }
configure:8621: result: no
configure:8690: Compiling for native x86...
configure:8719: Linux Specific build options...
configure:8730: Compiling with network support...
configure:8742: checking for the version of gcc...
configure:8747: result: 3002
configure:8749: checking need for pedantic asm constraints...
configure:8752: result: yes
configure:8758: checking for egcs...
configure:8765: result: no
configure:8768: checking for gcc-2.95 or newer ...
configure:8771: result: yes, using -fno-strict-aliasing to work around bugs
configure:8817: checking for glibc...
configure:8830: result: yes, version code 2003
configure:9054: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.57. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status

on fantasio

config.status:675: creating Makefile.conf
config.status:675: creating dosemu.spec
config.status:772: creating src/include/config.h
config.status:1081: executing Makefile commands
configure:10212: configuring in src/plugin/kbd_unicode
configure:10296: running /bin/sh '/home/gv/programmes/dosemu-1.2.2/src/plugin/kbd_unicode/configure' --prefix=/usr '--enable-linkstatic' '--with-svgalib' '--with-slangdir=default' '--prefix=/usr' '--bindir=${prefix}/bin' '--sysconfdir=/etc/dosemu' '--datadir=${prefix}/share' '--mandir=${prefix}/man' '--with-docdir=${prefix}/doc/dosemu-1.2.2' '--with-syshdimagedir=/var/lib/dosemu' '--with-x11fontdir=${datadir}/dosemu/Xfonts' '--with-fdtarball=dosemu-freedos-bin.tgz' '--with-x' --cache-file=/dev/null --srcdir=/home/gv/programmes/dosemu-1.2.2/src/plugin/kbd_unicode
configure:10340: WARNING:
configure:10342: WARNING: Compiling without X support.
configure:10344: WARNING: Install the X development libraries if you want support for X.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_has_file_macro=yes
ac_cv_c_has_function_macro=yes
ac_cv_c_has_line_macro=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func__doprnt=no
ac_cv_func_alloca_works=yes
ac_cv_func_connect=yes
ac_cv_func_gethostbyname=yes
ac_cv_func_getpagesize=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_memcmp_working=yes
ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_remove=yes
ac_cv_func_shmat=yes
ac_cv_func_sigaltstack=yes
ac_cv_func_utime_null=yes
ac_cv_func_vprintf=yes
ac_cv_have_x='have_x=yes ac_x_includes=/usr/X11R6/include ac_x_libraries=/usr/X11R6/lib'
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_file_h=yes
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_types_h_makedev=yes
ac_cv_header_sys_wait_h=yes
ac_cv_header_syslog_h=yes
ac_cv_header_termios_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_lib_ICE_IceConnectionNumber=yes
ac_cv_lib_X11_XCloseDisplay=no
ac_cv_lib_X11_XOpenDisplay=no
ac_cv_lib_Xwindow_main=no
ac_cv_lib_dnet_dnet_ntoa=no
ac_cv_lib_dnet_stub_dnet_ntoa=no
ac_cv_lib_fl_yywrap=yes
ac_cv_lib_gpm_Gpm_Open=yes
ac_cv_lib_gus_gus_close=no
ac_cv_lib_slang_SLsmg_write_nwchars=no
ac_cv_lib_slang_SLtt_get_terminfo=yes
ac_cv_lib_vga_vga_simple_init=no
ac_cv_member_struct_stat_st_rdev=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_LEX=flex
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_prog_gcc_traditional=no
ac_cv_prog_lex_root=lex.yy
ac_cv_prog_lex_yytext_pointer=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_opendir='none required'
ac_cv_struct_tm=time.h
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu
ac_cv_type_off_t=yes
ac_cv_type_pid_t=yes
ac_cv_type_signal=void
ac_cv_type_size_t=yes
ac_cv_type_uid_t=yes
ac_cv_working_alloca_h=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ALLOCA=''
ASM_PEDANTIC=''
ASPI_SUPPORT='ASPI_SUPPORT=1'
AWK='gawk'
CC='gcc'
CFLAGS='-Wall -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -O2 -fomit-frame-pointer -fno-strict-aliasing -mcpu=i686 -pipe'
CONFIG_HOST='linux'
CPP='gcc -E'
CPPFLAGS=' -I/usr/X11R6/include -MP -MMD ${INCDIR}'
DEBUGGER='arch/linux/debugger'
DEFS='-DHAVE_CONFIG_H'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
INCDIR='-I${top_builddir}/src/include -I${top_builddir}/src/plugin/include -I/usr/include/slang'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS='-Wl,-warn-common -static -L/usr/X11R6/lib'
LEX='flex'
LEXLIB='-lfl'
LEX_OUTPUT_ROOT='lex.yy'
LIBOBJS=''
LIBS='-lgpm -lslang -lm -ldl'
LN_S='ln -s'
LTLIBOBJS=''
OBJEXT='o'
OPTIONALSUBDIRS='dosext/net/v-net'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION='1.2.2'
PATCHLEVEL1='2'
PATCHLEVEL2='0'
PATH_SEPARATOR=':'
PLUGINSUBDIRS=' plugin/commands plugin/coopthreads plugin/extra_charsets plugin/kbd_unicode plugin/term plugin/translate plugin/translate/charsets'
RANLIB='ranlib'
REQUIRED='tools commands tools/periph'
SET_MAKE=''
SHELL='/bin/sh'
SUBLEVEL='2'
USE_GPM='USE_GPM=1'
USE_MHPDBG='USE_MHPDBG=1'
USE_PTHREADS=''
USE_SBEMU='USE_SBEMU=1'
USE_SVGALIB=''
USE_ULTRA=''
VERSION='1'
X86_EMULATOR=''
X_CFLAGS=' -I/usr/X11R6/include'
X_EXTRA_LIBS=''
X_GRAPHICS=''
X_LIBS=' -L/usr/X11R6/lib'
X_PRE_LIBS=' -lSM -lICE'
X_SUPPORT=''
YACC='bison -y'
ac_ct_CC='gcc'
ac_ct_RANLIB='ranlib'
bindir='${prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
docdir='${prefix}/doc/dosemu-1.2.2'
exec_prefix='${prefix}'
fdtarball='dosemu-freedos-bin.tgz'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
lex_ok=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' src/plugin/kbd_unicode'
sysconfdir='/etc/dosemu'
syshdimagedir='/var/lib/dosemu'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'
x11fontdir='${datadir}/dosemu/Xfonts'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define ASM_PEDANTIC 1
#define ASPI_SUPPORT 1
#define CONFIG_HOST "linux"
#define CONFIG_TIME "Wed Aug 11 01:21:49 CEST 2004"
#define DOSEMU_VERSION_CODE 16908800
#define EMUVER "1.2"
#define GASCODE16 1
#define GCC_VERSION_CODE 3002
#define HAVE_ALLOCA 1
#define HAVE_ALLOCA_H 1
#define HAVE_DIRENT_H 1
#define HAVE_FCNTL_H 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIBGPM 1
#define HAVE_LIMITS_H 1
#define HAVE_MEMORY_H 1
#define HAVE_MMAP 1
#define HAVE_SIGALTSTACK 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UTIME_NULL 1
#define HAVE_VPRINTF 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PATCHLEVEL 2.0
#define RETSIGTYPE void
#define STDC_HEADERS 1
#define STDC_HEADERS 1
#define SUBLEVEL 2
#define TIME_WITH_SYS_TIME 1
#define USE_GPM 1
#define USE_MHPDBG 1
#define USE_SBEMU 1
#define USING_NET 1
#define VERDATE "2004/07/11"
#define VERSION 1
#define VERSTR "1.2.2.0"
#define WANT_WINDOWS 1
#define YYTEXT_POINTER 1
#define _GNU_SOURCE 1

configure: exit 0

Thanks in advance,
--
^^ Gauthier
(_____/°°-ç
| \_`-"
)/@mmm||
\nn \nn FOE-Belgium : http://www.amisdelaterre.be
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 01:41 PM
Bart Oldeman
 
Posts: n/a
Default Re: cannot find XOpenDisplay

Gauthier wrote:
> Hello to all,
>
> I try to install dosemu ; I can't compile it with support for x, I get
> thes messages when configuring :
>
> checking for XOpenDisplay in -lX11... no
> checking for XCloseDisplay in -lX11... no
> checking for main in -lXwindow... no
> configure: Compiling without X support...
> $ /home/gv/programmes/dosemu-1.2.2/configure --enable-linkstatic --with-svgalib --with-slangdir=default --prefix=/usr --bindir=${prefix}/bin --sysconfdir=/etc/dosemu --datadir=${prefix}/share --mandir=${prefix}/man --with-docdir=${prefix}/doc/dosemu-1.2.2 --with-syshdimagedir=/var/lib/dosemu --with-x11fontdir=${datadir}/dosemu/Xfonts --with-fdtarball=dosemu-freedos-bin.tgz --with-x


--enable-linkstatic is the problem here. You'd need to turn it off (in
compiletime_settings) or workaround by manually adding -lphtread in
Makefile.conf

> configure:6866: checking for X
> configure:7086: result: libraries /usr/X11R6/lib, headers /usr/X11R6/include
> configure:7239: gcc -o conftest -g -O2 -Wl,-warn-common -static conftest.c -lgpm -lslang -lm -ldl -L/usr/X11R6/lib -lX11 >&5
> /usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0x85a): In function `_XEventsQueued':
> : undefined reference to `pthread_equal'
> /usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc11): In function `_XEventsQueued':
> : undefined reference to `pthread_equal'
> /usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc2a): In function `_XEventsQueued':
> : undefined reference to `pthread_equal'
> /usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc46): In function `_XEventsQueued':
> : undefined reference to `pthread_equal'
> /usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc63): In function `_XEventsQueued':
> : undefined reference to `pthread_equal'
> /usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xcf6): more undefined references to `pthread_equal' follow


This means that for some reason libX11 suddenly requires pthreads. It
never did so before (must be something new in Slackware or X?), and the
requirement only shows up if you try to link statically.

Bart

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:31 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com