Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

Re: [KFUG][] sys/statfs.h ?



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ] [ °Ë»ö]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


On Fri, Nov 14, 2003 at 07:12:53PM +0900, Chieyeon Chough wrote:
 > FreeBSD 5.1에 Gaussian98이라는 프로그램을 깔려고하는데요.
 > 컴파일시 다음과 같은 에러가 나옵니다.
 > 
 > gcc -g -I/usr/local/gaussian98-Rev11/TAR/g98 -I/usr/local/gaussian98-Rev11/TAR/g98s -DGAUSS_PAR -DGAUSS_THPAR  -DDEFMAXSHL=20000 -DDEFMAXATM=20000 -DDEFMAXNZ=20000 -DDEFNVDIM=257 -DDEFARCREC=1024 -DMERGE_LOOPS -DUSE_ESSL -D_I386_ -DLITTLE_END -DUSING_F2C -DDEFMAXIOP=100 -DDEFMAXCHR=1024 -DDEFLMAX=13 -DDEFN3MIN=10 -DDEFMAXHEV=2000 -DDEFCACHE=64 -DDEFMAXLECP=10 -DDEFMAXFUNIT=5 -DDEFMAXFFILE=10000 -DDEFMAXFPS=1300 -DDEFMAXINFO=200 -DDEFMAXOP=120 -DDEFMAXTIT=100 -DDEFMAXRTE=4000 -DDEFMAXOV=500 -D_ALIGN_CORE_  -DO_BKSPEF -DDEFMXTS=1500 -DDEFMXBAS=500 -DDEFMXOPT=50 -DDEFMXBOND=12 -DDEFMXSPH=250 -DDEFMXINV=1500  -D___LINUX___  -O2 -mpentiumpro -march=pentiumpro   -c bsd/mdutil.c
 > `-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mcpu=pentiumpro' instead.
 > bsd/mdutil.c:106:24: sys/statfs.h: No such file or directory
 > bsd/mdutil.c:274:24: sys/statfs.h: No such file or directory
 > bsd/mdutil.c: In function `ntrbks_':
 > bsd/mdutil.c:1391: storage size of `statfsbuf' isn't known
 > bsd/mdutil.c:1398: sizeof applied to an incomplete type
 > bsd/mdutil.c: In function `ntrext1_':
 > bsd/mdutil.c:1487: storage size of `statfsbuf' isn't known
 > bsd/mdutil.c:1506: sizeof applied to an incomplete type
 > bsd/mdutil.c: In function `galloc_':
 > bsd/mdutil.c:2826: conflicting types for `shmat'
 > /usr/include/sys/shm.h:115: previous declaration of `shmat'
 > bsd/mdutil.c:2826: warning: extern declaration of `shmat' doesn't match global one
 > gmake: *** [mdutil.o] Error 1
 > 
 > 그래서 /usr/include/sys에서 찾아보니까 
 > statfs.h라는 파일이 없더군요.
 > 혹시 이 파일이 어느 패키지에 있는지 아시는분은 가르쳐주십시오.
 > 아니면 컴파일할 수 있는 다른 방법이라도 가르쳐주십시오.
 > 그럼.

FreeBSD에서는 statfs.h라는 header file은 없습니다.
(NetBSD/OpenBSD에도없고, DragonFly BSD에도 없을겁니다.)
'struct statfs'가 필요하면 statfs(2)를 보시기 바랍니다.

-- 
Pyun YongHyeon <http://www.kr.freebsd.org/~yongari>
_______________________________________________
한국 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: 2003/11/14 22:39:27 $
Powered by FreeBSD