2013-01-28T00:29:08 nevermind, I gave up and decided to convert RPMs to DEBs .. seems to work so far 2013-01-28T00:46:41 *** monstr has joined #rtems 2013-01-28T01:12:37 *** arvind_khadri has joined #rtems 2013-01-28T01:47:37 *** sebhub has joined #rtems 2013-01-28T01:49:19 good morning 2013-01-28T03:09:03 *** the9a3eedi has quit IRC (Remote host closed the connection) 2013-01-28T03:54:14 *** monstr has quit IRC (Ping timeout: 240 seconds) 2013-01-28T04:07:11 *** monstr has joined #rtems 2013-01-28T04:44:19 *** monstr has quit IRC (Ping timeout: 246 seconds) 2013-01-28T04:44:47 *** monstr has joined #rtems 2013-01-28T10:08:32 *** arvind_khadri has quit IRC (Ping timeout: 256 seconds) 2013-01-28T11:15:10 *** sebhub has quit IRC (Remote host closed the connection) 2013-01-28T13:14:54 *** arvind_khadri has joined #rtems 2013-01-28T14:11:16 *** monstr has quit IRC (Ping timeout: 245 seconds) 2013-01-28T18:12:43 *** the9a3eedi has joined #rtems 2013-01-28T19:40:37 *** ayush has joined #rtems 2013-01-28T19:49:08 *** the9a3eedi has quit IRC (Remote host closed the connection) 2013-01-28T19:52:33 *** the9a3eedi has joined #rtems 2013-01-28T19:58:22 *** the9a3eedi has quit IRC (Quit: Leaving) 2013-01-28T23:13:46 *** arvind_khadri has quit IRC (Ping timeout: 256 seconds) 2013-01-28T23:47:43 *** monstr has joined #rtems 2013-01-29T00:52:54 *** the9a3eedi has joined #rtems 2013-01-29T01:25:43 *** sebhub has joined #rtems 2013-01-29T01:28:59 good morning 2013-01-29T01:51:42 *** arvind_khadri has joined #rtems 2013-01-29T02:26:36 *** the9a3eedi has quit IRC (Ping timeout: 252 seconds) 2013-01-29T07:53:55 *** lcpfnvcy has quit IRC (Ping timeout: 245 seconds) 2013-01-29T08:01:31 *** lcpfnvcy has joined #rtems 2013-01-29T09:02:23 *** monstr has quit IRC (Quit: Leaving) 2013-01-29T09:02:48 *** monstr_ has joined #rtems 2013-01-29T10:21:20 *** arvind_khadri has quit IRC (Ping timeout: 255 seconds) 2013-01-29T11:01:45 *** monstr_ has quit IRC (Ping timeout: 276 seconds) 2013-01-29T11:13:01 *** sebhub has quit IRC (Remote host closed the connection) 2013-01-29T18:20:51 *** the9a3eedi has joined #rtems 2013-01-29T18:28:10 Good morning.. from south korea! New RTEMS user here. I hope to join the community eventually :) 2013-01-29T18:29:23 the9a3eedi, welcome 2013-01-29T19:40:49 So I've been trying for the past hour (and a couple of hours yesterday too) to modify the hello world example so that the task starts a shell. I've been reading the shell manual and it says that you need to include rtems/shellconfig.h along with 2 defines, so I did that. But then I got lots of compile errors, multiple declaratoins etc. 2013-01-29T19:42:30 so I removed the rtems/shellconfig.h include and the errors are gone. Is this because confdefs.h acts like an automated "include manager"? 2013-01-29T19:43:02 Have a look at this code ?. http://git.rtems.org/chrisj/rtl.git/tree/main.c#n446 2013-01-29T19:44:41 well I'm just trying to understand how the whole configuration system works 2013-01-29T19:45:11 yeah, I got the shell code from the fileio sample in the source 2013-01-29T19:47:29 Does this help ? http://rtems.org/onlinedocs/doc-current/share/rtems/html/c_user/c_user_423.html#Configuring-a-System 2013-01-29T19:47:43 I already read that 2013-01-29T19:48:10 it somewhat makes sense,but I noticed that some samples don't use confdefs, which is what confuses me 2013-01-29T19:48:38 Are you sure ? It might be used in a different .c file. 2013-01-29T19:51:17 hmm.. you're right, it's in system.h that fileio includes. didn't notice that there 2013-01-29T19:55:24 nevermind, I'm back to the same issue I was having. though I now understand what confdefs.h actually does 2013-01-29T19:55:31 thanks 2013-01-29T20:17:10 I hate to ask this, but I'm still getting linker errors while compiling my modified hello world code. May someone please take a quick look at the code and tell me what's going wrong? http://pastebin.com/KTA2Btdb 2013-01-29T20:36:20 What host and tools ? 2013-01-29T20:40:45 I'm on Linux Mint x86_64, standard gnu tools (using the tools from the prebuilt rpms) 2013-01-29T20:52:11 Sorry I do not use the prebuilt tools. Are they the latest tools ? 2013-01-29T20:57:07 well, I downloaded them pretty recently. gcc is 4.7.2 .. according to wikipedia that's the latest stable release 2013-01-29T20:57:21 via yum ? 2013-01-29T20:58:30 no, I'm on Linux mint (ubuntu based). I downloaded the RPMs via http://www.rtems.org/ftp/pub/rtems/linux/ and then converted them to .deb using alien, then installed them (didn't have any issues) 2013-01-29T20:58:59 I am able to build the git source tree using the tools, so I'm pretty sure the tools are fine 2013-01-29T20:59:08 that is good 2013-01-29T20:59:45 it's something to do with how I modified the hello world code from what I know 2013-01-29T21:00:07 perhaps I should post to the mailing list? 2013-01-29T21:00:18 brb 2013-01-29T21:00:24 tyt 2013-01-29T21:01:15 or maybe I should just drop this altogether and "move on" ... I've been spending way too much time on this lol 2013-01-29T21:02:01 If you want an app, maybe try the waf build system and the files in the app I referenced. 2013-01-29T21:02:23 clone this http://git.rtems.org/chrisj/rtl.git/tree/ 2013-01-29T21:03:09 then I take some of these and create a new app 2013-01-29T21:04:05 I'll check it out, thanks... though I'd rather just stick to the automake system 2013-01-29T21:06:24 I will make for you 2013-01-29T21:06:44 Best of luck with automake 2013-01-29T21:13:32 Here is the waf example ? http://www.rtems.org/ftp/pub/rtems/people/chrisj/rtems-waf-hello.tar.gz 2013-01-29T21:14:02 waf configure --rtems=/Users/chris/Development/rtems/build/4.11 --rtems-tools=/Users/chris/Development/rtems/4.11 --rtems-archs=sparc 2013-01-29T21:14:16 where --rtems is the path to the installed RTEMS 2013-01-29T21:14:32 --rtems-tools= is the path to the tools 2013-01-29T21:16:22 You will find the link order of libs etc might be important. 2013-01-30T00:26:05 *** monstr_ has joined #rtems 2013-01-30T00:27:54 *** arvind_khadri has joined #rtems 2013-01-30T00:37:01 thanks for the help kiwichris, much appreciated 2013-01-30T00:37:37 I'm going to take a look at waf now 2013-01-30T00:37:52 sounds like a real timesaver 2013-01-30T00:38:27 Just uploaded a new version a moment ago with doco in the wscript file. 2013-01-30T00:38:53 I have been using for a while now and it is fast, stable and powerful. 2013-01-30T00:39:17 If you look at the RTL project's wscript file it shows the complexity that can be achieved. 2013-01-30T00:40:12 That project links RTEMS to create a base kernel, extracts the symbols, build an object file with the symbol table then relinks the kernel to make the final image with a symbol table. 2013-01-30T00:40:20 need to run, cya 2013-01-30T00:40:34 thanks again! 2013-01-30T00:40:43 will do 2013-01-30T00:40:54 *** monstr_ has quit IRC (Ping timeout: 264 seconds) 2013-01-30T00:45:17 *** monstr_ has joined #rtems 2013-01-30T02:05:10 *** sebhub has joined #rtems 2013-01-30T02:18:04 good morning 2013-01-30T02:28:52 good evening... from south korea :) 2013-01-30T03:31:49 *** the9a3eedi has quit IRC (Remote host closed the connection) 2013-01-30T06:49:11 *** monstr_ has quit IRC (Ping timeout: 240 seconds) 2013-01-30T08:51:16 *** arvind_khadri has quit IRC (Ping timeout: 245 seconds) 2013-01-30T10:34:33 *** sebhub has quit IRC (Remote host closed the connection) 2013-01-30T13:11:40 *** arvind_khadri has joined #rtems 2013-01-30T17:39:32 *** lcpfnvcy has quit IRC (Ping timeout: 244 seconds) 2013-01-30T17:46:34 *** lcpfnvcy has joined #rtems 2013-01-30T18:43:44 *** the9a3eedi has joined #rtems 2013-01-30T19:10:40 *** the9a3eedi has quit IRC (Ping timeout: 276 seconds) 2013-01-30T21:53:27 *** sevikkk1 has quit IRC (Ping timeout: 276 seconds) 2013-01-30T22:11:05 *** sevikkk has joined #rtems 2013-01-31T00:41:08 *** MegaAlex has quit IRC (Ping timeout: 244 seconds) 2013-01-31T01:13:39 *** arvind_khadri has quit IRC (Ping timeout: 240 seconds) 2013-01-31T01:57:21 *** arvind_khadri has joined #rtems 2013-01-31T02:05:15 *** sebhub has joined #rtems 2013-01-31T02:53:34 *** monstr_ has joined #rtems 2013-01-31T03:18:29 good morning 2013-01-31T05:50:20 *** MegaAlex has joined #rtems 2013-01-31T07:02:44 *** monstr_ has quit IRC (Ping timeout: 248 seconds) 2013-01-31T07:04:29 *** monstr_ has joined #rtems 2013-01-31T07:20:13 *** monstr_ has quit IRC (Remote host closed the connection) 2013-01-31T07:24:10 *** monstr__ has joined #rtems 2013-01-31T07:26:09 *** arvind_khadri has quit IRC (Ping timeout: 252 seconds) 2013-01-31T10:14:18 *** sebhub has quit IRC (Remote host closed the connection) 2013-01-31T12:40:51 *** monstr__ has quit IRC (Ping timeout: 245 seconds) 2013-01-31T18:42:11 *** the9a3eedi has joined #rtems 2013-01-31T18:49:35 *** the9a3eedi has quit IRC (Remote host closed the connection) 2013-01-31T18:50:27 *** the9a3eedi has joined #rtems 2013-01-31T19:43:58 *** the9a3eedi has quit IRC (Remote host closed the connection) 2013-01-31T19:45:25 *** the9a3eedi has joined #rtems 2013-01-31T22:26:04 *** kiwichris_ has joined #rtems 2013-01-31T22:27:11 *** kiwichris has quit IRC (Ping timeout: 255 seconds) 2013-02-01T00:14:07 *** monstr__ has joined #rtems 2013-02-01T00:21:46 Is there a good reason to NOT use prebuilt tools? It seems that a lot of users I see online prefer to compile the tools themselves for some reason despite it being more work 2013-02-01T00:24:17 *** arvind_khadri has joined #rtems 2013-02-01T00:36:37 the9a3eedi, one MacOS there are no pre-built tools 2013-02-01T00:37:02 http://www.rtems.org/ftp/pub/rtems/people/chrisj/source-builder/source-builder.html 2013-02-01T00:37:18 is a link to a list of reasons why I feel building from source is important. 2013-02-01T01:05:29 thanks, good read 2013-02-01T01:06:16 makes sense now on why people compile from source.. but for now I dont think these reasons apply to me currently as I'm mostly learning and experimenting 2013-02-01T01:07:00 I was thinking that maybe people preferred compiling from source because the prebuilt tools have some compatibility issues sometimes or do not install properly 2013-02-01T01:08:48 They have no issues I am aware of. 2013-02-01T01:21:28 I see.. just struggling with makefiles here so I thought maybe my prebuilt tools werent installed correctly 2013-02-01T01:33:35 *** the9a3eedi has quit IRC (Read error: Connection reset by peer) 2013-02-01T01:48:05 *** sebhub has joined #rtems 2013-02-01T02:45:42 *** monstr__ has quit IRC (Ping timeout: 276 seconds) 2013-02-01T02:46:51 *** monstr__ has joined #rtems 2013-02-01T04:05:26 *** monstr__ has quit IRC (Read error: Operation timed out) 2013-02-01T07:12:20 *** monstr has joined #rtems 2013-02-01T07:57:24 *** arvind_khadri has quit IRC (Ping timeout: 248 seconds) 2013-02-01T10:14:03 *** sebhub has quit IRC (Remote host closed the connection) 2013-02-01T10:52:32 *** monstr has quit IRC (Ping timeout: 245 seconds) 2013-02-01T11:21:20 *** monstr__ has joined #rtems 2013-02-01T12:26:21 *** monstr__ has quit IRC (Ping timeout: 252 seconds) 2013-02-01T12:46:47 *** arvind_khadri has joined #rtems 2013-02-01T13:36:05 *** arvind_khadri has quit IRC (Ping timeout: 255 seconds) 2013-02-01T14:12:25 *** ayush10297 has joined #rtems 2013-02-01T14:15:59 *** max___ has joined #rtems 2013-02-01T14:16:09 hi!! evrybody 2013-02-01T14:16:18 watzzz up wid d google code in 2013-02-01T14:16:19 ?? 2013-02-01T14:20:26 max___: hey ayush, results will be announced on February 4th, 17:00 UTC on the open-source blog 2013-02-01T14:22:32 *** max___ has quit IRC (Ping timeout: 245 seconds) 2013-02-02T03:53:10 *** arvind_khadri has joined #rtems 2013-02-02T07:02:57 *** arvind_k has joined #rtems 2013-02-02T07:05:35 *** arvind_khadri has quit IRC (Ping timeout: 240 seconds) 2013-02-02T07:08:37 kiwichris_: do I need to use tools of certain versions with RTEMS Linker or is this no sensitive? 2013-02-02T07:09:38 I'm using gcc 4.6.2, binutils 2.21.1 2013-02-02T13:17:00 *** cdcs has joined #rtems 2013-02-02T13:17:46 *** cdcs has quit IRC (Client Quit) 2013-02-02T16:43:08 *** kiwichris_ has quit IRC (Quit: This computer has gone to sleep) 2013-02-02T16:56:56 *** kiwichris has joined #rtems 2013-02-02T16:57:34 peerst, yes it should work with those tools. If not please let me know. 2013-02-02T20:22:30 *** ayush10297 has joined #rtems 2013-02-03T02:12:54 *** arvind_k has quit IRC (Ping timeout: 252 seconds) 2013-02-03T04:20:07 kiwichris: ok I'll give it a try 2013-02-03T08:38:16 *** monstr__ has joined #rtems 2013-02-03T09:12:31 *** monstr__ has quit IRC (Ping timeout: 246 seconds) 2013-02-03T11:18:58 *** ayush10297 has joined #rtems 2013-02-03T11:19:11 hi!! everybody 2013-02-03T11:19:38 wat time GCI results coming up?? 2013-02-03T11:19:44 anybody knws 2013-02-03T11:53:13 *** ayush10297 has quit IRC (Quit: Page closed) 2013-02-03T18:36:24 *** the9a3eedi has joined #rtems 2013-02-03T20:24:48 Something has been bothering me for a while now, but I'm not sure if I'm doing something wrong.. 2013-02-03T20:25:18 basically, directory.cfg seems to be missing from my /opt/rtems4.11 folder, but every other included makefile is there. 2013-02-03T20:25:47 /opt/rtems4.11/make I mean 2013-02-03T20:26:35 Is this referenced by the example make stuff ? 2013-02-03T20:26:44 yes 2013-02-03T20:27:13 the Makefile.dir template has a "include $(RTEMS_ROOT)/make/directory.cfg" line 2013-02-03T20:27:26 The 'makefile' fragment approach is flawed for this reason. I personally never us it and I know other maintainers (Ralf) do not as well. 2013-02-03T20:27:30 where RTEMS_ROOT I assume is /opt/rtems-4.11 2013-02-03T20:27:51 I see... 2013-02-03T20:28:04 just seems like a bug to me though 2013-02-03T20:28:15 The external dependence on the internal implementation details of the RTEMS build system is always going to have these problems. For example how far back to maintain combatiliby. 2013-02-03T20:28:49 The dependence on the this file by the examples or it not being present ? Both are valid. 2013-02-03T20:29:37 I would say it not be present is the bug, not the actual dependence 2013-02-03T20:29:49 the file is there somewhere, but placed in the wrong location 2013-02-03T20:30:00 So RTEMS has to keep this file maintained for ever ? 2013-02-03T20:30:06 at least from what I can tell 2013-02-03T20:30:48 well, if they're going to stick to the current build system, then yes. However, this build system is only intended for users to use with their application.. as a simple system 2013-02-03T20:30:57 Maybe it is the examples that needs to be updated ? I do not know. 2013-02-03T20:31:00 but I'm still a newbie so I might be wrong here 2013-02-03T20:31:46 I also do not know as I do not use this way of building apps 2013-02-03T20:32:27 I see.. waf is that much better huh :P 2013-02-03T20:33:11 It is not a question of make vs waf vs scons vs cmake. It is the dependence of an external package on something that was considered internal. 2013-02-03T20:33:25 I also only assume this because it seems to have gone away. 2013-02-03T20:33:44 Joel looks after all this so I suggest you ask him. He will know. 2013-02-03T20:34:08 can I just contact him directly? what's his email? 2013-02-03T20:34:25 yeah. it is no the rtems.ort somewhere :) 2013-02-03T20:34:29 no -> on 2013-02-03T20:34:41 ort -> org 2013-02-03T20:34:48 ok, will contact him then.. thanks 2013-02-03T20:35:18 though isn't it better if I just send to the mailing list? I feel like it's wrong sending directly to the guy lol 2013-02-03T20:35:50 I suggest you ping him directly for this one, the external make stuff can get heated :) 2013-02-03T20:36:15 I see, good call lol.. thanks again 2013-02-03T20:52:41 https://www.rtems.org/bugzilla/show_bug.cgi?id=1758 found this bug. I can see how much drama this topic can get lol 2013-02-03T20:52:55 :) 2013-02-03T20:56:45 though the last comment is from 2011.. I wonder what happened since then.. but maybe I shouldn't get involved in this lol 2013-02-03T22:20:22 The topic died and so with it any push to change the examples. 2013-02-03T22:21:39 The PR details the broken .exe in the RTEMS build with breaks the autotools. Not long after I started using waf and have not looked at autotools since and will not again. 2013-02-03T22:23:01 I see.. I'd rather not use autotools if I don't have too. It just seems like a tedious waste of time 2013-02-03T22:23:32 the makefile system is nice because it's simple and does the job without having to configure things too much, at least that's my impression 2013-02-03T23:00:08 well, I finally just built my first project that I made myself (not from the examples). Thanks kiwichris, you helped a lot! :D 2013-02-03T23:00:25 Nice. What build system ? 2013-02-03T23:00:46 the makefile template.. I realize it's not much yet lol 2013-02-03T23:01:10 It is a big step. Well done. 2013-02-03T23:01:38 thanks 2013-02-03T23:02:17 I think I'm going to read up some more about RTEMS, all those managers