Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2009 16:02:06 +1000
From:      Da Rock <rock_on_the_web@comcen.com.au>
To:        freebsd-questions@freebsd.org
Subject:   Re: net/samba-libsmbclient fails build
Message-ID:  <1233208926.1216.26.camel@laptop2.herveybayaustralia.com.au>
In-Reply-To: <1233196075.1216.14.camel@laptop2.herveybayaustralia.com.au>
References:  <1233015690.41990.28.camel@laptop1.herveybayaustralia.com.au> <4d7dd86f0901281722l64eb2339k639263811d39a526@mail.gmail.com> <1233196075.1216.14.camel@laptop2.herveybayaustralia.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2009-01-29 at 12:27 +1000, Da Rock wrote:
> On Thu, 2009-01-29 at 12:22 +1100, David N wrote:
> > 2009/1/27 Da Rock <rock_on_the_web@comcen.com.au>:
> > > I get the following error in this build (make, make install clean):
> > >
> > > In file included from libsmb/libsmbclient.c:25:
> > > include/includes.h:1112: error: conflicting types for
> > > 'krb5_set_real_time'
> > > /usr/local/include/krb5-protos.h:3486: error: previous declaration of
> > > 'krb5_set_real_time' was here
> > >
> > > I was considering debugging this myself and submitting it to you guys
> > > here, but then I looked closer... my question is now where do I submit
> > > this kind of info? If not here then let me know where.
> > >
> > > Cheers
> > >
> > > FreeBSD laptop1.herveybayaustralia.com.au 7.1-RELEASE-p2 FreeBSD
> > > 7.1-RELEASE-p2 #0: Thu Jan 15 16:27:55 EST 2009
> > > xxxxxxxxxx@laptop1.herveybayaustralia.com.au:/usr/obj/usr/src/sys/GENERIC  amd64
> > >
> > >
> > > _______________________________________________
> > > freebsd-ports@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
> > >
> > 
> > try rebuilding it with
> > KRB5_HOME=/usr/local
> > 
> > i think you need to do a make clean first and then do
> > make install KRB5_HOME=/usr/local
> 
> NG. This is failing during portupgrade.

Ok. I switched lists by mistake, but the maintainer doesn't seem to be
watching the ports list and he seems to be the only one there who knows
what could be going on, sp it could be a good thing.

Can someone tell me which has precedence in this scenario:

I just had a look at debugging this problem, and in krb5-protos.h it
defines a structure as follows:
krb5_set_real_time (
	krb5_context /*context*/,
	krb5_timestamp /*sec*/,
	int32_t /*usec*/);

but in both includes.h and includes.h.orig it has:
krb5_error_code krb5_set_real_time(krb5_context context, int32_t
seconds, int32_t microseconds);

So which should change? My bet is on samba-libsmbclient, but if I change
this how will it affect the rest of the system?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1233208926.1216.26.camel>