Date: Fri, 10 Feb 2012 11:46:15 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Martin Wilke <miwi@FreeBSD.ORG> Cc: ports@FreeBSD.ORG, Alex Dupre <ale@FreeBSD.ORG> Subject: Re: mysql 5.5 fails to build. Message-ID: <20120210114615.Horde.tdbrZ5jmRSRPNPV3gsfRT5w@webmail.leidinger.net> In-Reply-To: <EFA2259E-8470-4F96-B7C5-A98EFC31255C@FreeBSD.ORG> References: <EFA2259E-8470-4F96-B7C5-A98EFC31255C@FreeBSD.ORG>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Martin Wilke <miwi@FreeBSD.ORG> (from Fri, 10 Feb 2012 17:44:01 +0800): > Linking CXX executable mysqld > ../storage/innobase/libinnobase.a(row0merge.c.o): In function > `row_merge_write': > row0merge.c:(.text+0x571): undefined reference to `posix_fadvise' > ../storage/innobase/libinnobase.a(row0merge.c.o): In function > `row_merge_read': > row0merge.c:(.text+0x968): undefined reference to `posix_fadvise' > ../storage/innobase/libinnobase.a(row0merge.c.o): In function > `row_merge_build_indexes': > row0merge.c:(.text+0x1f08): undefined reference to `posix_fadvise' > In the tinderbox builds fine. > > > Some infos about the system > > FreeBSD 9.0-STABLE #1 r229835: Mon Jan 9 04:11:49 CET 2012, > Filesystem is ZFS, and all mysql servers running in a jail. > > Any idea? Did you update the jails recently from a FreeBSD version without posix_fadvise? I noticed in my ezjail-update logs that the update of files with file flags fails without aborting the installation/update. So maybe you have some old libs around. I recursively removed the flags from my basejails and did the update again. A quick look at ezjail suggests that the removal of the flags should happen automatically, but I didn't had the time to dig deeper. Bye, Alexander. -- Youth is when you blame all your troubles on your parents; maturity is when you learn that everything is the fault of the younger generation. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120210114615.Horde.tdbrZ5jmRSRPNPV3gsfRT5w>