Build error: 'subsref' undefined near line 41 column 11 (getfield L.41)

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Build error: 'subsref' undefined near line 41 column 11 (getfield L.41)

Philip Nienhuis
Having checked out a fresh tip a few hours ago:
 
[philip@jvc741 octave]$ hg summary
parent: 15762:a5475ba0d199 tip

I get:

:
make[3]: Entering directory `/home/philip/devel/oct370+/doc/interpreter'
../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval "geometryimages ('triplot', 'eps');"

../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval "geometryimages ('griddata', 'eps');"

../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval "geometryimages ('convhull', 'eps');"

../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval "geometryimages ('delaunay', 'eps');"

../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval "geometryimages ('inpolygon', 'eps');"

../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval "interpimages ('interpft', 'eps');"
error: 'subsref' undefined near line 41 column 11
error: called from:
error:   /home/philip/devel/oct370+/../octave/scripts/miscellaneous/getfield.m at line 41, column 9
error:   /home/philip/devel/oct370+/../octave/scripts/plot/private/__go_draw_axes__.m at line 2288, column 5
error: evaluating argument list element number 1
error:   /home/philip/devel/oct370+/../octave/scripts/plot/private/__go_draw_axes__.m at line 566, column 17
error:   /home/philip/devel/oct370+/../octave/scripts/plot/private/__go_draw_figure__.m at line 173, column 19
error:   /home/philip/devel/oct370+/../octave/scripts/plot/__gnuplot_drawnow__.m at line 43, column 9
error:   /home/philip/devel/oct370+/../octave/scripts/plot/private/__gnuplot_print__.m at line 192, column 5
error:   /home/philip/devel/oct370+/../octave/scripts/plot/private/__gnuplot_print__.m at line 176, column 5
error:   /home/philip/devel/oct370+/../octave/scripts/plot/private/__gnuplot_print__.m at line 68, column 7
error:   /home/philip/devel/oct370+/../octave/scripts/plot/print.m at line 415, column 12
error:   /home/philip/devel/octave/doc/interpreter/interpimages.m at line 43, column 5

make[3]: *** [interpft.eps] Error 1
make[3]: Leaving directory `/home/philip/devel/oct370+/doc/interpreter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/philip/devel/oct370+/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/philip/devel/oct370+'
make: *** [all] Error 2

Some days ago I could still build Octave.

Philip
Reply | Threaded
Open this post in threaded view
|

Re: Build error: 'subsref' undefined near line 41 column 11 (getfield L.41)

Júlio Hoffimann
I'm having exactly the same issue. The code for subsref can be found in ov.cc, but the build system is unable to resolve it.

Any help would be great,
Júlio.


2012/12/10 Philip Nienhuis <[hidden email]>
Having checked out a fresh tip a few hours ago:

[philip@jvc741 octave]$ hg summary
parent: 15762:a5475ba0d199 tip

I get:

:
make[3]: Entering directory `/home/philip/devel/oct370+/doc/interpreter'
../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval
"geometryimages ('triplot', 'eps');"

../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval
"geometryimages ('griddata', 'eps');"

../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval
"geometryimages ('convhull', 'eps');"

../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval
"geometryimages ('delaunay', 'eps');"

../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval
"geometryimages ('inpolygon', 'eps');"

../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval
"interpimages ('interpft', 'eps');"
error: 'subsref' undefined near line 41 column 11
error: called from:
error:
/home/philip/devel/oct370+/../octave/scripts/miscellaneous/getfield.m at
line 41, column 9
error:
/home/philip/devel/oct370+/../octave/scripts/plot/private/__go_draw_axes__.m
at line 2288, column 5
error: evaluating argument list element number 1
error:
/home/philip/devel/oct370+/../octave/scripts/plot/private/__go_draw_axes__.m
at line 566, column 17
error:
/home/philip/devel/oct370+/../octave/scripts/plot/private/__go_draw_figure__.m
at line 173, column 19
error:
/home/philip/devel/oct370+/../octave/scripts/plot/__gnuplot_drawnow__.m at
line 43, column 9
error:
/home/philip/devel/oct370+/../octave/scripts/plot/private/__gnuplot_print__.m
at line 192, column 5
error:
/home/philip/devel/oct370+/../octave/scripts/plot/private/__gnuplot_print__.m
at line 176, column 5
error:
/home/philip/devel/oct370+/../octave/scripts/plot/private/__gnuplot_print__.m
at line 68, column 7
error:   /home/philip/devel/oct370+/../octave/scripts/plot/print.m at line
415, column 12
error:   /home/philip/devel/octave/doc/interpreter/interpimages.m at line
43, column 5

make[3]: *** [interpft.eps] Error 1
make[3]: Leaving directory `/home/philip/devel/oct370+/doc/interpreter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/philip/devel/oct370+/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/philip/devel/oct370+'
make: *** [all] Error 2

