Re: new errors when compiling brag

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Fri May 31 2002 - 12:36:58 EDT

  • Next message: jnorris: "one more question"

    Hi James, 
    
    On Fri, 31 May 2002 11:21:49 -0500
    jnorris <jnorris@ku.edu> wrote
    concerning "new errors when compiling brag":
    > People,
    > 
    > Sorry to be such a pain here lately, but I'm just having all sorts of
    > problems here lately.  I've recently done a cvs checkout of brag, and gotten
    > brag 1.1.8.  I have copied my mids cherenkov files into the appropriate
    > places and modified the Makefile.am everywhere appropriately, I think.
    > However, when I try to compile, I get scads and scads and scads of error
    > messages like:
    > 
    > 	mids/.libs/libmids.al(eg_c6.lo): In function `eg_c6__':
    /brahms/u/jnorris/transfer/brag/src/mids/eg_c6.F:10: multiple definition of
    > `eg_c6__'
    mids/.libs/libmids.al(eg_c6.lo):/brahms/u/jnorris/transfer/brag/src/mids/eg_c
    > 6.F:10: first defined here
    > 
    > As far as I can tell, I get one for every file in src/mids/.
    
    So I guess you include some file into all the source files in
    `src/mids', and the included file defines a function `eg_c6' or some
    variable `eg_c6' not in a common block. 
    
    > (Can anyone tell me how to redirect the output of compiling brag into a .txt
    > file?  the I have aliased all three commands from the README file to the
    > command makebrag, and the command:
    > 
    > 	prompt> makebrag > temp.txt
    > 
    > fails to redirect the output to the temp.txt file.)
    
    It depends on your shell.  If you're using a CSH like shell, then you
    should do 
    
      prompt% (make > build.log) >& build.err 
    
    With a SH like shell; do
    
      prompt% make > build.log 2> build.err 
    
    These two commands will put all normal messages into `build.log' and
    all errors and warnings into `build.err'.  If you want all the output
    in one  file do for CSH like shells
    
      prompt% make >& build.log 
    
    or for SH like shells 
    
      prompt% make > build.log 2>&1 
    
    Maybe it's time to go MacOSX :-) 
    
    Why would you want to alias 
    
      aclocal && automake -a && autoconf && ./configure 
    
    when you got `autogen' :-) 
    
    > Help!!!
    
    Hope that helps you.  
    
    Yours, 
    
     ____ |  Christian Holm Christensen 
      |_| |	 -------------------------------------------------------------
        | |	 Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
         _|	          DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
        _|	          Denmark                    Office: (+45) 353  25 305
     ____|	 Email:   cholm@nbi.dk               Web:    www.nbi.dk/~cholm
     | |
    



    This archive was generated by hypermail 2b30 : Fri May 31 2002 - 12:37:59 EDT