Coda File System

Re: Weird parse error when compiling with Slack linux?

From: Jesse Brown <bextreme_at_pobox.com>
Date: Mon, 5 Apr 1999 12:44:51 -0700 (PDT)
It is a Slackware 3.5 machine, however I have tryed to compile it on a
fresh 3.6 machine with the same errors. Perhaps a glibc problem? Either
way, manually definining it worked. Now I have some other errors. :)

../../../lib-src/mlwp/lwp.c: In function `Trace_Swapped_Stack':
../../../lib-src/mlwp/lwp.c:841: warning: unsigned int format, register_t arg (arg 4)
../../../coda-src/rpc2/lists.c: In function `rpc2_MoveEntry':
../../../coda-src/rpc2/lists.c:116: warning: passing arg 1 of `remque' from incompatible pointer type
../../../coda-src/rpc2/lists.c:128: warning: passing arg 1 of `insque' from incompatible pointer type
../../../coda-src/rpc2/lists.c:128: warning: passing arg 2 of `insque' from incompatible pointer type
../../../coda-src/rpc2/conn.c:239: warning: `PrintHashTable' defined but not used
../../../coda-src/rpc2/multi2.c: In function `MRPC_MakeMulti':
../../../coda-src/rpc2/multi2.c:244: warning: assignment makes integer from pointer without a cast
../../../coda-src/rpc2/multi2.c: In function `pack':
../../../coda-src/rpc2/multi2.c:412: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast
../../../coda-src/rpc2/multi2.c: In function `MRPC_UnpackMulti':
../../../coda-src/rpc2/multi2.c:676: warning: passing arg 7 of `mkcall' from incompatible pointer type
../../../coda-src/rpc2/multi2.c: In function `unpack':
../../../coda-src/rpc2/multi2.c:805: warning: passing arg 1 of `memcpy' makes pointer from integer without a cast
../../../coda-src/rpc2/sftp3.c: In function `sftp_InitIO':
../../../coda-src/rpc2/sftp3.c:168: warning: implicit declaration of function `iopen'
../../../coda-src/rpc2/sftp3.c: In function `sftp_WriteStrategy':
../../../coda-src/rpc2/sftp3.c:450: warning: implicit declaration of function `B_ShiftLeft'
../../../coda-src/rpc2/sftp3.c: In function `sftp_SendAck':
../../../coda-src/rpc2/sftp3.c:497: warning: implicit declaration of function `B_Assign'
../../../coda-src/rpc2/sftp3.c:509: warning: implicit declaration of function `B_CopyToPacket'
../../../coda-src/rpc2/sftp3.c: In function `sftp_AckArrived':
../../../coda-src/rpc2/sftp3.c:601: warning: implicit declaration of function `B_CopyFromPacket'
../../../coda-src/rpc2/sftp3.c: In function `sftp_vfreadv':
../../../coda-src/rpc2/sftp3.c:1413: warning: implicit declaration of function `readv'
../../../coda-src/rpc2/sftp3.c: In function `sftp_vfwritev':
../../../coda-src/rpc2/sftp3.c:1459: warning: implicit declaration of function `writev'
../../../coda-src/rpc2/sftp6.c: In function `MC_SendStrategy':
../../../coda-src/rpc2/sftp6.c:609: warning: implicit declaration of function `B_Assign'
../../../coda-src/rpc2/sftp6.c:610: warning: implicit declaration of function `B_ShiftRight'
../../../coda-src/rpc2/sftp6.c:611: warning: implicit declaration of function `B_And'
../../../coda-src/rpc2/sftp6.c:630: warning: implicit declaration of function `B_ShiftLeft'
../../../coda-src/rpc2/rpc2test.c: In function `ClientBody':
../../../coda-src/rpc2/rpc2test.c:500: warning: int format, long int arg (arg 5)
../../../coda-src/rpc2/rpc2test.c:517: warning: int format, long int arg (arg 5)
../../../coda-src/util/vmindex.cc: In method `long unsigned int vmindex_iterator::operator ()()':
../../../coda-src/util/vmindex.cc:87: warning: initialization of negative value `-1' to `long unsigned int'
/home/bextreme/tmp/coda-5.2.0/obj/include/cfs/coda.h:202: warning: `coda_f2i' defined but not used
/home/bextreme/tmp/coda-5.2.0/obj/include/cfs/coda.h:202: warning: `coda_f2i' defined but not used
../../../coda-src/dir/dirbody.c: In function `DIR_Print':
../../../coda-src/dir/dirbody.c:733: warning: int format, long int arg (arg 4)
/home/bextreme/tmp/coda-5.2.0/obj/include/cfs/coda.h:202: warning: `coda_f2i' defined but not used
/home/bextreme/tmp/coda-5.2.0/obj/include/cfs/coda.h:202: warning: `coda_f2i' defined but not used
../../../coda-src/dir/dirtest.c: In function `dt_bulktest':
../../../coda-src/dir/dirtest.c:278: warning: excess elements in array initializer after `mdir_argv'
../../../coda-src/dir/dirtest.c:279: warning: excess elements in array initializer after `create_argv'
../../../coda-src/dir/dirtest.c:296: warning: passing arg 2 of `rvmlib_end_transaction' from incompatible pointer type
../../../coda-src/dir/dirtest.c:309: warning: passing arg 2 of `rvmlib_end_transaction' from incompatible pointer type
../../../coda-src/dir/dirtest.c:313: warning: passing arg 2 of `rvmlib_end_transaction' from incompatible pointer type
../../../coda-src/dir/dirtest.c:275: warning: unused variable `dirno'
/home/bextreme/tmp/coda-5.2.0/obj/include/cfs/coda.h: At top level:
/home/bextreme/tmp/coda-5.2.0/obj/include/cfs/coda.h:202: warning: `coda_f2i' defined but not used
make[2]: *** No rule to make target `-lreadline', needed by `filcon'.  Stop.
make[1]: *** [fail] Error 2
make: *** [coda-src] Error 2

On 5 Apr 1999, Magnus Ahltorp wrote:

> Date: 05 Apr 1999 17:28:25 +0200
> From: Magnus Ahltorp <map_at_stacken.kth.se>
> To: Jesse Brown <bextreme_at_pobox.com>
> Cc: codalist_at_TELEMANN.coda.cs.cmu.edu
> Subject: Re: Weird parse error when compiling with Slack linux?
> 
> > Unfortunately it does not make any difference. It failed at the same
> > point with the same errors. Any other ideas?
> 
> >From your error messages, it seems register_t isn't defined
> anywhere. If you could look through your include files and search for
> a typedef of register_t, including that file would probably help. I
> don't know what libc you are using, and my libc 5 machine seems to be
> shut down at the moment.
> 
> /Magnus
> 

--
Jesse Brown [jesse.brown_at_pobox.com] - PGP Key ID = C4AB128D
Home Page, PGP Public Key - http://www.pobox.com/~bextreme/
ObSigQuote - "bash awk grep perl sed df du, du-du du-du,
vi troff su fsck rm * halt LART LART LART!" -- the Swedish BOFH
Received on 1999-04-05 15:49:13