#: 4743 S12/OS9/68000 (OSK)
29-Jun-90 11:04:46
Sb: #4733-#problems compiling tar.c
Fm: Pete Lyall 76703,4230
To: SCOTT HOWELL 70270,641 (X)
I think JJ may have nailed part of it... the u_char may not be defined. Try
inserting a line to the effect of:
typedef u_char unsigned char;
near the top of the code (before main()).
Also, the 'return on non-void function' is a new one, but I have a guess. A
function declared as a 'void' means that it 'returns' nothing. If the function
that's complaining obviously returns something, try declaring that function as
returning that type, also up in the beginning of the code, i.e.:
int foo();
or
char * woof();
Depending on the type being returned.
It does sound as though these should have been addressed in a .h file.
Pete
There are 3 Replies.
|