TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: SCOTT HOWELL 70270,641 (X)
from: Pete Lyall 76703,4230
date: 1990-06-29 11:04:46
subject: #4733-#problems compiling tar.c

#: 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.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.