From owner-freebsd-ports@FreeBSD.ORG Sun Oct 28 08:57:56 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19500CB8 for ; Sun, 28 Oct 2012 08:57:56 +0000 (UTC) (envelope-from freebsd-ports@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id BA8038FC08 for ; Sun, 28 Oct 2012 08:57:55 +0000 (UTC) Received: from laptop3.herveybayaustralia.com.au (unknown [192.168.0.166]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id E98625C29 for ; Sun, 28 Oct 2012 19:06:13 +1000 (EST) Message-ID: <508CF1C7.4000803@herveybayaustralia.com.au> Date: Sun, 28 Oct 2012 18:50:15 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120728 Thunderbird/13.0.1 MIME-Version: 1.0 To: ports@FreeBSD.org Subject: wine won't build - inotify errors Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 08:57:56 -0000 Just trying to sort out some issues with wine and I originally used pkg_add I think to install it, now I need to ensure certain features are enabled like ssl connections and I need to be able to build wine from port source. The errors are as follows: cc -o wineserver async.o atom.o change.o class.o clipboard.o completion.o console.o debugger.o device.o directory.o event.o fd.o file.o handle.o hook.o mach.o mailslot.o main.o mapping.o mutex.o named_pipe.o object.o process.o procfs.o ptrace.o queue.o region.o registry.o request.o semaphore.o serial.o signal.o snapshot.o sock.o symlink.o thread.o timer.o token.o trace.o unicode.o user.o window.o winstation.o -L../libs/wine -lwine ../libs/port/libwine_port.a -L/usr/local/lib -Wl,--rpath,\$ORIGIN/../libs/wine change.o: In function `inotify_add_dir': change.c:(.text+0x526): undefined reference to `inotify_add_watch' change.o: In function `free_inode': change.c:(.text+0x812): undefined reference to `inotify_rm_watch' change.o: In function `req_read_directory_changes': change.c:(.text+0x1310): undefined reference to `inotify_init' gmake[1]: *** [wineserver] Error 1 A quick poke at the sore point shows that there is a define around the declarations required. I think it should be using sys/inotify.h but that doesn't appear to be happening. Without a good dig I can't tell precisely what is going on, but I figured I might ask here in case someone knows either a workaround or can offer some points on what is going on. FWIW it is technically a cross-build for i386 on FreeBSD 9.0 AMD64, and I'm using /compat/i386 to provide a base using chroot similar to linux - as outlined on the freebsd wine wiki. I considered using the amd64 version, but I was running some other testing for i386 on amd64 as well. Cheers