[Prev][Next][Index][Thread]
shadow ftp problem.
Hi,
I've installed shadow programs (shadow-in-a-box) but the ftpd
couldn't be compiled and it writes :
------------------------------------------------
glob.c: In function `matchdir':
glob.c:238: dereferencing pointer to incomplete type
make: *** [glob.o] Error 1
------------------------------------------------
I've tried to compile 2 types of ftpd and the resualt was the same,
when I've checked what's the problem I've found that the problem is
in the var. :
DIR *dirp;
/* Some code to init the disp struct */
...
...
/****************/
dirp->dd_fd <<= The problematic call.
/****************/
I've checked the dirent.h and it seems to be OK, or is it ?
Ideas ?
--
,-~~-.___. bye,
/ | ' \ Sagi Shporer
( ) 0 The WRI-IC WebMaster.
\_/-, ,----' E-Mail : sagi@wri.technion.ac.il
==== // URL : http://wri.technion.ac.il/sagi
/ \-'~; /~~~(O)
/ __/~| / |
=( _____| (_________|
...A computer scientist is someone who fixes things that aren't broken.