Hi all, I have been trying to build wine from source on my imac, but I encountered errors that I have no idea how to fix [Crying or Very sad] I configured with: Code: ./configure CPPFLAGS='-I/usr/X11/include -I/opt/local/include' LIBS='-lGL -lGLU' LDFLAGS='-L/usr/X11/lib -L/opt/local/lib' I installed the dependencies for wine with MacPorts (hence the /opt/local). This was the configure output. Code: checking build system type... x86_64-apple-darwin10.7.0 checking host system type... x86_64-apple-darwin10.7.0 checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for cpp... cpp checking for the directory containing the Wine tools... $(top_builddir) checking for flex... flex checking whether flex is recent enough... yes checking for bison... bison checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking whether ln -s works... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ldconfig... true checking for a BSD-compatible install... /usr/bin/install -c checking for lclint... no checking for lint... no checking for fontforge... no checking for pkg-config... pkg-config checking for rsvg... no checking for convert... convert checking for icotool... no checking for i386_set_ldt in -li386... no checking for _oss_ioctl in -lossaudio... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking how to run the C preprocessor... gcc -m32 -E 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 AL/al.h usability... no checking AL/al.h presence... no checking for AL/al.h... no checking ApplicationServices/ApplicationServices.h usability... yes checking ApplicationServices/ApplicationServices.h presence... yes checking for ApplicationServices/ApplicationServices.h... yes checking AudioToolbox/AudioConverter.h usability... yes checking AudioToolbox/AudioConverter.h presence... yes checking for AudioToolbox/AudioConverter.h... yes checking AudioUnit/AudioUnit.h usability... yes checking AudioUnit/AudioUnit.h presence... yes checking for AudioUnit/AudioUnit.h... yes checking AudioUnit/AudioComponent.h usability... yes checking AudioUnit/AudioComponent.h presence... yes checking for AudioUnit/AudioComponent.h... yes checking CL/cl.h usability... no checking CL/cl.h presence... no checking for CL/cl.h... no checking Carbon/Carbon.h usability... yes checking Carbon/Carbon.h presence... yes checking for Carbon/Carbon.h... yes checking CoreAudio/CoreAudio.h usability... yes checking CoreAudio/CoreAudio.h presence... yes checking for CoreAudio/CoreAudio.h... yes checking DiskArbitration/DiskArbitration.h usability... yes checking DiskArbitration/DiskArbitration.h presence... yes checking for DiskArbitration/DiskArbitration.h... yes checking IOKit/IOKitLib.h usability... yes checking IOKit/IOKitLib.h presence... yes checking for IOKit/IOKitLib.h... yes checking IOKit/hid/IOHIDLib.h usability... yes checking IOKit/hid/IOHIDLib.h presence... yes checking for IOKit/hid/IOHIDLib.h... yes checking OpenAL/al.h usability... yes checking OpenAL/al.h presence... yes checking for OpenAL/al.h... yes checking OpenCL/opencl.h usability... yes checking OpenCL/opencl.h presence... yes checking for OpenCL/opencl.h... yes checking QuickTime/ImageCompression.h usability... yes checking QuickTime/ImageCompression.h presence... yes checking for QuickTime/ImageCompression.h... yes checking Security/Security.h usability... yes checking Security/Security.h presence... yes checking for Security/Security.h... yes checking alias.h usability... no checking alias.h presence... no checking for alias.h... no checking alsa/asoundlib.h usability... no checking alsa/asoundlib.h presence... no checking for alsa/asoundlib.h... no checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking asm/types.h usability... no checking asm/types.h presence... no checking for asm/types.h... no checking capi20.h usability... no checking capi20.h presence... no checking for capi20.h... no checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking elf.h usability... no checking elf.h presence... no checking for elf.h... no checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking fontconfig/fontconfig.h usability... yes checking fontconfig/fontconfig.h presence... yes checking for fontconfig/fontconfig.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking gettext-po.h usability... yes checking gettext-po.h presence... yes checking for gettext-po.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking gsm.h usability... no checking gsm.h presence... no checking for gsm.h... no checking gsm/gsm.h usability... no checking gsm/gsm.h presence... no checking for gsm/gsm.h... no checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking inet/mib2.h usability... no checking inet/mib2.h presence... no checking for inet/mib2.h... no checking io.h usability... no checking io.h presence... no checking for io.h... no checking jack/jack.h usability... no checking jack/jack.h presence... no checking for jack/jack.h... no checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking kstat.h usability... no checking kstat.h presence... no checking for kstat.h... no checking lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking lcms.h usability... yes checking lcms.h presence... yes checking for lcms.h... yes checking lcms/lcms.h usability... no checking lcms/lcms.h presence... no checking for lcms/lcms.h... no checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking link.h usability... no checking link.h presence... no checking for link.h... no checking linux/cdrom.h usability... no checking linux/cdrom.h presence... no checking for linux/cdrom.h... no checking linux/compiler.h usability... no checking linux/compiler.h presence... no checking for linux/compiler.h... no checking linux/hdreg.h usability... no checking linux/hdreg.h presence... no checking for linux/hdreg.h... no checking linux/input.h usability... no checking linux/input.h presence... no checking for linux/input.h... no checking linux/ioctl.h usability... no checking linux/ioctl.h presence... no checking for linux/ioctl.h... no checking linux/joystick.h usability... no checking linux/joystick.h presence... no checking for linux/joystick.h... no checking linux/major.h usability... no checking linux/major.h presence... no checking for linux/major.h... no checking linux/param.h usability... no checking linux/param.h presence... no checking for linux/param.h... no checking linux/serial.h usability... no checking linux/serial.h presence... no checking for linux/serial.h... no checking linux/types.h usability... no checking linux/types.h presence... no checking for linux/types.h... no checking linux/ucdrom.h usability... no checking linux/ucdrom.h presence... no checking for linux/ucdrom.h... no checking mach-o/nlist.h usability... yes checking mach-o/nlist.h presence... yes checking for mach-o/nlist.h... yes checking mach-o/loader.h usability... yes checking mach-o/loader.h presence... yes checking for mach-o/loader.h... yes checking mach/mach.h usability... yes checking mach/mach.h presence... yes checking for mach/mach.h... yes checking mach/machine.h usability... yes checking mach/machine.h presence... yes checking for mach/machine.h... yes checking machine/cpu.h usability... no checking machine/cpu.h presence... no checking for machine/cpu.h... no checking machine/limits.h usability... yes checking machine/limits.h presence... yes checking for machine/limits.h... yes checking machine/sysarch.h usability... no checking machine/sysarch.h presence... no checking for machine/sysarch.h... no checking mntent.h usability... no checking mntent.h presence... no checking for mntent.h... no checking mpg123.h usability... no checking mpg123.h presence... no checking for mpg123.h... no checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking netinet/tcp_fsm.h usability... yes checking netinet/tcp_fsm.h presence... yes checking for netinet/tcp_fsm.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking port.h usability... no checking port.h presence... no checking for port.h... no checking process.h usability... no checking process.h presence... no checking for process.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking scsi/scsi.h usability... no checking scsi/scsi.h presence... no checking for scsi/scsi.h... no checking scsi/scsi_ioctl.h usability... no checking scsi/scsi_ioctl.h presence... no checking for scsi/scsi_ioctl.h... no checking scsi/sg.h usability... no checking scsi/sg.h presence... no checking for scsi/sg.h... no checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking sys/asoundlib.h usability... no checking sys/asoundlib.h presence... no checking for sys/asoundlib.h... no checking sys/attr.h usability... yes checking sys/attr.h presence... yes checking for sys/attr.h... yes checking sys/cdio.h usability... no checking sys/cdio.h presence... no checking for sys/cdio.h... no checking sys/elf32.h usability... no checking sys/elf32.h presence... no checking for sys/elf32.h... no checking sys/epoll.h usability... no checking sys/epoll.h presence... no checking for sys/epoll.h... no checking sys/errno.h usability... yes checking sys/errno.h presence... yes checking for sys/errno.h... yes checking sys/event.h usability... yes checking sys/event.h presence... yes checking for sys/event.h... yes checking sys/exec_elf.h usability... no checking sys/exec_elf.h presence... no checking for sys/exec_elf.h... no checking sys/filio.h usability... yes checking sys/filio.h presence... yes checking for sys/filio.h... yes checking sys/inotify.h usability... no checking sys/inotify.h presence... no checking for sys/inotify.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/limits.h usability... no checking sys/limits.h presence... no checking for sys/limits.h... no checking sys/link.h usability... no checking sys/link.h presence... no checking for sys/link.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/modem.h usability... no checking sys/modem.h presence... no checking for sys/modem.h... no checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking sys/mtio.h usability... no checking sys/mtio.h presence... no checking for sys/mtio.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/prctl.h usability... no checking sys/prctl.h presence... no checking for sys/prctl.h... no checking sys/protosw.h usability... yes checking sys/protosw.h presence... yes checking for sys/protosw.h... yes checking sys/ptrace.h usability... yes checking sys/ptrace.h presence... yes checking for sys/ptrace.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/scsiio.h usability... no checking sys/scsiio.h presence... no checking for sys/scsiio.h... no checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/socketvar.h usability... yes checking sys/socketvar.h presence... yes checking for sys/socketvar.h... yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/strtio.h usability... no checking sys/strtio.h presence... no checking for sys/strtio.h... no checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/tihdr.h usability... no checking sys/tihdr.h presence... no checking for sys/tihdr.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeout.h usability... no checking sys/timeout.h presence... no checking for sys/timeout.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/vm86.h usability... no checking sys/vm86.h presence... no checking for sys/vm86.h... no checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking syscall.h usability... no checking syscall.h presence... no checking for syscall.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking tiffio.h usability... yes checking tiffio.h presence... yes checking for tiffio.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking valgrind/valgrind.h usability... no checking valgrind/valgrind.h presence... no checking for valgrind/valgrind.h... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking whether stat file-mode macros are broken... no checking for sys/mount.h... yes checking for sys/statfs.h... no checking for sys/sysctl.h... yes checking for sys/user.h... yes checking for sys/vfs.h... no checking for netinet/ip.h... yes checking for net/if.h... yes checking for net/if_arp.h... yes checking for net/if_dl.h... yes checking for net/if_types.h... yes checking for net/route.h... yes checking for netinet/if_ether.h... yes checking for netinet/if_inarp.h... no checking for netinet/in_pcb.h... yes checking for netinet/ip_icmp.h... yes checking for netinet/ip_var.h... yes checking for netinet/udp.h... yes checking for netipx/ipx.h... no checking for netinet/tcp_timer.h... yes checking for netinet/udp_var.h... yes checking for netinet/icmp_var.h... yes checking for netinet/tcp_var.h... yes checking for linux/ipx.h... no checking for linux/irda.h... no checking for mach-o/dyld_images.h... yes checking for resolv.h... yes checking for ifaddrs.h... yes checking for ucontext.h... no checking for sys/thr.h... no checking for pthread_np.h... no checking for linux/videodev.h... no checking for linux/capi.h... no checking for ldd... true checking for AUGraphAddNode... yes checking for IOHIDManagerCreate... yes checking whether 16-bit code can be built correctly... yes checking for i686-w64-mingw32-gcc... no checking for i586-w64-mingw32-gcc... no checking for i486-w64-mingw32-gcc... no checking for i386-w64-mingw32-gcc... no checking for i686-pc-mingw32-gcc... no checking for i586-pc-mingw32-gcc... no checking for i486-pc-mingw32-gcc... no checking for i386-pc-mingw32-gcc... no checking for i686-mingw32msvc-gcc... no checking for i586-mingw32msvc-gcc... no checking for i486-mingw32msvc-gcc... no checking for i386-mingw32msvc-gcc... no checking for i686-mingw32-gcc... no checking for i586-mingw32-gcc... no checking for i486-mingw32-gcc... no checking for i386-mingw32-gcc... no checking for pthread_create in -lpthread... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for -lX11... libX11.6.dylib checking for -lXext... libXext.6.dylib checking for X11/Xlib.h... yes checking for X11/XKBlib.h... yes checking for X11/Xutil.h... yes checking for X11/Xcursor/Xcursor.h... yes checking for X11/extensions/shape.h... yes checking for X11/extensions/XInput.h... yes checking for X11/extensions/XInput2.h... yes checking for X11/extensions/XShm.h... yes checking for X11/extensions/Xcomposite.h... yes checking for X11/extensions/Xinerama.h... yes checking for X11/extensions/Xrandr.h... yes checking for X11/extensions/Xrender.h... yes checking for X11/extensions/xf86vmode.h... yes checking for X11/extensions/xf86vmproto.h... yes checking for XkbQueryExtension in -lX11... yes checking for -lXcursor... libXcursor.1.dylib checking for -lXi... libXi.6.dylib checking for XShmQueryExtension in -lXext... yes checking for XShapeQueryExtension in -lXext... yes checking for -lXxf86vm... libXxf86vm.1.dylib checking for -lXrender... libXrender.1.dylib checking for XRenderSetPictureTransform in -lXrender... yes checking for -lXrandr... libXrandr.2.dylib checking for -lXinerama... libXinerama.1.dylib checking for -lXcomposite... libXcomposite.1.dylib checking for XICCallback.callback... yes checking for XEvent.xcookie... no checking for GL/gl.h... yes checking for GL/glx.h... yes checking for GL/glu.h... yes checking for up-to-date OpenGL version... yes checking for -lGL... libGL.1.dylib checking for -lGLU... libGLU.1.dylib checking audio/audiolib.h usability... no checking audio/audiolib.h presence... no checking for audio/audiolib.h... no checking libxml/parser.h usability... yes checking libxml/parser.h presence... yes checking for libxml/parser.h... yes checking libxml/xmlsave.h usability... yes checking libxml/xmlsave.h presence... yes checking for libxml/xmlsave.h... yes checking libxml/SAX2.h usability... yes checking libxml/SAX2.h presence... yes checking for libxml/SAX2.h... yes checking for xmlParseMemory in -lxml2... yes checking for xmlReadMemory in -lxml2... yes checking for xmlNewDocPI in -lxml2... yes checking for xmlSchemaSetParserStructuredErrors in -lxml2... yes checking for xmlSchemaSetValidStructuredErrors in -lxml2... yes checking for xmlFirstElementChild in -lxml2... yes checking for xmlDocProperties... yes checking for libxslt/pattern.h... yes checking for libxslt/transform.h... yes checking for -lxslt... libxslt.1.dylib checking dbus/dbus.h usability... no checking dbus/dbus.h presence... no checking for dbus/dbus.h... no checking hal/libhal.h usability... no checking hal/libhal.h presence... no checking for hal/libhal.h... no checking for -lncurses... libncurses.5.dylib checking for mousemask... yes checking for sane-config... no checking sane/sane.h usability... no checking sane/sane.h presence... no checking for sane/sane.h... no checking for -lv4l1... not found checking for gphoto2-config... no checking for gphoto2-port-config... no checking gphoto2-camera.h usability... no checking gphoto2-camera.h presence... no checking for gphoto2-camera.h... no checking for cmsOpenProfileFromFile in -llcms... yes checking for freetype-config... freetype-config checking for -lfreetype... libfreetype.6.dylib checking for ft2build.h... yes checking for freetype/freetype.h... yes checking for freetype/ftglyph.h... yes checking for freetype/fttypes.h... yes checking for freetype/tttables.h... yes checking for freetype/ftsnames.h... yes checking for freetype/ttnameid.h... yes checking for freetype/ftoutln.h... yes checking for freetype/ftwinfnt.h... yes checking for freetype/ftmodapi.h... yes checking for freetype/ftlcdfil.h... yes checking for freetype/internal/sfnt.h... no checking for FT_TrueTypeEngineType... yes checking for FT_Load_Sfnt_Table... yes checking for parport header/ppdev.h... no checking for pthread_attr_get_np... no checking for pthread_getattr_np... no checking for pthread_get_stackaddr_np... yes checking for pthread_get_stacksize_np... yes checking for inflate in -lz... yes checking for po_message_msgctxt in -lgettextpo... yes checking for esd-config... no checking esd.h usability... no checking esd.h presence... no checking for esd.h... no checking gst/gstpad.h usability... no checking gst/gstpad.h presence... no checking for gst/gstpad.h... no checking sys/soundcard.h usability... no checking sys/soundcard.h presence... no checking for sys/soundcard.h... no checking cups/cups.h usability... yes checking cups/cups.h presence... yes checking for cups/cups.h... yes checking for -lcups... libcups.2.dylib checking for -lfontconfig... libfontconfig.1.dylib checking for -lssl... libssl.1.0.0.dylib checking for -lcrypto... libcrypto.1.0.0.dylib checking for -ljpeg... libjpeg.8.dylib checking for -lpng... libpng12.0.dylib checking for png_set_expand_gray_1_2_4_to_8 in -lpng... yes checking for -ltiff... libtiff.3.dylib checking for -lodbc... not found checking for gcc strength-reduce bug... no checking whether the compiler supports -fno-builtin... yes checking whether the compiler supports -fno-strict-aliasing... yes checking whether the compiler supports -Wdeclaration-after-statement... yes checking whether the compiler supports -Wempty-body... yes checking whether the compiler supports -Wstrict-prototypes... yes checking whether the compiler supports -Wtype-limits... no checking whether the compiler supports -Wunused-but-set-parameter... no checking whether the compiler supports -Wwrite-strings... yes checking for broken string.h that generates warnings with -Wpointer-arith... no checking for broken string.h that generates warnings with -Wlogical-op... yes checking for ms_hook_prologue attribute... no checking for the need to disable Fortify... no checking whether external symbols need an underscore prefix... yes checking whether external symbols need stdcall decoration... no checking how to define a function in assembly code... unknown checking whether asm() works outside of functions... yes checking whether .previous is supported in assembly code... no checking whether CFI directives are supported in assembly code... no checking for _pclose... no checking for _popen... no checking for _snprintf... no checking for _spawnvp... no checking for _strdup... no checking for _stricmp... no checking for _strnicmp... no checking for _strtoi64... no checking for _strtoui64... no checking for _vsnprintf... no checking for asctime_r... yes checking for chsize... no checking for dlopen... yes checking for epoll_create... no checking for ffs... yes checking for finite... yes checking for fnmatch... yes checking for fork... yes checking for fpclass... no checking for fstatfs... yes checking for fstatvfs... yes checking for ftruncate... yes checking for futimes... yes checking for futimesat... no checking for getattrlist... yes checking for getdirentries... yes checking for getopt_long... yes checking for getpagesize... yes checking for getpwuid... yes checking for gettimeofday... yes checking for getuid... yes checking for kqueue... yes checking for lstat... yes checking for memmove... yes checking for mmap... yes checking for pclose... yes checking for pipe2... no checking for poll... yes checking for popen... yes checking for port_create... no checking for prctl... no checking for pread... yes checking for pwrite... yes checking for readdir... yes checking for readlink... yes checking for sched_yield... yes checking for select... yes checking for setproctitle... no checking for setrlimit... yes checking for settimeofday... yes checking for sigaltstack... yes checking for sigprocmask... yes checking for snprintf... yes checking for spawnvp... no checking for statfs... yes checking for statvfs... yes checking for strcasecmp... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strtold... yes checking for strtoll... yes checking for strtoull... yes checking for symlink... yes checking for tcgetattr... yes checking for thr_kill2... no checking for timegm... yes checking for usleep... yes checking for vsnprintf... yes checking for wait4... yes checking for waitpid... yes checking for dladdr... yes checking for library containing gethostbyname... none required checking for library containing connect... none required checking for library containing inet_aton... none required checking for getaddrinfo... yes checking for getnameinfo... yes checking for getnetbyname... yes checking for getprotobyname... yes checking for getprotobynumber... yes checking for getservbyport... yes checking for inet_network... yes checking for inet_ntop... yes checking for inet_pton... yes checking for sendmsg... yes checking for socketpair... yes checking for LDAPSortKey... yes checking for ldap_initialize in -lldap_r... yes checking for ber_init in -llber... yes checking for ldap_count_references... yes checking for ldap_first_reference... yes checking for ldap_next_reference... yes checking for ldap_parse_reference... yes checking for ldap_parse_sort_control... yes checking for ldap_parse_sortresponse_control... yes checking for ldap_parse_vlv_control... yes checking for ldap_parse_vlvresponse_control... yes checking whether mkdir takes only one argument... no checking for sched_setaffinity... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for long long... yes checking for fsblkcnt_t... yes checking for fsfilcnt_t... yes checking for sigset_t... yes checking for request_sense... no checking for struct xinpgen... yes checking for struct ff_effect.direction... no checking for sigaddset... yes checking whether we can use re-entrant gethostbyname_r Linux style... no checking for struct statfs.f_bfree... yes checking for struct statfs.f_bavail... yes checking for struct statfs.f_frsize... no checking for struct statfs.f_ffree... yes checking for struct statfs.f_favail... no checking for struct statfs.f_namelen... no checking for struct statvfs.f_blocks... yes checking for struct msghdr.msg_accrights... no checking for struct sockaddr.sa_len... yes checking for struct sockaddr_un.sun_len... yes checking for scsireq_t.cmd... no checking for sg_io_hdr_t.interface_id... no checking for siginfo_t.si_fd... no checking for struct mtget.mt_blksiz... no checking for struct mtget.mt_gstat... no checking for struct mtget.mt_blkno... no checking for struct option.name... yes checking for struct stat.st_blocks... yes checking for struct stat.st_mtim... no checking for struct stat.st_ctim... no checking for struct stat.st_atim... no checking for struct sockaddr_in6.sin6_scope_id... yes checking for ns_msg._msg_ptr... yes checking for struct icmpstat.icps_outhist... no checking for struct ifreq.ifr_hwaddr... no checking for timezone variable... yes checking for daylight variable... yes checking for isinf... yes checking for isnan... yes checking whether we need to define __i386__... no configure: creating ./config.status config.status: creating Make.rules config.status: creating Maketest.rules config.status: creating dlls/Makedll.rules config.status: creating dlls/Makeimplib.rules config.status: creating programs/Makeprog.rules config.status: creating Make.tmp config.status: creating include/config.h config.status: include/config.h is unchanged config.status: linking AUTHORS to dlls/shell32/AUTHORS config.status: linking tools/winewrapper to wine config.status: executing include/stamp-h commands config.status: executing dlls/gdi32/dibdrv commands config.status: executing dlls/gdi32/enhmfdrv commands config.status: executing dlls/gdi32/mfdrv commands config.status: executing dlls/kernel32/nls commands config.status: executing dlls/user32/resources commands config.status: executing dlls/wineps.drv/data commands config.status: executing include/wine commands config.status: executing Makefile commands configure: libsane 32-bit development files not found, scanners won't be supported. configure: libv4l 32-bit development files not found. configure: libgphoto2 32-bit development files not found, digital cameras won't be supported. configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported. configure: libcapi20 32-bit development files not found, ISDN won't be supported. configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported. Here is just the error part of the make output. Code: In file included from event.c:45: ../../include/windef.h:207: error: conflicting types for ?BOOL? /usr/X11/include/X11/Xmd.h:165: error: previous declaration of ?BOOL? was here ../../include/windef.h:208: error: redefinition of typedef ?BYTE? /usr/X11/include/X11/Xmd.h:164: error: previous declaration of ?BYTE? was here In file included from ../../include/winnt.h:24, from ../../include/windef.h:252, from event.c:45: ../../include/basetsd.h:81: error: redefinition of typedef ?INT8? /usr/X11/include/X11/Xmd.h:143: error: previous declaration of ?INT8? was here ../../include/basetsd.h:82: error: redefinition of typedef ?INT16? /usr/X11/include/X11/Xmd.h:139: error: previous declaration of ?INT16? was here ../../include/basetsd.h:83: error: conflicting types for ?INT32? /usr/X11/include/X11/Xmd.h:137: error: previous declaration of ?INT32? was here In file included from /usr/X11/include/X11/Xproto.h:77, from x11drv.h:45, from event.c:50: /usr/X11/include/X11/Xprotostr.h:56: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xprotostr.h:62: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xprotostr.h:66: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xprotostr.h:73: error: expected specifier-qualifier-list before ?X_INT16? In file included from x11drv.h:45, from event.c:50: /usr/X11/include/X11/Xproto.h:272: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:281: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:345: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:360: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xproto.h:365: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:370: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xproto.h:389: error: expected specifier-qualifier-list before ?X_INT8? /usr/X11/include/X11/Xproto.h:417: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:432: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:458: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:472: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:485: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:498: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:512: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:525: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:539: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:552: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:567: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:579: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:592: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:605: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:618: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:627: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:650: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:661: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:676: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:699: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:713: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:726: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:740: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:753: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:765: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:778: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:790: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:804: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:816: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:829: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:845: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:859: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:874: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:887: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:900: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:913: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:925: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:939: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:954: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:976: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:998: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1006: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xproto.h:1015: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xproto.h:1025: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1041: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1048: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1055: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1060: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xproto.h:1080: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:1086: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:1096: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xproto.h:1103: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xproto.h:1111: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xproto.h:1119: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xproto.h:1132: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1140: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1169: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:1179: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1187: error: expected specifier-qualifier-list before ?X_INT32? /usr/X11/include/X11/Xproto.h:1195: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xproto.h:1208: error: expected specifier-qualifier-list before ?X_INT8? /usr/X11/include/X11/Xproto.h:1232: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1252: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1329: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1339: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xproto.h:1352: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1360: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1367: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1391: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:1404: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1410: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1421: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:1432: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1441: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1450: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:1464: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:1476: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:1499: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1509: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:1519: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:1546: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1554: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1562: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1580: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1589: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:1596: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1606: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1623: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1632: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1640: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1648: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1657: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1665: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:1674: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1684: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1695: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1707: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1720: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1737: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xproto.h:1748: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xproto.h:1761: error: expected specifier-qualifier-list before ?X_INT16? /usr/X11/include/X11/Xproto.h:1769: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1781: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1790: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1798: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1807: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1816: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:1824: error: expected specifier-qualifier-list before ?X_BOOL? /usr/X11/include/X11/Xproto.h:1832: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1840: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1852: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1857: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1864: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1873: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1884: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1895: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1916: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1936: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1954: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1961: error: expected specifier-qualifier-list before ?X_INT8? /usr/X11/include/X11/Xproto.h:1967: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1976: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1985: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:1994: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:2000: error: expected specifier-qualifier-list before ?X_BYTE? /usr/X11/include/X11/Xproto.h:2010: error: expected specifier-qualifier-list before ?X_BYTE? event.c: In function ?merge_events?: event.c:321: error: ?XEvent? has no member named ?xcookie? event.c:322: error: ?XEvent? has no member named ?xcookie? event.c:333: error: ?XEvent? has no member named ?xcookie? event.c:334: error: ?XEvent? has no member named ?xcookie? event.c:335: error: ?XEvent? has no member named ?xcookie? event.c:335: error: ?XEvent? has no member named ?xcookie? make[1]: *** [event.o] Error 1 make: *** [dlls/winex11.drv] Error 2 After studying the configure output, I found this line: Code: checking for XEvent.xcookie... no Is it just a problem with my X11? Any help would be much appreciated.