help-octave
[Top][All Lists]
Advanced

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

Re: [Fwd: Re: Octave Forge on linux error during compile??]


From: Paul Kienzle
Subject: Re: [Fwd: Re: Octave Forge on linux error during compile??]
Date: Fri, 10 Jun 2005 23:51:50 -0400

It can't find uint32_t.

Try #include <stdint.h> and if that doesn't work, grep for the definition in /usr/include and /usr/include/sys. Let us know.

Thanks,

        - Paul

On Jun 10, 2005, at 1:31 PM, Louis Ciotti wrote:




This has been fixed in the CVS for a long time, and is only particular to 2.9.x tree. So

1) Checkout a new CVS
2) run autogen.sh script
3) ./configure
4) make
5) make install

and it should be fine..

D.

I downloaded the CVS and now I get the following errors:

In file included from rand.cc:32:
randmtzig.c:185: error: syntax error before `*' token
randmtzig.c:186: error: syntax error before `[' token
randmtzig.c:192: error: `uint32_t' was not declared in this scope
randmtzig.c:192: error: syntax error before `)' token
randmtzig.c: In function `void init_by_int(...)':
randmtzig.c:195: error: `state' undeclared (first use this function)
randmtzig.c:195: error: (Each undeclared identifier is reported only once for
  each function it appears in.)
