RE: AMBER: Error in sysdepend.c?

From: Scott Brozell <sbrozell.scripps.edu>
Date: Tue, 19 Dec 2006 11:19:38 -0800

Hi,

The m4 macro processor push-back buffer is too small.
In your config file replace m4 with m4 -B50000

See also
http://amber.scripps.edu/bugfixes/8.0/bugfix.39
or
google
amber m4:xaLeap.rm4:993 pushed back more than 4096 chars

Scott

On Mon, 18 Dec 2006, Shin, John Y CONTRACTOR WRAIR-Wash DC wrote:

> Thanks for the response Dave.
>
> I added "-DSYSV" to the CFLAGS variable in config.h, and that allowed
> compilation to continue quite a bit further until the following error
> was encountered while compiling leap:
>
> -----------------------------------
> gcc -o xaLeap basics.o sysdepend.o stringExtra.o varArray.o getline.o
...
> -lpthread m4 xaLeap.rm4 > XaLeap_wcl
>
> m4:xaLeap.rm4:993 pushed back more than 4096 chars
> define(TABLE_SHELL,XaLeap*$1TableShell.wcClassName: TopLevelShell
> XaLeap*$1TableShell.wcChildren: $1TablePanel
> XaLeap*$1TableShell.wcCallback: XATRegisterShell()
> XaLeap*$1TableShell.wcPopups: findDialog
> XaLeap*$1TableShell.title: XLEaP: $2
> XaLeap*$1TableShell.iconName $2
> XaLeap*$1TableShell.iconPixmap: table1
> XaLeap*$1TableShell.destroyCallback: $3 WcDestroyCB( .*findDialog )
>
> XaLeap*$1TableShell.wcAfterChildren: \
> XASetPopdown( .*findDialog .*$1Find .*findDialog*cancel)
>
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> !! The name of this widget is using in file xaTable.c (XATSaveTable)
> !!
> DIALOG_QUEST_OK_CANCEL(verify_save_none_corect_table,\
> The table is not correct !! \n\
> Do you really want to save the table ? \n,XATReallySaveTable(//),,,Save
> notify, Save,Cancel))
> make[2]: *** [XaLeap_wcl] Error 1
> make[2]: Leaving directory
> '/usr/people/jshin/Amber_Files/amber9/src/leap/src/leap'
> -----------------------------------
>
> -----Original Message-----
> From: owner-amber.scripps.edu [mailto:owner-amber.scripps.edu] On Behalf
> Of David A. Case
> Sent: Friday, December 15, 2006 6:24 PM
> To: amber.scripps.edu
> Subject: Re: AMBER: Error in sysdepend.c?
>
> On Fri, Dec 15, 2006, Shin, John Y CONTRACTOR WRAIR-Wash DC wrote:
>
> >
> > I'm trying to compile Amber 9 on an Octane 2 SGI machine running IRIX
> > 6.5.25f using gcc 4.0.3, binutils 2.17, and g95 0.9. I use the
> > following commands to compile:
> >
> > 1. ./configure g95
>
> The "g95" target in Amber was never tuned for SGI/MIPS compilation. So,
> there may well be incompatibilties. [I know this is pretty well hidden,
> but "configure" does say this: g95 or gfortran compiler (Linux/cygwin
> only) .]
>
> We are only now hearing from people who have sgi/mips machines but don't
> have the sgi compilers. So, there is probably some work to be done.
>
> > sysdepend.c: In function 'SysdependDirectoryList':
> > sysdepend.c:177: warning: passing argument 2 of 'BSDscandir' from
> > incompatible pointer type
> > sysdepend.c:186: error: dereferencing pointer to incomplete type
>
> You will need to add "-DSYSV" to the CFLAGS variable in config.h. More
> may be needed, but this will prevent the compiler from thinking you are
> on a BSD system.
>
> ...good luck...dac
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Dec 20 2006 - 06:07:48 PST
Custom Search