lkml.org 
[lkml]   [1996]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: ncftp compile errors
Date
Jon Mitchell said:
>
>
> This looks very related to the changes in the include files. This
> program compiles smoothly on most machines I've tried it on, but not on
> this one running 1.3.79.
>
now, if i may let me give you a lecture on compiler errors.

> /usr/i486-linux/include/linux/types.h:62: parse error before `daddr_t'

When you see a line like this, it means the compiler does not recognize
that word as a type name, but thinks it is the name of a variable, and it
misses its type. From this point on all output from the compiler, for the
current filei, is junk and should be disregarded.

The fix is finding where the type is defined, find & grep help a lot in
this cases, and adding the appropriate include file to the source.
This is not always true, as things sometimes get trickier, maybe your type
declaration is #ifdef-ed out, but this method is a general starting point.


>
> Jon Mitchell \ [Fun-Boy] Sleep is for weaklings!
> jrmitche@uiuc.edu \ Linux 2.0: Coming soon to a computer near you.
> CCSO Site Consultant \ These views have _nothing_ to do with CCSO.
>
>

regards,
Luca

--
#include <disclaimer.h>
+----------------------------------------------------------------------------+
| Luca Berra -- S.I.W.A. Politecnico di Milano |
| Phone: +39-2-23992413 - e-mail: bluca@www.polimi.it |
| PGP public key available via finger |
+----------------------------------------------------------------------------+


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.098 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site