[Mew-dist 11670] Re: mls
YAMAGUCHI Shuhei
yamagus at example.com
1999年 12月 7日 (火) 15:23:00 JST
>>>>> In [Mew-dist : No.11669]
>>>>> YAMAGUCHI Shuhei <yamagus at example.com> wrote:
山口> Cygnus 20.1 ですが、添付したログのようになり、コンパイルは失敗します。
山口> 二度 make してますが、二度目は <dirent.h> を include するようソースを
山口> いじった後のものです。
すみません、添付するのを忘れてました。 ^^;
でわでわ
--
yamagus at example.com / やまぐち@ねっとらぴゅたの住人
yamagus at example.com / 山口 修平
PGP-Fingerprint: 25 0F 6F E1 57 AD 56 08 3A BC D0 9B 48 AF 31 7A
-------------- next part --------------
del-0048:/usr/sources/Mew/m $ sh configure
creating cache ./config.cache
checking for dirent.h that defines DIR... no
checking for sys/ndir.h that defines DIR... no
checking for sys/dir.h that defines DIR... no
checking for ndir.h that defines DIR... no
checking for opendir in -lx... no
checking how to run the C preprocessor... grep: conftest.out: No such file or directory
cc -E
checking for ANSI C header files... grep: conftest.out: No such file or directory
no
checking for unistd.h... grep: conftest.out: No such file or directory
yes
checking for working const... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
del-0048:/usr/sources/Mew/m $ make
gcc -g mls.c -o mls
mls.c:31: warning: `struct dirent' declared inside parameter list
mls.c:31: warning: its scope is only this definition or declaration,
mls.c:31: warning: which is probably not what you want.
mls.c: In function `selectnum':
mls.c:32: dereferencing pointer to incomplete type
mls.c:33: dereferencing pointer to incomplete type
mls.c:36: dereferencing pointer to incomplete type
mls.c:36: `DT_REG' undeclared (first use in this function)
mls.c:36: (Each undeclared identifier is reported only once
mls.c:36: for each function it appears in.)
mls.c: In function `compnum':
mls.c:51: dereferencing pointer to incomplete type
mls.c:52: dereferencing pointer to incomplete type
mls.c: In function `scanfolder':
mls.c:164: dereferencing pointer to incomplete type
mls.c: In function `main':
mls.c:179: warning: return type of `main' is not `int'
make: *** [mls] Error 1
del-0048:/usr/sources/Mew/m $ make
gcc -g mls.c -o mls
mls.c: In function `selectnum':
mls.c:35: structure has no member named `d_namlen'
mls.c:38: structure has no member named `d_type'
mls.c:38: `DT_REG' undeclared (first use in this function)
mls.c:38: (Each undeclared identifier is reported only once
mls.c:38: for each function it appears in.)
mls.c: In function `main':
mls.c:181: warning: return type of `main' is not `int'
make: *** [mls] Error 1
del-0048:/usr/sources/Mew/m $
Mew-dist メーリングリストの案内