octave-maintainers
[Top][All Lists]
Advanced

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

Re: new build ends with mkfifo related problems in file-ops.cc


From: Ben Abbott
Subject: Re: new build ends with mkfifo related problems in file-ops.cc
Date: Fri, 22 Jan 2010 17:50:22 -0500

On Friday, January 22, 2010, at 04:46PM, "John W. Eaton" <address@hidden> wrote:
>On 22-Jan-2010, Ben Abbott wrote:
>
>| On Friday, January 22, 2010, at 03:36PM, "John W. Eaton" <address@hidden> 
>wrote:
>| >On 22-Jan-2010, John W. Eaton wrote:
>| >
>| >| On 22-Jan-2010, Ben Abbott wrote:
>| >| 
>| >| | dyld: Symbol not found: __ZN9prog_args10rpl_getoptEv
>| >| |   Referenced from: 
>/Users/bpabbott/Development/mercurial/local_clone/src/.libs/liboctinterp-3.3.50+.dylib
>| >| |   Expected in: flat namespace
>| >| 
>| >| This is prog_args::rpl_getopt(), so that looks like another similar
>| >| problem where a gnulib header is #defining getopt to be rpl_getopt and
>| >| it is clobbering our class member function of the same name.  I'll see
>| >| what I can do.
>| >
>| >I've looked at this a little more and I can't see how it is
>| >happening.  As far as I can tell, prog-args.h and prog-args.cc don't
>| >include getopt.h (even indirectly) so I don't see how getopt is being
>| >redefined there.
>| >
>| >Can you try adding -save-temps to the command that compiles
>| >prog-args.cc and send the resulting prog-args.ii file to me?
>| >
>| >jwe
>| >
>| 
>| It is attached.
>
>OK, I see now that I wasn't quite clear on what the problem was.  But
>I think I've figured it out now, and I don't see any really better
>solution than to rename the member functions in the prog_args class.
>I checked in the following change.  Does it fix the problem for you?
>
>  http://hg.savannah.gnu.org/hgweb/octave/rev/a552859b009a  
>
>jwe
>

I think that fixed the problem. Thank! ... now I'm back to one I encountered 
yesterday.

Making all in interpreter
../../run-octave -f -q -H -p . --eval "geometryimages ('voronoi', 'txt');"
error: invalid character `?' (ASCII 206) near line 1, column 1
parse error near line 1 of file 
/Users/bpabbott/Development/mercurial/local_clone/src/.libs/octave

  syntax error

>>> ????
         ^

error: parse error while reading script file 
/Users/bpabbott/Development/mercurial/local_clone/src/.libs/octave
error: source: error sourcing file 
`/Users/bpabbott/Development/mercurial/local_clone/src/.libs/octave'

make[3]: *** [voronoi.txt] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I don't get any more information from the debugger. However, if I only use the 
"-g" flag ...

GNU Octave, version 3.3.50+
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "x86_64-apple-darwin10.2.0".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <address@hidden> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.

error: `pkg' undefined near line 20 column 1
error: called from:
error:   
/Users/bpabbott/Development/mercurial/local_clone/scripts/startup/main-rcfile 
at line 20, column 1

Program exited with code 01.
(gdb) bt
No stack.
(gdb) 





reply via email to

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