Re: [Machinekit] how to compile source in machinekit
Thank for your answer. > Because you have changed one but not the other. > You have 2 different machinekit installations, one in the binary file > system and another, *which you built*, in your home directory. > > If you want to test your new *kins, run the one which contains it, in your > home dir, from a terminal. > i have a problem that I cant find the executable file of new kins after built it. > > I won't even try to explain how to add your new module to the binary file > system, there is no need to do it. > > The whole point about a RIP build is that it is self contained and you can > experiment without messing up the main installation. > > > >> Either that or copy the new module to your binary install and run >> ldconfig manually and check it is in the cache >> > > i dont know where is the new module, binary place? how to check it in > cache by ldconfig? > > thank you for your help very much. > >> >> rpath=/usr/lib/linuxcnc/xenomai >> See /var/log/linuxcnc.log for more information. >> 10047 >> PID TTY STAT TIME COMMAND >> Stopping realtime threads >> Unloading hal components >> >> i'm using BBB and machinekit. sorry for my trash English. >> >> Vào 15:41:12 UTC+7 Thứ Hai, ngày 14 tháng 8 năm 2017, Schooner đã viết: >>> >>> Going to need a lot more info than that and to see the source. >>> >>> You basically need to know how to write Makefiles, to alter the existing >>> ones to build your stuff too, assuming it is compatible. >>> >>> On 14/08/17 03:39, thangle wrote: >>> >>> Hi, >>> >>> Does anyone know how to compile a new source? example, i coppy a new C >>> project from an old project in machinekit src and rename, what should i do >>> to make it work. please help me. tks >>> -- >>> website: http://www.machinekit.io blog: http://blog.machinekit.io >>> github: https://github.com/machinekit >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Machinekit" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to machinekit+...@googlegroups.com. >>> Visit this group at https://groups.google.com/group/machinekit. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> -- >> website: http://www.machinekit.io blog: http://blog.machinekit.io >> github: https://github.com/machinekit >> --- >> You received this message because you are subscribed to the Google Groups >> "Machinekit" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to machinekit+...@googlegroups.com. >> Visit this group at https://groups.google.com/group/machinekit. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- > website: http://www.machinekit.io blog: http://blog.machinekit.io github: > https://github.com/machinekit > --- > You received this message because you are subscribed to the Google Groups > "Machinekit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to machinekit+...@googlegroups.com . > Visit this group at https://groups.google.com/group/machinekit. > For more options, visit https://groups.google.com/d/optout. > > > -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
Re: [Machinekit] how to compile source in machinekit
On 15/08/17 03:29, thangle wrote: The module appears to have built from your printout, but you also look to be building a RIP and then executing a binary installation Look at the rpath i dont know what exactly i should do? You need to build the RIP, set the current terminal session environment using . ./scripts/rip-environment from the root of the RIP and then launch machinekit from that terminal session. when i launch machinekit from terminal, the CRAMPS worked. but when i launch machinekit from the one (in the screenshot) it's bugged. why are they difference? Because you have changed one but not the other. You have 2 different machinekit installations, one in the binary file system and another, which you built, in your home directory. If you want to test your new *kins, run the one which contains it, in your home dir, from a terminal. I won't even try to explain how to add your new module to the binary file system, there is no need to do it. The whole point about a RIP build is that it is self contained and you can experiment without messing up the main installation. Either that or copy the new module to your binary install and run ldconfig manually and check it is in the cache i dont know where is the new module, binary place? how to check it in cache by ldconfig? thank you for your help very much. rpath=/usr/lib/linuxcnc/xenomai See /var/log/linuxcnc.log for more information. 10047 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components i'm using BBB and machinekit. sorry for my trash English. Vào 15:41:12 UTC+7 Thứ Hai, ngày 14 tháng 8 năm 2017, Schooner đã viết: Going to need a lot more info than that and to see the source. You basically need to know how to write Makefiles, to alter the existing ones to build your stuff too, assuming it is compatible. On 14/08/17 03:39, thangle wrote: Hi, Does anyone know how to compile a new source? example, i coppy a new C project from an old project in machinekit src and rename, what should i do to make it work. please help me. tks -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout. -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
Re: [Machinekit] how to compile source in machinekit
> > The module appears to have built from your printout, but you also look to > be building a RIP and then executing a binary installation > Look at the rpath > i dont know what exactly i should do? > You need to build the RIP, set the current terminal session environment > using . ./scripts/rip-environment from the root of the RIP > and then launch machinekit from *that *terminal session. > when i launch machinekit from terminal, the CRAMPS worked. but when i launch machinekit from the one (in the screenshot) it's bugged. why are they difference? > Either that or copy the new module to your binary install and run ldconfig > manually and check it is in the cache > i dont know where is the new module, binary place? how to check it in cache by ldconfig? thank you for your help very much. > > rpath=/usr/lib/linuxcnc/xenomai > See /var/log/linuxcnc.log for more information. > 10047 > PID TTY STAT TIME COMMAND > Stopping realtime threads > Unloading hal components > > i'm using BBB and machinekit. sorry for my trash English. > > Vào 15:41:12 UTC+7 Thứ Hai, ngày 14 tháng 8 năm 2017, Schooner đã viết: >> >> Going to need a lot more info than that and to see the source. >> >> You basically need to know how to write Makefiles, to alter the existing >> ones to build your stuff too, assuming it is compatible. >> >> On 14/08/17 03:39, thangle wrote: >> >> Hi, >> >> Does anyone know how to compile a new source? example, i coppy a new C >> project from an old project in machinekit src and rename, what should i do >> to make it work. please help me. tks >> -- >> website: http://www.machinekit.io blog: http://blog.machinekit.io >> github: https://github.com/machinekit >> --- >> You received this message because you are subscribed to the Google Groups >> "Machinekit" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to machinekit+...@googlegroups.com. >> Visit this group at https://groups.google.com/group/machinekit. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- > website: http://www.machinekit.io blog: http://blog.machinekit.io github: > https://github.com/machinekit > --- > You received this message because you are subscribed to the Google Groups > "Machinekit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to machinekit+...@googlegroups.com . > Visit this group at https://groups.google.com/group/machinekit. > For more options, visit https://groups.google.com/d/optout. > > > -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
Re: [Machinekit] how to compile source in machinekit
it's really weird, when i run CRAMPS in machinekit by command line terminal, it's work good. But when i run it from the Machinekit CNC Machine Controller it 's bug. I dont know if my new built work. Vào 23:42:08 UTC+7 Thứ Hai, ngày 14 tháng 8 năm 2017, Schooner đã viết: > > > On 14/08/17 17:02, thangle wrote: > > sorry, here is my makefile. i just add > > obj-m += trivkinstest.o > trivkinstest-objs := emc/kinematics/trivkinstest.o > $(RTLIBDIR)/trivkinstest$(MODULE_EXT): $(addprefix > $(OBJDIR)/,$(trivkinstest-objs)) > > can you give more details how should i do to build a RIP > > > You are already doing it > > > *- 3rd: use terminal go to /home/machinekit/machinekit/src and "make" then > type command "sudo make setuid" *You need to run what you built, not what > is installed, as per my previous reply > > or run idconfig mannually. Sorry, i 'm a new in linux and BBB, trying to > learn them > > > man ldconfig (starts with an L, not an i ) > > > > > Vào 22:39:17 UTC+7 Thứ Hai, ngày 14 tháng 8 năm 2017, Schooner đã viết: >> >> >> On 14/08/17 16:22, thangle wrote: >> >> Here is what i did: >> >> - 1st: i make a coppy trivkins.c then rename it become trivkinstest.c >> and changing line 88 to: static const char *name = "trivkinstest"; >> >> - 2nd: i follow this >> >> https://groups.google.com/forum/#!msg/machinekit/yrBnTxQL7_E/IrPHxKn3BQAJ;context-place=forum/machinekit >> >> >> I wrote that, so I am familiar with it >> >> + i pass Submakefile >> + just change something in Makefile >> >> >> 'just change something in makefile' is not information >> >> - 3rd: use terminal go to /home/machinekit/machinekit/src and "make" >> then type command "sudo make setuid" >> >> - 4th: i try to test if trivkinstest work. i open CRAMPS.hal, change >>loadrt trivkins -->loadrt trivkinstest >>loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD >> num_joints=[TRAJ]AXES tp=tp kins=trivkins--->trivkinstest >> >> - finally: i try run CRAMPS but it's bugged >> Debug file information: >> stat: No such file or directory >> CRAMPS.hal:18: insmod failed, returned -1: >> do_load_cmd: dlopen: trivkinstest.so: cannot open shared object >> file: No such file or directory >> >> >> The module appears to have built from your printout, but you also look to >> be building a RIP and then executing a binary installation >> Look at the rpath >> >> You need to build the RIP, set the current terminal session environment >> using . ./scripts/rip-environment from the root of the RIP >> and then launch machinekit from *that *terminal session >> >> Either that or copy the new module to your binary install and run >> ldconfig manually and check it is in the cache >> >> rpath=/usr/lib/linuxcnc/xenomai >> See /var/log/linuxcnc.log for more information. >> 10047 >> PID TTY STAT TIME COMMAND >> Stopping realtime threads >> Unloading hal components >> >> i'm using BBB and machinekit. sorry for my trash English. >> >> Vào 15:41:12 UTC+7 Thứ Hai, ngày 14 tháng 8 năm 2017, Schooner đã viết: >>> >>> Going to need a lot more info than that and to see the source. >>> >>> You basically need to know how to write Makefiles, to alter the existing >>> ones to build your stuff too, assuming it is compatible. >>> >>> On 14/08/17 03:39, thangle wrote: >>> >>> Hi, >>> >>> Does anyone know how to compile a new source? example, i coppy a new C >>> project from an old project in machinekit src and rename, what should i do >>> to make it work. please help me. tks >>> -- >>> website: http://www.machinekit.io blog: http://blog.machinekit.io >>> github: https://github.com/machinekit >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Machinekit" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to machinekit+...@googlegroups.com. >>> Visit this group at https://groups.google.com/group/machinekit. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> -- >> website: http://www.machinekit.io blog: http://blog.machinekit.io >> github: https://github.com/machinekit >> --- >> You received this message because you are subscribed to the Google Groups >> "Machinekit" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to machinekit+...@googlegroups.com. >> Visit this group at https://groups.google.com/group/machinekit. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- > website: http://www.machinekit.io blog: http://blog.machinekit.io github: > https://github.com/machinekit > --- > You received this message because you are subscribed to the Google Groups > "Machinekit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to machinekit+...@googlegroups.com . > Visit this group at
Re: [Machinekit] how to compile source in machinekit
On 14/08/17 17:02, thangle wrote: sorry, here is my makefile. i just add obj-m += trivkinstest.o trivkinstest-objs := emc/kinematics/trivkinstest.o $(RTLIBDIR)/trivkinstest$(MODULE_EXT): $(addprefix $(OBJDIR)/,$(trivkinstest-objs)) can you give more details how should i do to build a RIP You are already doing it - 3rd: use terminal go to /home/machinekit/machinekit/src and "make" then type command "sudo make setuid" You need to run what you built, not what is installed, as per my previous reply or run idconfig mannually. Sorry, i 'm a new in linux and BBB, trying to learn them man ldconfig (starts with an L, not an i ) Vào 22:39:17 UTC+7 Thứ Hai, ngày 14 tháng 8 năm 2017, Schooner đã viết: On 14/08/17 16:22, thangle wrote: Here is what i did: - 1st: i make a coppy trivkins.c then rename it become trivkinstest.c and changing line 88 to: static const char *name = "trivkinstest"; - 2nd: i follow this https://groups.google.com/forum/#!msg/machinekit/yrBnTxQL7_E/IrPHxKn3BQAJ;context-place=forum/machinekit I wrote that, so I am familiar with it + i pass Submakefile + just change something in Makefile 'just change something in makefile' is not information - 3rd: use terminal go to /home/machinekit/machinekit/src and "make" then type command "sudo make setuid" - 4th: i try to test if trivkinstest work. i open CRAMPS.hal, change loadrt trivkins -->loadrt trivkinstest loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES tp=tp kins=trivkins--->trivkinstest - finally: i try run CRAMPS but it's bugged Debug file information: stat: No such file or directory CRAMPS.hal:18: insmod failed, returned -1: do_load_cmd: dlopen: trivkinstest.so: cannot open shared object file: No such file or directory The module appears to have built from your printout, but you also look to be building a RIP and then executing a binary installation Look at the rpath You need to build the RIP, set the current terminal session environment using . ./scripts/rip-environment from the root of the RIP and then launch machinekit from that terminal session Either that or copy the new module to your binary install and run ldconfig manually and check it is in the cache rpath=/usr/lib/linuxcnc/xenomai See /var/log/linuxcnc.log for more information. 10047 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components i'm using BBB and machinekit. sorry for my trash English. Vào 15:41:12 UTC+7 Thứ Hai, ngày 14 tháng 8 năm 2017, Schooner đã viết: Going to need a lot more info than that and to see the source. You basically need to know how to write Makefiles, to alter the existing ones to build
Re: [Machinekit] how to compile source in machinekit
sorry, here is my makefile. i just add obj-m += trivkinstest.o trivkinstest-objs := emc/kinematics/trivkinstest.o $(RTLIBDIR)/trivkinstest$(MODULE_EXT): $(addprefix $(OBJDIR)/,$(trivkinstest-objs)) can you give more details how should i do to build a RIP or run idconfig mannually. Sorry, i 'm a new in linux and BBB, trying to learn them Vào 22:39:17 UTC+7 Thứ Hai, ngày 14 tháng 8 năm 2017, Schooner đã viết: > > > On 14/08/17 16:22, thangle wrote: > > Here is what i did: > > - 1st: i make a coppy trivkins.c then rename it become trivkinstest.c > and changing line 88 to: static const char *name = "trivkinstest"; > > - 2nd: i follow this > > https://groups.google.com/forum/#!msg/machinekit/yrBnTxQL7_E/IrPHxKn3BQAJ;context-place=forum/machinekit > > > I wrote that, so I am familiar with it > > + i pass Submakefile > + just change something in Makefile > > > 'just change something in makefile' is not information > > - 3rd: use terminal go to /home/machinekit/machinekit/src and "make" > then type command "sudo make setuid" > > - 4th: i try to test if trivkinstest work. i open CRAMPS.hal, change >loadrt trivkins -->loadrt trivkinstest >loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD > num_joints=[TRAJ]AXES tp=tp kins=trivkins--->trivkinstest > > - finally: i try run CRAMPS but it's bugged > Debug file information: > stat: No such file or directory > CRAMPS.hal:18: insmod failed, returned -1: > do_load_cmd: dlopen: trivkinstest.so: cannot open shared object file: > No such file or directory > > > The module appears to have built from your printout, but you also look to > be building a RIP and then executing a binary installation > Look at the rpath > > You need to build the RIP, set the current terminal session environment > using . ./scripts/rip-environment from the root of the RIP > and then launch machinekit from *that *terminal session > > Either that or copy the new module to your binary install and run ldconfig > manually and check it is in the cache > > rpath=/usr/lib/linuxcnc/xenomai > See /var/log/linuxcnc.log for more information. > 10047 > PID TTY STAT TIME COMMAND > Stopping realtime threads > Unloading hal components > > i'm using BBB and machinekit. sorry for my trash English. > > Vào 15:41:12 UTC+7 Thứ Hai, ngày 14 tháng 8 năm 2017, Schooner đã viết: >> >> Going to need a lot more info than that and to see the source. >> >> You basically need to know how to write Makefiles, to alter the existing >> ones to build your stuff too, assuming it is compatible. >> >> On 14/08/17 03:39, thangle wrote: >> >> Hi, >> >> Does anyone know how to compile a new source? example, i coppy a new C >> project from an old project in machinekit src and rename, what should i do >> to make it work. please help me. tks >> -- >> website: http://www.machinekit.io blog: http://blog.machinekit.io >> github: https://github.com/machinekit >> --- >> You received this message because you are subscribed to the Google Groups >> "Machinekit" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to machinekit+...@googlegroups.com. >> Visit this group at https://groups.google.com/group/machinekit. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- > website: http://www.machinekit.io blog: http://blog.machinekit.io github: > https://github.com/machinekit > --- > You received this message because you are subscribed to the Google Groups > "Machinekit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to machinekit+...@googlegroups.com . > Visit this group at https://groups.google.com/group/machinekit. > For more options, visit https://groups.google.com/d/optout. > > > -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout. # see http://www.cmcrossroads.com/ask-mr-make/6535-tracing-rule-execution-in-gnu-make # to trace make execution of make in more detail: # make VV=1 ifeq ("$(origin VV)", "command line") OLD_SHELL := $(SHELL) SHELL = $(warning Building $@$(if $<, (from $<))$(if $?, ($? newer)))$(OLD_SHELL) endif # Delete the default suffix rules .SUFFIXES: .PHONY: default userspace modules clean modclean depclean docclean install python pythonclean cscope cscopeclean # A "trivial build" is one which should not include dependency information # either because it should be usable before dependency information can be # generated or when it
Re: [Machinekit] how to compile source in machinekit
On 14/08/17 16:22, thangle wrote: Here is what i did: - 1st: i make a coppy trivkins.c then rename it become trivkinstest.c and changing line 88 to: static const char *name = "trivkinstest"; - 2nd: i follow this https://groups.google.com/forum/#!msg/machinekit/yrBnTxQL7_E/IrPHxKn3BQAJ;context-place=forum/machinekit I wrote that, so I am familiar with it + i pass Submakefile + just change something in Makefile 'just change something in makefile' is not information - 3rd: use terminal go to /home/machinekit/machinekit/src and "make" then type command "sudo make setuid" - 4th: i try to test if trivkinstest work. i open CRAMPS.hal, change loadrt trivkins -->loadrt trivkinstest loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES tp=tp kins=trivkins--->trivkinstest - finally: i try run CRAMPS but it's bugged Debug file information: stat: No such file or directory CRAMPS.hal:18: insmod failed, returned -1: do_load_cmd: dlopen: trivkinstest.so: cannot open shared object file: No such file or directory The module appears to have built from your printout, but you also look to be building a RIP and then executing a binary installation Look at the rpath You need to build the RIP, set the current terminal session environment using . ./scripts/rip-environment from the root of the RIP and then launch machinekit from that terminal session Either that or copy the new module to your binary install and run ldconfig manually and check it is in the cache rpath=/usr/lib/linuxcnc/xenomai See /var/log/linuxcnc.log for more information. 10047 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components i'm using BBB and machinekit. sorry for my trash English. Vào 15:41:12 UTC+7 Thứ Hai, ngày 14 tháng 8 năm 2017, Schooner đã viết: Going to need a lot more info than that and to see the source. You basically need to know how to write Makefiles, to alter the existing ones to build your stuff too, assuming it is compatible. On 14/08/17 03:39, thangle wrote: Hi, Does anyone know how to compile a new source? example, i coppy a new C project from an old project in machinekit src and rename, what should i do to make it work. please help me. tks -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout. -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout. -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscr...@googlegroups.com. Visit this group at
Re: [Machinekit] how to compile source in machinekit
Here is what i did: - 1st: i make a coppy trivkins.c then rename it become trivkinstest.c and changing line 88 to: static const char *name = "trivkinstest"; - 2nd: i follow this https://groups.google.com/forum/#!msg/machinekit/yrBnTxQL7_E/IrPHxKn3BQAJ;context-place=forum/machinekit + i pass Submakefile + just change something in Makefile - 3rd: use terminal go to /home/machinekit/machinekit/src and "make" then type command "sudo make setuid" - 4th: i try to test if trivkinstest work. i open CRAMPS.hal, change loadrt trivkins -->loadrt trivkinstest loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES tp=tp kins=trivkins--->trivkinstest - finally: i try run CRAMPS but it's bugged Debug file information: stat: No such file or directory CRAMPS.hal:18: insmod failed, returned -1: do_load_cmd: dlopen: trivkinstest.so: cannot open shared object file: No such file or directory rpath=/usr/lib/linuxcnc/xenomai See /var/log/linuxcnc.log for more information. 10047 PID TTY STAT TIME COMMAND Stopping realtime threads Unloading hal components i'm using BBB and machinekit. sorry for my trash English. Vào 15:41:12 UTC+7 Thứ Hai, ngày 14 tháng 8 năm 2017, Schooner đã viết: > > Going to need a lot more info than that and to see the source. > > You basically need to know how to write Makefiles, to alter the existing > ones to build your stuff too, assuming it is compatible. > > On 14/08/17 03:39, thangle wrote: > > Hi, > > Does anyone know how to compile a new source? example, i coppy a new C > project from an old project in machinekit src and rename, what should i do > to make it work. please help me. tks > -- > website: http://www.machinekit.io blog: http://blog.machinekit.io github: > https://github.com/machinekit > --- > You received this message because you are subscribed to the Google Groups > "Machinekit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to machinekit+...@googlegroups.com . > Visit this group at https://groups.google.com/group/machinekit. > For more options, visit https://groups.google.com/d/optout. > > > -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout. Reading 2/2 PRU dependency files Reading 327/330 dependency files Done reading dependencies Reading 0/0 realtime dependency files Done reading realtime dependencies make: Entering directory '/home/machinekit/machinekit/src' cp rtapi/xenomai.h ../include/xenomai.h Making modules for flavor posix make[1]: Entering directory '/home/machinekit/machinekit/src' Reading 2/2 PRU dependency files Reading 335/338 dependency files Done reading dependencies Reading 426/427 realtime dependency files Done reading realtime dependencies Depending emc/kinematics/trivkinstest.c Compiling realtime emc/kinematics/trivkinstest.c Linking ../rtlib/posix/trivkinstest.so make[1]: Leaving directory '/home/machinekit/machinekit/src' Making modules for flavor rt-preempt make[1]: Entering directory '/home/machinekit/machinekit/src' Reading 2/2 PRU dependency files Reading 335/338 dependency files Done reading dependencies Reading 426/427 realtime dependency files Done reading realtime dependencies Depending emc/kinematics/trivkinstest.c Compiling realtime emc/kinematics/trivkinstest.c Linking ../rtlib/rt-preempt/trivkinstest.so make[1]: Leaving directory '/home/machinekit/machinekit/src' Making modules for flavor xenomai make[1]: Entering directory '/home/machinekit/machinekit/src' Reading 2/2 PRU dependency files Reading 335/338 dependency files Done reading dependencies Reading 426/427 realtime dependency files Done reading realtime dependencies Depending emc/kinematics/trivkinstest.c Compiling realtime emc/kinematics/trivkinstest.c Linking ../rtlib/xenomai/trivkinstest.so make[1]: Leaving directory '/home/machinekit/machinekit/src' for f in posix rt-preempt xenomai; do \ test -f ../libexec/rtapi_app_$f -a \ \( 0`stat -c %u ../libexec/rtapi_app_$f 2>/dev/null` \ -ne 0 -o ! -u ../libexec/rtapi_app_$f \) \ && need_setuid=1; \ done; \ test "$need_setuid" = 1 && \ echo -n "You now need to run 'sudo make setuid' " && \ echo "in order to run in place." || true make: Leaving directory '/home/machinekit/machinekit/src'
Re: [Machinekit] how to compile source in machinekit
Going to need a lot more info than that and to see the source. You basically need to know how to write Makefiles, to alter the existing ones to build your stuff too, assuming it is compatible. On 14/08/17 03:39, thangle wrote: Hi, Does anyone know how to compile a new source? example, i coppy a new C project from an old project in machinekit src and rename, what should i do to make it work. please help me. tks -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout. -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
[Machinekit] how to compile source in machinekit
Hi, Does anyone know how to compile a new source? example, i coppy a new C project from an old project in machinekit src and rename, what should i do to make it work. please help me. tks -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.