randmtzig.c:195: error: `s' undeclared (first use this function)
randmtzig.c: At global scope:
randmtzig.c:210: error: `uint32_t' was not declared in this scope
randmtzig.c:210: error: syntax error before `[' token
randmtzig.c: In function `void init_by_array(...)':
randmtzig.c:215: error: `key_length' undeclared (first use this function)
randmtzig.c:218: error: `init_key' undeclared (first use this function)
randmtzig.c: In function `void init_by_entropy()':
randmtzig.c:238: error: `uint32_t' undeclared (first use this function)
randmtzig.c:238: error: syntax error before `[' token
randmtzig.c:247: error: `entropy' undeclared (first use this function)
randmtzig.c: At global scope:
randmtzig.c:272: error: `uint32_t' was not declared in this scope
randmtzig.c:272: error: syntax error before `[' token
randmtzig.c: In function `void set_state(...)':
randmtzig.c:275: error: `save' undeclared (first use this function)
randmtzig.c:277: error: `next' undeclared (first use this function)
randmtzig.c: At global scope:
randmtzig.c:280: error: syntax error before `[' token
randmtzig.c: In function `void next_state()':
randmtzig.c:289: error: `p' undeclared (first use this function)
randmtzig.c: At global scope:
randmtzig.c:311: error: syntax error before `(' token
randmtzig.c:316: error: ISO C++ forbids declaration of `y' with no type
randmtzig.c:319: error: syntax error before `^=' token
randmtzig.c:320: error: syntax error before `^=' token
randmtzig.c:321: error: syntax error before `^=' token
randmtzig.c:339: error: syntax error before `(' token
randmtzig.c:342: error: syntax error before `=' token
randmtzig.c:354: error: syntax error before `(' token
randmtzig.c:357: error: syntax error before `=' token
randmtzig.c:369: error: syntax error before `(' token
randmtzig.c:372: error: syntax error before `=' token
randmtzig.c: In function `double randu32()':
randmtzig.c:387: error: `randmt' undeclared (first use this function)
randmtzig.c: In function `double randu53()':
randmtzig.c:394: error: ISO C++ forbids declaration of `uint32_t' with no type
randmtzig.c:394: error: uninitialized const `uint32_t'
randmtzig.c:394: error: syntax error before `=' token
randmtzig.c:395: error: ISO C++ forbids declaration of `uint32_t' with no type
randmtzig.c:395: error: redeclaration of `const int uint32_t'
randmtzig.c:394: error: `const int uint32_t' previously declared here
randmtzig.c:395: error: declaration of `const int uint32_t'
randmtzig.c:394: error: conflicts with previous declaration `const int uint32_t
  '
randmtzig.c:395: error: uninitialized const `uint32_t'
randmtzig.c:395: error: syntax error before `=' token
randmtzig.c:396: error: `a' undeclared (first use this function)
randmtzig.c:396: error: `b' undeclared (first use this function)
randmtzig.c: At global scope:
randmtzig.c:427: error: syntax error before `[' token
randmtzig.c:429: error: syntax error before `[' token
randmtzig.c: In function `void create_ziggurat_tables()':
randmtzig.c:484: error: `ki' undeclared (first use this function)
randmtzig.c:484: error: `uint64_t' undeclared (first use this function)
randmtzig.c:512: error: `ke' undeclared (first use this function)
randmtzig.c: In function `double randn()':
randmtzig.c:576: error: ISO C++ forbids declaration of `uint64_t' with no type
randmtzig.c:576: error: uninitialized const `uint64_t'
randmtzig.c:576: error: syntax error before `=' token
randmtzig.c:577: error: `r' undeclared (first use this function)
randmtzig.c: In function `double rande()':
randmtzig.c:621: error: `uint64_t' undeclared (first use this function)
randmtzig.c:621: error: syntax error before `=' token
randmtzig.c:622: error: `ri' undeclared (first use this function)
randmtzig.c: At global scope:
randmtzig.c:641: error: type specifier omitted for parameter `uint32_t'
randmtzig.c:641: error: syntax error before `*' token
randmtzig.c: In function `void fill_randi32(...)':
randmtzig.c:644: error: `n' undeclared (first use this function)
randmtzig.c: At global scope:
randmtzig.c:647: error: type specifier omitted for parameter `uint64_t'
randmtzig.c:647: error: syntax error before `*' token
randmtzig.c: In function `void fill_randi64(...)':
randmtzig.c:650: error: `randi64' undeclared (first use this function)
rand.cc: In function `octave_value do_seed(octave_value_list)':
rand.cc:48: error: syntax error before `=' token
rand.cc:61: error: syntax error before `[' token
rand.cc:82: error: syntax error before `=' token
rand.cc:93: error: syntax error before `[' token
rand.cc:95: error: syntax error before `(' token
make[1]: *** [rand.oct] Error 1

pcregexp.cc:26:18: pcre.h: No such file or directory
pcregexp.cc: In function `octave_value_list Fpcregexp(const octave_value_list&,
  int)':
pcregexp.cc:50: error: `pcre' undeclared (first use this function)
pcregexp.cc:50: error: (Each undeclared identifier is reported only once for
  each function it appears in.)
pcregexp.cc:50: error: `re' undeclared (first use this function)
pcregexp.cc:53: error: `pcre_compile' undeclared (first use this function) pcregexp.cc:62: error: `PCRE_INFO_CAPTURECOUNT' undeclared (first use this
  function)
pcregexp.cc:62: error: `pcre_fullinfo' undeclared (first use this function)
pcregexp.cc:66: error: `pcre_exec' undeclared (first use this function)
pcregexp.cc:68: error: `PCRE_ERROR_NOMATCH' undeclared (first use this
  function)
pcregexp.cc:71: error: `pcre_free' undeclared (first use this function)
pcregexp.cc:79: error: `pcre_get_substring_list' undeclared (first use this
  function)
pcregexp.cc:81: error: `PCRE_ERROR_NOMEMORY' undeclared (first use this
  function)
pcregexp.cc:103: error: `pcre_free_substring_list' undeclared (first use this
  function)
make[2]: *** [pcregexp.oct] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/home/lciotti/octave-forge/main/strings'
make[1]: *** [strings/] Error 2
Processing main/struct/...
make[2]: Entering directory `/home/lciotti/octave-forge/main/struct'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lciotti/octave-forge/main/struct'
Processing main/symbolic/...
make[2]: Entering directory `/home/lciotti/octave-forge/main/symbolic'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lciotti/octave-forge/main/symbolic'
make[1]: Target `all' not remade because of errors.
make[1]: Leaving directory `/home/lciotti/octave-forge/main'
Processing nonfree/
cd nonfree/ && make -k  2>&1 || \
  echo "nonfree/ not complete. See log for details" >>../build.fail \
| tee -a build.log
make[1]: Entering directory `/home/lciotti/octave-forge/nonfree'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/lciotti/octave-forge/nonfree'
Build finished.
Please read FIXES/README before you install.
FIXES/ not complete. See log for details
main/ not complete. See log for details
make: *** [all] Error 1






-------------------------------------------------------------
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
-------------------------------------------------------------




-------------------------------------------------------------
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]