ygdan1001 | 1 May 2009 04:52
Favicon

make and compile

Dear sir :
1 . 
libincheng <at> libincheng-desktop:~$ cd emc2-trunk
libincheng <at> libincheng-desktop:~/emc2-trunk$ cd src
libincheng <at> libincheng-desktop:~/emc2-trunk/src$ ./configure --enable-run-in-place
libincheng <at> libincheng-desktop:~/emc2-trunk/src$ make
Makefile:31: Makefile.inc: No such file or directory
Makefile:42: *** Makefile.inc must specify RTPREFIX and other variables。 Stop。
2.
I wrote a kinematics modle(ygdan.c and put it in the directory emcw-trunk/src/emc/kinematics) which
describes my machine, and want to use it instead of trivkins.
Then I compile and install it with comp:

libincheng <at> libincheng-desktop:~$ sudo comp --install ygdan.c
Password:
Traceback (most recent call last):
  File "/usr/bin/comp", line 1191, in ?
    main()
  File "/usr/bin/comp", line 1174, in main
    shutil.copy(f, tempdir)
  File "/usr/lib/python2.4/shutil.py", line 81, in copy
    copyfile(src, dst)
  File "/usr/lib/python2.4/shutil.py", line 47, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: 'ygdan.c'

Thanks for your help!
Regards!
yang

(Continue reading)

Stephen Wille Padnos | 1 May 2009 05:15
Picon
Favicon

Re: make and compile

ygdan1001 wrote:

>Dear sir :
>1 . 
>libincheng <at> libincheng-desktop:~$ cd emc2-trunk
>libincheng <at> libincheng-desktop:~/emc2-trunk$ cd src
>libincheng <at> libincheng-desktop:~/emc2-trunk/src$ ./configure --enable-run-in-place
>libincheng <at> libincheng-desktop:~/emc2-trunk/src$ make
>Makefile:31: Makefile.inc: No such file or directory
>Makefile:42: *** Makefile.inc must specify RTPREFIX and other variables Stop
>  
>
Are you running on a realtime kernel? It looks like you also need to 
specify --enable-simulator when running ./configure.

>2.
>I wrote a kinematics modle(ygdan.c and put it in the directory emcw-trunk/src/emc/kinematics) which
describes my machine, and want to use it instead of trivkins.
>Then I compile and install it with comp:
>
>libincheng <at> libincheng-desktop:~$ sudo comp --install ygdan.c
>Password:
>Traceback (most recent call last):
>  File "/usr/bin/comp", line 1191, in ?
>    main()
>  File "/usr/bin/comp", line 1174, in main
>    shutil.copy(f, tempdir)
>  File "/usr/lib/python2.4/shutil.py", line 81, in copy
>    copyfile(src, dst)
>  File "/usr/lib/python2.4/shutil.py", line 47, in copyfile
(Continue reading)

John Kasunich | 1 May 2009 05:17

Re: make and compile

ygdan1001 wrote:
> Dear sir :
> 1 . 
> libincheng <at> libincheng-desktop:~$ cd emc2-trunk
> libincheng <at> libincheng-desktop:~/emc2-trunk$ cd src
> libincheng <at> libincheng-desktop:~/emc2-trunk/src$ ./configure --enable-run-in-place

Was there no output from this step, or did you fail to include it in
your email?  Configure usually generates a long list of messages.

> libincheng <at> libincheng-desktop:~/emc2-trunk/src$ make
> Makefile:31: Makefile.inc: No such file or directory

It looks like configure did not work - it should have created makefile.inc.

> Makefile:42: *** Makefile.inc must specify RTPREFIX and other variables Stop

This is an error....  you need to fix it.

> 2.
> I wrote a kinematics modle(ygdan.c and put it in the directory emcw-trunk/src/emc/kinematics) which
describes my machine, and want to use it instead of trivkins.

at the end of step 1, make told you to STOP.

It doesn't make sense to write your own module when you haven't
successfully compiled the original code.

> Then I compile and install it with comp:
> 
(Continue reading)

ygdan1001 | 1 May 2009 09:04
Favicon

make

Thanks John and Stephen. 
It's the whole process:

