Bug 25968

Summary: /usr/src/lib/libcrypt/../libutil/property.c Doesnt compile cleanly unable to get PROPERTY_MAX_NAME from <libutil.h>
Product: Base System Reporter: phusnikn <phusnikn>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description phusnikn 2001-03-21 19:40:02 UTC

 diff /usr/include/libutil.h /usr/src/lib/libutil/libutil.h
26c26
<  * $FreeBSD: src/lib/libutil/libutil.h,v 1.26.2.2 2000/09/20 09:53:23 jkh Exp $
---
>  * $FreeBSD: src/lib/libutil/libutil.h,v 1.31 2001/03/19 05:04:30 rwatson Exp $
33a34,36
> #define PROPERTY_MAX_NAME     64
> #define PROPERTY_MAX_VALUE    512
> 
47a51,53
> int   extattr_namespace_to_string __P((int attrnamespace, char **string));
> int   extattr_string_to_namespace __P((const char *string,
>                                        int *attrnamespace));

Fix: 

have /usr/src/lib/libcrypt/../libutil/property.c include /usr/src/lib/libutil/libutil.h instead of <libutil.h>
How-To-Repeat: cd /usr/src/lib/libcrypt 
make 
:)
Comment 1 ashp freebsd_committer freebsd_triage 2002-01-17 00:27:40 UTC
State Changed
From-To: open->feedback

Appears to compile fine on 4.5-RC.  Is this still a problem for you with 
FreeBSD -STABLE?
Comment 2 ashp freebsd_committer freebsd_triage 2002-01-17 20:06:30 UTC
State Changed
From-To: feedback->closed

We don't (generally) support compiling fresh sources in a stale host 
environment, other than via 'make buildworld', as pointed out by Ruslan.