Some days ago I could still build Octave.

Philip



--
View this message in context: http://octave.1599824.n4.nabble.com/Build-error-subsref-undefined-near-line-41-column-11-getfield-L-41-tp4647727.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Build error: 'subsref' undefined near line 41 column 11 (getfield L.41)

PhilipNienhuis
Júlio Hoffimann wrote:

> I'm having exactly the same issue. The code for subsref can be found in
> ov.cc, but the build system is unable to resolve it.
>
> Any help would be great,
> Júlio.
>
>
> 2012/12/10 Philip Nienhuis <[hidden email]
> <mailto:[hidden email]>>
>
>     Having checked out a fresh tip a few hours ago:
>
>     [philip@jvc741 octave]$ hg summary
>     parent: 15762:a5475ba0d199 tip
>
>     I get:
>
>     :
>     make[3]: Entering directory `/home/philip/devel/oct370+/doc/interpreter'
>     ../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval
>     "geometryimages ('triplot', 'eps');"
>
>     ../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval
>     "geometryimages ('griddata', 'eps');"
>
>     ../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval
>     "geometryimages ('convhull', 'eps');"
>
>     ../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval
>     "geometryimages ('delaunay', 'eps');"
>
>     ../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval
>     "geometryimages ('inpolygon', 'eps');"
>
>     ../../run-octave -f -q -H -p ../../../octave/doc/interpreter --eval
>     "interpimages ('interpft', 'eps');"
>     error: 'subsref' undefined near line 41 column 11
>     error: called from:
>     error:
>     /home/philip/devel/oct370+/../octave/scripts/miscellaneous/getfield.m at
>     line 41, column 9
>     error:
>     /home/philip/devel/oct370+/../octave/scripts/plot/private/__go_draw_axes__.m
>     at line 2288, column 5
>     error: evaluating argument list element number 1
>     error:
>     /home/philip/devel/oct370+/../octave/scripts/plot/private/__go_draw_axes__.m
>     at line 566, column 17
>     error:
>     /home/philip/devel/oct370+/../octave/scripts/plot/private/__go_draw_figure__.m
>     at line 173, column 19
>     error:
>     /home/philip/devel/oct370+/../octave/scripts/plot/__gnuplot_drawnow__.m
>     at
>     line 43, column 9
>     error:
>     /home/philip/devel/oct370+/../octave/scripts/plot/private/__gnuplot_print__.m
>     at line 192, column 5
>     error:
>     /home/philip/devel/oct370+/../octave/scripts/plot/private/__gnuplot_print__.m
>     at line 176, column 5
>     error:
>     /home/philip/devel/oct370+/../octave/scripts/plot/private/__gnuplot_print__.m
>     at line 68, column 7
>     error:   /home/philip/devel/oct370+/../octave/scripts/plot/print.m
>     at line
>     415, column 12
>     error:   /home/philip/devel/octave/doc/interpreter/interpimages.m at
>     line
>     43, column 5
>
>     make[3]: *** [interpft.eps] Error 1
>     make[3]: Leaving directory `/home/philip/devel/oct370+/doc/interpreter'
>     make[2]: *** [all-recursive] Error 1
>     make[2]: Leaving directory `/home/philip/devel/oct370+/doc'
>     make[1]: *** [all-recursive] Error 1
>     make[1]: Leaving directory `/home/philip/devel/oct370+'
>     make: *** [all] Error 2
>
>     Some days ago I could still build Octave.

Continuing the build with "make -i" makes several more errors pop up,
but Octave does get built eventually. Then, "make check" gives 32 FAILS,
about 30 related to undefined subsref & subsasgn; 16 FAILS alone in ov.cc

I had a look in the Mercurial commit log but couldn't discern which
commit gave rise to this issue.

Philip
Reply | Threaded
Open this post in threaded view
|

Re: Build error: 'subsref' undefined near line 41 column 11 (getfield L.41)

John W. Eaton
Administrator
On 10-Dec-2012, Philip Nienhuis wrote:

| Continuing the build with "make -i" makes several more errors pop up,
| but Octave does get built eventually. Then, "make check" gives 32 FAILS,
| about 30 related to undefined subsref & subsasgn; 16 FAILS alone in ov.cc
|
| I had a look in the Mercurial commit log but couldn't discern which
| commit gave rise to this issue.

