Results 1 to 2 of 2

Thread: Error occurs when install Octave 3.4.0 on ubuntu_12.04 (32-bit)

  1. #1
    Join Date
    Jun 2015
    Beans
    8

    Error occurs when install Octave 3.4.0 on ubuntu_12.04 (32-bit)

    Hi,

    I am trying to install Octave 3.4.0 on my laptop, and when I try to do the step "make', the following error always occurs. Anyone can help? Thank you.

    Code:
    In file included from oct-alloc.cc:29:0:oct-alloc.h:32:28: error: expected ')' before 'item_sz'
    oct-alloc.h:39:9: error: expected ';' at end of member declaration
    oct-alloc.h:39:23: error: expected ')' before 'size'
    oct-alloc.h:42:23: error: 'size_t' has not been declared
    oct-alloc.h:57:3: error: 'size_t' does not name a type
    oct-alloc.cc:32:26: error: 'void* octave_allocator::alloc' is not a static member of 'class octave_allocator'
    oct-alloc.cc:32:26: error: 'size_t' was not declared in this scope
    oct-alloc.cc:32:26: note: suggested alternative:
    /usr/include/c++/4.6/i686-linux-gnu/./bits/c++config.h:155:26: note:   'std::size_t'
    oct-alloc.cc:33:1: error: expected ',' or ';' before '{' token
    make[3]: *** [liboctave_la-oct-alloc.lo] Error 1
    make[3]: Leaving directory `/home/janis/TLD/octave-3.4.0/liboctave'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/janis/TLD/octave-3.4.0/liboctave'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/janis/TLD/octave-3.4.0'
    make: *** [all] Error 2

  2. #2
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Error occurs when install Octave 3.4.0 on ubuntu_12.04 (32-bit)

    Closed. Duplicate here.

    Please do not create duplicate threads, it dilutes the community’s efforts to provide support and causes confusion.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •