sine+scope example not working
Raul Herrera
raul.oscar.herrera at gmail.com
Thu Aug 10 19:24:08 CEST 2006
Great, it works!! Again, thank you very much.
2006/8/9, Roberto Bucher <roberto.bucher at supsi.ch>:
>
> You need the libpthread static library (libpthread.a) and not the dynamic
> one!
> You have to search in your distro the right package which contains this
> static library and install it.
>
> Roberto
>
> On Wednesday 09 August 2006 23:55, Raul Herrera wrote:
> > Hi all.
> > When i try to compile the sci block I get:
> >
> > gcc -static -o ../Untitled rtmain.o Untitledc.o
> > /usr/local/scilab-4.0/libs/scicos.a
> > /usr/local/scilab-4.0/libs/lapack.a /usr/local/scilab-4.0/libs/poly.a
> > /usr/local/scilab-4.0/libs/calelm.a /usr/local/scilab-4.0/libs/blas.a
> > /usr/local/scilab-4.0/libs/lapack.a /usr/realtime/lib/libsciblk.a
> > /usr/realtime/lib/liblxrt.a -lpthread -lm
> > /usr/bin/ld: cannot find -lpthread
> > collect2: ld returned 1 exit status
> > make: *** [../Untitled] Error 1
> >
> > the file libpthread.so is in fact in /usr/lib
> >
> > my relevant dmesg:
> > I-pipe: Domain RTAI registered.
> > RTAI[hal]: <3.3> mounted over IPIPE-NOTHREADS 1.2-00.
> > RTAI[hal]: compiled with gcc version 3.3.1 (Mandrake Linux 9.2
> 3.3.1-2mdk).
> > RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs
> DISPATCHED),
> > ISOL_CPUS_MASK: 0).
> > dcac6500 9ac15d93 RTAI 200
> > RTAI[malloc]: vmalloced extent dcafc000, size 2097152.
> > RTAI[malloc]: loaded (global heap size=2097152 bytes).
> > RTAI[sched_lxrt]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE <with RTAI
> > TASKs>).
> > RTAI[sched_lxrt]: hard timer type/freq = APIC/8332000(Hz); default
> timing
> > mode is periodic; linear ordering of timed lists.
> > RTAI[sched_lxrt]: Linux timer freq = 1000 (Hz), CPU freq = 3201508000
> hz.
> > RTAI[sched_lxrt]: timer setup = 999 ns, resched latency = 2943 ns.
> > RTAI[leds]: loaded.
> > RTAI_SIGNALS: loaded.
> > RTAI[tasklets]: loaded.
> >
> > my relevant lsmod:
> > rtai_tasklets 10372 0
> > rtai_signal 5120 0
> > rtai_leds 2956 0
> > rtai_shm 9472 0
> > rtai_netrpc 21748 0
> > rtai_msg 19968 0
> > rtai_mbx 10752 1 rtai_netrpc
> > rtai_sem 16256 2 rtai_netrpc,rtai_mbx
> > rtai_fifos 26828 0
> > rtai_up 76824 8
> >
> rtai_tasklets,rtai_signal,rtai_shm,rtai_netrpc,rtai_msg,rtai_mbx,rtai_sem,r
> >tai_fifos rtai_hal 62816 9
> >
> rtai_tasklets,rtai_signal,rtai_shm,rtai_netrpc,rtai_msg,rtai_mbx,rtai_sem,r
> >tai_fifos,rtai_up
> >
> > my PATH:
> >
> /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
> >:/usr/realtime/bin
> >
> > my /etc/ld.so.conf:
> > include /etc/ld.so.conf.d/*.conf
> > /usr/X11R6/lib
> > /usr/lib/qt3/lib
> > /usr/local/lib
> > /usr/lib
> > /usr/realtime/lib
> >
> > why is this happening? solution?
> > Thank you very much in advance.
>
> --
> University of Applied Sciences of Southern Switzerland
> Dept. Innovative Technologies
> CH-6928 Lugano-Manno
> http://www.dti.supsi.ch/~bucher
>
> _______________________________________________
> RTAI mailing list
> RTAI at rtai.org
> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.rtai.org/pipermail/rtai/attachments/20060810/f1d6b80c/attachment.htm
More information about the Rtai
mailing list