help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change to parse.y


From: Per Persson
Subject: Re: Change to parse.y
Date: Sun, 15 Feb 2004 01:13:53 +0100


On Feb 13, 2004, at 22:33, John W. Eaton wrote:

The NEWS file for bison shows that %name-prefix was added in version
1.31 released 2002-01-14.

I modified the message in the top-level Makefile.


This is getting a bit strange.

I've had some trouble picking a bison that a) compiles properly on OS X and b) generates code that will compile.
Finally stayed with v1.75.

Everything goes well until linking liboctinterp.dylib:

g++ -dynamiclib -single_module -L/opt/local/lib -o liboctinterp.dylib Cell.o c-file-ptr-stream.o comment-list.o cutils.o data.o debug.o defaults.o defun.o dirfns.o dynamic-ld.o error.o file-io.o fn-cache.o gripes.o help.o input.o lex.o load-save.o ls-hdf5.o ls-mat-ascii.o ls-mat4.o ls-mat5.o ls-oct-ascii.o ls-oct-binary.o ls-utils.o main.o mappers.o matherr.o oct-fstrm.o oct-hist.o oct-iostrm.o oct-map.o oct-obj.o oct-prcstrm.o oct-procbuf.o oct-stdstrm.o oct-stream.o oct-strstrm.o oct-lvalue.o pager.o parse.o pr-output.o procstream.o sighandlers.o siglist.o strcasecmp.o strncase.o strfns.o symtab.o syscalls.o sysdep.o token.o toplev.o unwind-prot.o utils.o variables.o xdiv.o xpow.o ov-base.o ov-base-mat.o ov-base-scalar.o ov-ch-mat.o ov-cs-list.o ov-list.o ov-re-mat.o ov-cx-mat.o ov-range.o ov-scalar.o ov-complex.o ov-str-mat.o ov-streamoff.o ov-struct.o ov-va-args.o ov-colon.o ov-bool-mat.o ov-bool.o ov-file.o ov-cell.o ov.o ov-fcn.o ov-builtin.o ov-dld-fcn.o ov-mapper.o ov-usr-fcn.o ov-fcn-handle.o ov-typeinfo.o pt.o pt-arg-list.o pt-assign.o pt-bp.o pt-binop.o pt-cell.o pt-check.o pt-cmd.o pt-colon.o pt-const.o pt-decl.o pt-except.o pt-exp.o pt-fcn-handle.o pt-id.o pt-idx.o pt-jump.o pt-loop.o pt-mat.o pt-misc.o pt-plot.o pt-pr-code.o pt-select.o pt-stmt.o pt-unop.o op-b-b.o op-b-bm.o op-bm-b.o op-bm-bm.o op-cell.o op-chm.o op-cm-cm.o op-cm-cs.o op-cm-m.o op-cm-s.o op-cs-cm.o op-cs-cs.o op-cs-m.o op-cs-s.o op-fil-b.o op-fil-bm.o op-fil-cm.o op-fil-cs.o op-fil-m.o op-fil-s.o op-fil-lis.o op-fil-rec.o op-fil-str.o op-list.o op-m-cm.o op-m-cs.o op-m-m.o op-m-s.o op-range.o op-s-cm.o op-s-cs.o op-s-m.o op-s-s.o op-str-m.o op-str-s.o op-str-str.o op-streamoff.o op-fcn-handle.o Array-oc.o Array-os.o Array-sym.o Array-tc.o octave.o builtins.o ops.o ../libcruft/blas-xtra/xerbla.o -L../liboctave -loctave -L../libcruft -lcruft -lg2c
ld: warning multiple definitions of symbol _xerbla_
../libcruft/blas-xtra/xerbla.o definition of _xerbla_ in section (__TEXT,__text)
../libcruft/libcruft.dylib(single module) definition of _xerbla_
ld: warning multiple definitions of symbol _round
../liboctave/liboctave.dylib(single module) definition of _round
/usr/lib/libSystem.dylib(rndint.o) definition of _round
ld: Undefined symbols:
_octave_wrap
/usr/bin/libtool: internal link edit command failed

[00:45:53] per src$ grep -r octave_wrap *
lex.cc:#define yywrap octave_wrap
Binary file lex.o matches
Binary file liboctinterp.a matches

problem is that _octave_wrap is undefined in lex.o (where I suppose it meant live)

Any clues???

/Per



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]