libincheng <at> libincheng-desktop:~$ cd emc2-trunk
libincheng <at> libincheng-desktop:~/emc2-trunk$ cd src
libincheng <at> libincheng-desktop:~/emc2-trunk/src$ ./configure --enable-run-in-plac e
checking installation prefix... /usr/local
checking for RT dir... Using /usr/realtime-2.6.15-magma/bin/rtai-config as the R T signature
checking for location of kernel headers... using value from RTS: /usr/src/linux- headers-2.6.15-magma
checking for cc version... found gcc in rtai-config
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for usability of rdtscll from asm/msr.h... yes
checking for usability of linux/joystick.h... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
(Continue reading)

Rob Jansen | 1 May 2009 09:39
Picon

Re: Touch off / workpiece home coordinate

Tom,

The G53 command results in the following error:

interp_error: Can use only G5.2 or G5.3 after G5.2

Is this a bug? - There is no G5.2 or G5.3, only a G53 and the manual does
not mention any dependencies on G53.

I also read the information on G92 - it sets global offsets and affects all
coordinate systems. That's why I had problems understanding the touch off
...

G53 not working is too bad, but for now I'll use coordinate system 1 (G54)
as absolute system. That still gives me 8 fixtures to define which should be
just enough ;-)

Regards,

Rob

On Thu, Apr 30, 2009 at 9:07 PM, Tom <kestreltom@...> wrote:

> In MDI:
>
>  Move to the machine origin.         G53 G0 X0Y0Z0 (A0B0C0)
>
>  Clear the G92 coordinate offset.    G92.1
>
>  Use the G54 coordinate system.      G54
(Continue reading)

Mark Wendt (Contractor | 1 May 2009 11:44
Picon
Picon
Favicon

Re: Switching to Vesa Driver

At 01:39 PM 4/30/2009, you wrote:
>Mark Wendt (Contractor) wrote:
> >
> >    Did you ever get to play around with the Alpha machines?
>Oh, sure!  We converted over to all Alphas, maybe about 1995?
>
>One big problem we had was the difference in the stack calling frame
>between VAX and Alpha.
>On the VAX, the first word in the frame was the argument count.  Alpha
>got rid of that, and we had TONS of code that had been written for a
>variable number of arguments.  We had to recode a lot of stuff.  Also,
>after the compiler had re-strung the instruction order to optimize the
>load/store sequence, it became a bit hard to know what line of code the
>error happened on.
>
>We never had big Alpha systems, only a variety of desktop-size
>machines.  They were still a lot faster that even mainframe VAXes.
>Well, the Pentium 2, 3 and 4 incorporate some of the CPU technology of
>the Alpha.  They are still held back by the AWFUL accretion of an
>instruction set, though.
>
>Jon

I sysadmin'd a bunch of those behemoth Alpha 8400's.  They really 
were a joy to administer.  DEC did those ones right - we hardly ever 
had any hardware maintenance to worry about.  Clustering was a 
wunnerful thing for system(s) uptime, especially on critical 
production machines.  Too bad they let that all slip away.

You are talking about CISC, right? ;-)
(Continue reading)

Jeff Epler | 1 May 2009 13:31
Favicon

Re: make

On Fri, May 01, 2009 at 03:04:32PM +0800, ygdan1001 wrote:
> checking for glib... configure: error: no -- required until somebody makes modbu s optional

This line.  It means something.

Jeff

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
Chris Radek | 1 May 2009 13:39
Favicon

Re: Touch off / workpiece home coordinate

On Fri, May 01, 2009 at 09:39:07AM +0200, Rob Jansen wrote:
> Tom,
> 
> The G53 command results in the following error:
> 
> interp_error: Can use only G5.2 or G5.3 after G5.2

This was a bug in TRUNK but I fixed it a while back.  What version
are you running?

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
ygdan1001 | 1 May 2009 14:53
Favicon

Re: make


Thanks Jeff.
But what should I do about it ? 

在2009-05-01,"Jeff Epler" jepler <at> unpythonic.net> 写道:
>On Fri, May 01, 2009 at 03:04:32PM +0800, ygdan1001 wrote:
>> checking for glib... configure: error: no -- required until somebody makes modbu s optional
>
>This line.  It means something.
>
>Jeff
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Emc-users mailing list
Emc-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
Jeff Epler | 1 May 2009 14:59
Favicon

Re: make

On Fri, May 01, 2009 at 08:53:37PM +0800, ygdan1001 wrote:
> 
> Thanks Jeff.
> But what should I do about it ? 

Install the required package using your operating system's package
management system.

Jeff

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf

Gmane