[#13775] Problems with racc rule definitions — Michael Neumann <neumann@...>

15 messages 2001/04/17
[#13795] Re: Problems with racc rule definitions — Minero Aoki <aamine@...> 2001/04/18

Hi,

[#13940] From Guido, with love... — Dave Thomas <Dave@...>

52 messages 2001/04/20

[#13953] regexp — James Ponder <james@...>

Hi, I'm new to ruby and am coming from a perl background - therefore I

19 messages 2001/04/21

[#14033] Distributed Ruby and heterogeneous networks — harryo@... (Harry Ohlsen)

I wrote my first small distributed application yesterday and it worked

15 messages 2001/04/22

[#14040] RCR: getClassFromString method — ptkwt@...1.aracnet.com (Phil Tomson)

It would be nice to have a function that returns a class type given a

20 messages 2001/04/22

[#14130] Re: Ruby mascot proposal — "Conrad Schneiker" <schneik@...>

Guy N. Hurst wrote:

21 messages 2001/04/24
[#14148] Re: Ruby mascot proposal — Stephen White <spwhite@...> 2001/04/24

On Tue, 24 Apr 2001, Conrad Schneiker wrote:

[#14188] Re: Ruby mascot proposal — matz@... (Yukihiro Matsumoto) 2001/04/25

Hi,

[#14193] Re: Ruby mascot proposal — "W. Kent Starr" <elderburn@...> 2001/04/25

On Tuesday 24 April 2001 23:02, Yukihiro Matsumoto wrote:

[#14138] Re: python on the smalltalk VM — Conrad Schneiker <schneik@...>

FYI: Thought this might be of interest to the JRuby and Ruby/GUI folks.

27 messages 2001/04/24
[#14153] Re: python on the smalltalk VM — Andrew Kuchling <akuchlin@...> 2001/04/24

Conrad Schneiker <schneik@austin.ibm.com> writes:

[#14154] array#flatten! question — Jim Freeze <jim@...> 2001/04/24

Hello.

[#14159] Can I insert into an array — Jim Freeze <jim@...> 2001/04/24

Ok, this may be a dumb question, but, is it possible to insert into an

[#14162] Re: Can I insert into an array — Dave Thomas <Dave@...> 2001/04/24

Jim Freeze <jim@freeze.org> writes:

[#14289] RCR: Array#insert — Shugo Maeda <shugo@...> 2001/04/27

At Wed, 25 Apr 2001 01:28:36 +0900,

[#14221] An or in an if. — Tim Pettman <tjp@...>

Hi there,

18 messages 2001/04/25

[#14267] Re: Ruby mascot proposal — "Conrad Schneiker" <schneik@...>

Danny van Bruggen,

16 messages 2001/04/26

[#14452] How to do it the Ruby-way 3 — Stefan Matthias Aust <sma@3plus4.de>

First a question: Why is

21 messages 2001/04/30

[ruby-talk:13635] Re: narray and undefined symbol

From: "Ram Kochhar" <r.kochhar01@...>
Date: 2001-04-13 04:33:46 UTC
List: ruby-talk #13635
Hi,
   Sorry for the delay because of computer problem.  Here is the process
that I went through.

Ram Kochhar


linux version 2.2.15-4dmk

ruby 1.6.1 (2000-09-27) [i586-linux-gnu]

gcc version 2.95.3 (pre release)



> ruby extconf.rb

-------------------------------------

checking for main() in -lm... yes

checking for sincos()... yes

checking for asinh()... yes

checking for fftw.h... no

creating Makefile



> make

-----------------------------------------

gcc -fPIC -O3 -fomit-frame-pointer -pipe -s -march=pentium -ffast-math

-fexpensi

ve-optimizations  -I/usr/lib/ruby/1.6/i586-linux-gnu -I/usr/include

-DHAVE_SINCO

S -DHAVE_ASINH  -c -o narray.o narray.c

In file included from narray.c:10:

narray.h:11: warning: redefinition of `u_int8_t'

/usr/include/sys/types.h:176: warning: `u_int8_t' previously declared

here

narray.h:12: warning: redefinition of `int16_t'

/usr/include/sys/types.h:171: warning: `int16_t' previously declared

here

narray.h:13: warning: redefinition of `int32_t'

/usr/include/sys/types.h:172: warning: `int32_t' previously declared

here

gcc -fPIC -O3 -fomit-frame-pointer -pipe -s -march=pentium -ffast-math

-fexpensi

ve-optimizations  -I/usr/lib/ruby/1.6/i586-linux-gnu -I/usr/include

-DHAVE_SINCO

S -DHAVE_ASINH  -c -o na_array.o na_array.c

In file included from na_array.c:7:

narray.h:11: warning: redefinition of `u_int8_t'

/usr/include/sys/types.h:176: warning: `u_int8_t' previously declared

here

narray.h:12: warning: redefinition of `int16_t'

/usr/include/sys/types.h:171: warning: `int16_t' previously declared

here

narray.h:13: warning: redefinition of `int32_t'

/usr/include/sys/types.h:172: warning: `int32_t' previously declared

here

gcc -fPIC -O3 -fomit-frame-pointer -pipe -s -march=pentium -ffast-math

-fexpensi

ve-optimizations  -I/usr/lib/ruby/1.6/i586-linux-gnu -I/usr/include

-DHAVE_SINCO

S -DHAVE_ASINH  -c -o na_func.o na_func.c

In file included from na_func.c:7:

narray.h:11: warning: redefinition of `u_int8_t'

/usr/include/sys/types.h:176: warning: `u_int8_t' previously declared

here

narray.h:12: warning: redefinition of `int16_t'

/usr/include/sys/types.h:171: warning: `int16_t' previously declared

here

narray.h:13: warning: redefinition of `int32_t'

/usr/include/sys/types.h:172: warning: `int32_t' previously declared

here

gcc -fPIC -O3 -fomit-frame-pointer -pipe -s -march=pentium -ffast-math

-fexpensi

ve-optimizations  -I/usr/lib/ruby/1.6/i586-linux-gnu -I/usr/include

-DHAVE_SINCO

S -DHAVE_ASINH  -c -o na_index.o na_index.c

In file included from na_index.c:7:

narray.h:11: warning: redefinition of `u_int8_t'

/usr/include/sys/types.h:176: warning: `u_int8_t' previously declared

here

narray.h:12: warning: redefinition of `int16_t'

/usr/include/sys/types.h:171: warning: `int16_t' previously declared

here

narray.h:13: warning: redefinition of `int32_t'

/usr/include/sys/types.h:172: warning: `int32_t' previously declared

here

gcc -fPIC -O3 -fomit-frame-pointer -pipe -s -march=pentium -ffast-math

-fexpensi

ve-optimizations  -I/usr/lib/ruby/1.6/i586-linux-gnu -I/usr/include

-DHAVE_SINCO

S -DHAVE_ASINH  -c -o na_math.o na_math.c

In file included from na_math.c:8:

narray.h:11: warning: redefinition of `u_int8_t'

/usr/include/sys/types.h:176: warning: `u_int8_t' previously declared

here

narray.h:12: warning: redefinition of `int16_t'

/usr/include/sys/types.h:171: warning: `int16_t' previously declared

here

narray.h:13: warning: redefinition of `int32_t'

/usr/include/sys/types.h:172: warning: `int32_t' previously declared

here

gcc -fPIC -O3 -fomit-frame-pointer -pipe -s -march=pentium -ffast-math

-fexpenve-optimizations  -I/usr/lib/ruby/1.6/i586-linux-gnu

-I/usr/include -DHAVE_SINS -DHAVE_ASINH  -c -o na_linalg.o na_linalg.c

In file included from na_linalg.c:7:

narray.h:11: warning: redefinition of `u_int8_t'

/usr/include/sys/types.h:176: warning: `u_int8_t' previously declared

here

narray.h:12: warning: redefinition of `int16_t'

/usr/include/sys/types.h:171: warning: `int16_t' previously declared

here

narray.h:13: warning: redefinition of `int32_t'

/usr/include/sys/types.h:172: warning: `int32_t' previously declared

here

gcc -shared   -o narray.so narray.o na_array.o na_func.o na_index.o

na_op.o naath.o na_linalg.o -lm -lc



> make install



> ruby testcomplex.rb

----------------------------------

testcomplex.rb:1:in `require':

/usr/lib/ruby/1.6/i586-linux-gnu/narray.so: undefined symbol: MinFuncs -

/usr/lib/ruby/1.6/i586-linux-gnu/narray.so

(LoadError)






----- Original Message -----
From: <masa@stars.gsfc.nasa.gov>
To: "ruby-talk ML" <ruby-talk@ruby-lang.org>
Sent: Friday, April 06, 2001 10:53 AM
Subject: [ruby-talk:13539] Re: narray and undefined symbol


> Hi,
>
> >From: "Ram Kochhar" <r.kochhar01@worldnet.att.net>
> >Subject: [ruby-talk:13522] narray and undefined symbol
>
> > I am new to ruby.  I compiled narray on linux box (Mandrake 7.1).  When
I
> > try to run a test case I get the
> > error that symbol MinFunc is undefined.  I will appreciate any help.
> > Thanks.
>
> Please describe how did you compile NArray and install it.
> Copy-and-pasted error messages are useful.
>
> Masa Tanaka

In This Thread