Hey Bruce,

Just gave it a try... The main tarball built just fine, but when I
included the libopts tearoff in my code I got a compile error under OS
X:

  gcc -DHAVE_CONFIG_H -I. -I../src -I.. -g -O2 -Wall -O2
-funroll-loops -std=gnu99 -MT libopts_la-libopts.lo -MD -MP -MF
.deps/libopts_la-libopts.Tpo -c libopts.c  -fno-common -DPIC -o
.libs/libopts_la-libopts.o
In file included from libopts.c:16:
load.c: In function `optionMakePath':
load.c:136: error: parse error before "PKGDATADIR"
make[1]: *** [libopts_la-libopts.lo] Error 1
make: *** [all-recursive] Error 1

It's actually a little miss-leading, the problem is that PKGDATADIR
isn't defined.

I took a quick look at include.test and it hurt my poor little brain.
Maybe if I wasn't paying so much attention to the superbowl pre-game
show it would of made sense.  Anyways, I just tweaked my
code/makefiles back they way they were before the pre -L hack and
built w/o the tearoff and things seemed to work just fine.

-- 
Aaron Turner
http://synfin.net/
http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix


On 2/3/07, Bruce Korb <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> 5.8.8 had two problems that weren't found until now:
> * an introduced sizeof(int) != sizeof(size_t) issue
> * a regression in the library numbering
>
> >From basically day 1 the issue of #including from
> #included files was not as fully considered as it
> could have been.
>
> So, for all these reasons, I've patched together a prerelease.
>
>   http://autogen.sourceforge.net/data/autogen-5.9pre1.tar.gz
>
> I've bumped the minor number because there is a little bit
> of an interface change.  viz., the search sequence for files
> included by an included file.  Originally, it was the current
> dir followed by all the "-L" options.  For secondarily included
> files, this will now also include the directory containing
> the "referring file", after the current directory and before
> the list of "-L" options.
>
> I also made another change to libopts (so it is now:
> OPTIONS_VERSION_STRING  "28:0:3"):  In addition to prefixing
> file names with "$ENVVAR" and "$$", "$@" will now mean the
> libopts' pkgdatadir.  (Unless you incorporate it into your own
> project.  Then it means your project's pkgdatadir.)
>
> Please let me know if you have any issues.  It will likely
> be a couple of weeks at least before I get to an official
> release.
>
> Thanks - Bruce
>
> (P.S. Aaron - please look at agen5/test/include.test and see
>       if what you see addresses your needs.)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to