Re: Rox Filer unable to compile on NetBSD (propably on OpenBSD too) (patch) (fwd)

Stephen Watson <[email protected]> Tue, 17 Jan 2012 18:10:17 +0000
Newsgroups gmane.comp.desktop.rox.devel
Message-ID <[email protected]>
Petri Laakso <[email protected]> wrote:

> Hi
> 
> I was unable to build Rox Filer on NetBSD i386 from pkgsrc-2011Q4:
> 
> xtypes.c: In function 'xattr_init':
> xtypes.c:62: error: 'RTLD_NOLOAD' undeclared (first use in this function)
> xtypes.c:62: error: (Each undeclared identifier is reported only once
> xtypes.c:62: error: for each function it appears in.)
> *** Error code 1
> 
> I found that NetBSD or OpenBSD does not have RTLD_NOLOAD flag for dlopen,
> so I just removed RTLD_NOLOAD's from xtypes.c and live happily after.
> Is this correct fix? If this is a correct fix, could it be implemented on
> upstream sources also?

I'm testing a version that removes dlopen entirely.  It was only in there
for old versions of libc without xattr support and I don't think we need to
support those anymore.

-- 
Stephen Watson     http://www.kerofin.demon.co.uk/
If you read this on a mailing list, send any reply back to the list and not
to me.  Not even CC.
That's wierd, new teeth!

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d