Re: [checkpoint:BOUNCE:Unauthorized post from "Brian W. Barrett" <brbarret_at_osl_dot_iu_dot_edu> denied]

From: Eric Roman (eroman_at_lbl.gov)
Date: Thu Oct 24 2002 - 11:49:01 PDT


Looks like this is because of a bad include line.  

> /usr/bin/gcc -pipe -Wall -Wstrict-prototypes -Werror -O6
> -fomit-frame-pointer -m486 -malign-loops=2 -malign-jumps=2
> -malign-functions=2 -DCPU=586
> -I/home/pcp1/brbarret/checkpoint-docs/src/include
> -I/usr/src/linux-2.4/include
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> -I/home/pcp1/brbarret/checkpoint-docs/src/vmadump  -D__KERNEL__ -DLINUX

there is no /usr/src/linux-2.4/include on n2001.  I think Sriram
has a copy in his home directory.  You can use mine if you want
(/home/pcp1/eroman/src/linux-2.4.18)

The Makefile.config at top level out to look something like:

CR_ARCH = i386
LINUX_SRC = /home/pcp1/eroman/src/linux-2.4.18

Or you can use your own sources if you want.

 - E


On Thu, Oct 24, 2002 at 10:12:41AM -0700, owner-checkpoint_at_lbl_dot_gov wrote:
> ----------------------------------------
> 
> The message from 
> "Brian W. Barrett" <brbarret_at_osl_dot_iu_dot_edu> 
> was NOT posted to the list checkpoint 
> because 
> "Brian W. Barrett" <brbarret_at_osl_dot_iu_dot_edu> 
> is NOT an authorized poster to checkpoint
> 
> "Brian W. Barrett" <brbarret_at_osl_dot_iu_dot_edu> may check with 
> owner-checkpoint_at_listserv_dot_lbl_dot_gov 
> for help if needed.
> 
> ----------------------------------------
> >From owner-checkpoint Thu Oct 24 10:12:40 2002
> Received: from towel.osl.iu.edu (towel.osl.iu.edu [129.79.245.249])
> 	by listserv.lbl.gov (8.11.2/8.11.2) with ESMTP id g9OHCdm07400
> 	for <checkpoint_at_listserv_dot_lbl_dot_gov>; Thu, 24 Oct 2002 10:12:40 -0700 (PDT)
> Received: from localhost (brbarret@localhost)
> 	by towel.osl.iu.edu (8.12.2/8.12.2) with ESMTP id g9OHCYxw007647
> 	for <checkpoint_at_listserv_dot_lbl_dot_gov>; Thu, 24 Oct 2002 12:12:34 -0500 (EST)
> X-Authentication-Warning: towel.osl.iu.edu: brbarret owned process doing -bs
> Date: Thu, 24 Oct 2002 12:12:34 -0500 (EST)
> From: "Brian W. Barrett" <brbarret_at_osl_dot_iu_dot_edu>
> To: LBNL Checkpoint List <checkpoint_at_listserv_dot_lbl_dot_gov>
> Subject: Compile problems
> Message-ID: <[email protected]>
> MIME-Version: 1.0
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> 
> Hey guys -
> 
> When I try to compile the C/R code out of CVS on n2001, I get an error,
> below.  I'm sure you guys knew, but figured I'd bug you anyways.
> 
> Brian
> 
> 
> make[1]: Leaving directory `/home/pcp1/brbarret/checkpoint-docs/src/libcr'
> make[1]: Entering directory
> `/home/pcp1/brbarret/checkpoint-docs/src/cr_module'
> /usr/bin/gcc -pipe -Wall -Wstrict-prototypes -Werror -O6
> -fomit-frame-pointer -m486 -malign-loops=2 -malign-jumps=2
> -malign-functions=2 -DCPU=586
> -I/home/pcp1/brbarret/checkpoint-docs/src/include
> -I/usr/src/linux-2.4/include
> -I/home/pcp1/brbarret/checkpoint-docs/src/vmadump  -D__KERNEL__ -DLINUX
> -DMODULE  -c -o cr_async.o cr_async.c
> In file included from cr_async.c:10:
> cr_module.h:11: asm/rwlock.h: No such file or directory
> cc1: warnings being treated as errors
> cr_async.c: In function `cr_async_release':
> cr_async.c:29: warning: implicit declaration of function
> `list_for_each_safe'
> cr_async.c:29: parse error before `{'
> cr_async.c: At top level:
> cr_async.c:37: parse error before `do'
> cr_async.c: In function `cr_async_release':
> cr_async.c:26: warning: `cr_task' might be used uninitialized in this
> function
> make[1]: *** [cr_async.o] Error 1
> make[1]: Leaving directory
> `/home/pcp1/brbarret/checkpoint-docs/src/cr_module'
> make: *** [subdirs] Error 2
> 
> 
> -- 
>   Brian Barrett
>   Graduate Student, Open Systems Lab, Indiana University
>   http://www.osl.iu.edu/~brbarret/

-- 
Eric Roman                       Future Technologies Group
510-486-6420                     Lawrence Berkeley National Laboratory