It's happening because a number of built-in functions are not being
installed in the symbol table.  That is happening because the .df
files in the build are not being constructed properly.  I'm not yet
sure why that is happening.

jwe
Reply | Threaded
Open this post in threaded view
|

Re: Build error: 'subsref' undefined near line 41 column 11 (getfield L.41)

John W. Eaton
Administrator
On 12-Dec-2012, John W. Eaton wrote:

| On 10-Dec-2012, Philip Nienhuis wrote:
|
| | Continuing the build with "make -i" makes several more errors pop up,
| | but Octave does get built eventually. Then, "make check" gives 32 FAILS,
| | about 30 related to undefined subsref & subsasgn; 16 FAILS alone in ov.cc
| |
| | I had a look in the Mercurial commit log but couldn't discern which
| | commit gave rise to this issue.
|
| It's happening because a number of built-in functions are not being
| installed in the symbol table.  That is happening because the .df
| files in the build are not being constructed properly.  I'm not yet
| sure why that is happening.

OK, I found it.  I checked in the following change:

  http://hg.savannah.gnu.org/hgweb/octave/rev/a2a2c241f2d5

jwe
Reply | Threaded
Open this post in threaded view
|

Re: Build error: 'subsref' undefined near line 41 column 11 (getfield L.41)

Michael Godfrey
On 12/12/2012 09:38 AM, John W. Eaton wrote:
> OK, I found it.  I checked in the following change:
>
>    http://hg.savannah.gnu.org/hgweb/octave/rev/a2a2c241f2d5
>
> jwe
Works for me (fc17).

Now only one fail (copyobj), but this is, I think, unrelated to the
problem you just fixed.

Michael
Reply | Threaded
Open this post in threaded view
|

Re: Build error: 'subsref' undefined near line 41 column 11 (getfield L.41)

bpabbott
Administrator
On Dec 12, 2012, at 10:39 AM, Michael D. Godfrey wrote:

> On 12/12/2012 09:38 AM, John W. Eaton wrote:
>
>> OK, I found it.  I checked in the following change:
>>
>>   http://hg.savannah.gnu.org/hgweb/octave/rev/a2a2c241f2d5
>>
>> jwe
>
> Works for me (fc17).
>
> Now only one fail (copyobj), but this is, I think, unrelated to the
> problem you just fixed.
>
> Michael

I agree.  I think the copyobj error is related to the changset below.

        http://hg.savannah.gnu.org/hgweb/octave/rev/1ac3c906990a

But it is a bug in copyobj.m.

Ben

Reply | Threaded
Open this post in threaded view
|

Re: Build error: 'subsref' undefined near line 41 column 11 (getfield L.41)

Júlio Hoffimann
Fixed for me too, compiled out of the box.

Thanks.


2012/12/12 Ben Abbott <[hidden email]>
On Dec 12, 2012, at 10:39 AM, Michael D. Godfrey wrote:

> On 12/12/2012 09:38 AM, John W. Eaton wrote:
>
>> OK, I found it.  I checked in the following change:
>>
>>   http://hg.savannah.gnu.org/hgweb/octave/rev/a2a2c241f2d5
>>
>> jwe
>
> Works for me (fc17).
>
> Now only one fail (copyobj), but this is, I think, unrelated to the
> problem you just fixed.
>
> Michael

I agree.  I think the copyobj error is related to the changset below.

        http://hg.savannah.gnu.org/hgweb/octave/rev/1ac3c906990a

But it is a bug in copyobj.m.

Ben


Reply | Threaded
Open this post in threaded view
|

Re: Build error: 'subsref' undefined near line 41 column 11 (getfield L.41)

bpabbott
Administrator
In reply to this post by bpabbott

On Dec 12, 2012, at 10:56 AM, Ben Abbott wrote:

> On Dec 12, 2012, at 10:39 AM, Michael D. Godfrey wrote:
>
>> On 12/12/2012 09:38 AM, John W. Eaton wrote:
>>
>>> OK, I found it.  I checked in the following change:
>>>
>>>  http://hg.savannah.gnu.org/hgweb/octave/rev/a2a2c241f2d5
>>>
>>> jwe
>>
>> Works for me (fc17).
>>
>> Now only one fail (copyobj), but this is, I think, unrelated to the
>> problem you just fixed.
>>
>> Michael
>
> I agree.  I think the copyobj error is related to the changset below.
>
> http://hg.savannah.gnu.org/hgweb/octave/rev/1ac3c906990a
>
> But it is a bug in copyobj.m.
>
> Ben
>

Should be fixed now.

        http://hg.savannah.gnu.org/hgweb/octave/rev/a1d1386daeed

Ben