|
News,
Internal,
Projects,
Home Software, Support, Documentation |
안녕하세요. FREEBSD 플랫폼에서 gcc 컴파일러로 c 소스를 컴파일하다가 다음과 같은 오류가 발생하였습니다.
=======================================================================
In file included from /usr/include/sys/mount.h:40,
from lib/si_freebsd.h:18,
from lib/si.h:21,
from fm_sm.c:19:
/usr/include/sys/ucred.h:50: `NGROUPS' undeclared here (not in a function)
*** Error code 1
========================================================================
제가 조사한 바에 의하면
1. 구글에서 검색을 해보니 usr/src/include/sys/param.h 헤더 파일의 73번째 줄의
#define NGROUPS NGROUPS_MAX /* max number groups */
이 문제를 발생시켰다고 하였는데요. 그것의 해결 방법에 대해서는 명확하게 나와있지가 않습니다.
2. 어떤 곳에서는 'configure.ac 파일을 업데이트하라 ' 이렇게 나와 있는데요, 역시 어떻게 해야 업데이트를 해야하는지
설명이 없습니다.
저와 같은 상황을 경험하시고 해결을 하셨던 분 계시면 속시원한 해결법을 알려주시기 바랍니다.
그럼 오늘 하루도 즐거운 하루 되시길 바랍니다.
_______________________________________________ 한국 FreeBSD 사용자 그룹(KFUG) questions 메일링 리스트 questions at kr.FreeBSD.org http://www.kr.FreeBSD.org/mailman/listinfo/questions
|
Copyright © 1998-2005 Korea FreeBSD Users Group. All rights reserved. webmaster at kr.FreeBSD.org $Date: 2004/02/02 15:37:57 $ |
|