T2 IRC Log: 2009-06-05

This is the log as captured by an IRC bot in the channel. The statements are those of the individual people and might not neccessarily reflect the policy and legal rules as set forth by the T2 SDE Project.

« prev | next »

--- Log opened Fri Jun 05 00:00:33 2009
08:39 -!- Negher [n=negher@217.12.176.10] has joined #T2
13:29 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: LMJ
13:31 -!- Netsplit over, joins: LMJ
13:36 -!- mqueiros [n=mqueiros@217.70.71.7] has quit ["Ex-Chat"]
13:40 -!- mqueiros [n=mqueiros@217.70.71.7] has joined #t2
13:45 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: LMJ
13:45 -!- Netsplit over, joins: LMJ
13:53 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: LMJ
13:55 -!- Netsplit over, joins: LMJ
15:06 -!- the_rainbow [n=ee@41.209.167.145] has joined #t2
15:19 -!- T-One [n=T-One@62.218.122.66] has quit ["Verlassend"]
15:19 -!- T-One [n=T-One@62.218.122.66] has joined #t2
15:28 -!- Negher [n=negher@217.12.176.10] has left #T2 []
16:20 -!- synchris_ [n=synchris@athedsl-195756.home.otenet.gr] has joined #t2
16:25 -!- synchris [n=synchris@pdpc/supporter/professional/synchris] has quit [Read error: 60 (Operation timed out)]
16:37 -!- T-One [n=T-One@62.218.122.66] has quit ["Verlassend"]
17:22 -!- kfries_ [n=kfries@71.216.94.233] has joined #t2
17:26 < kfries_> How do you fix a compilation error? I found the problem, and the same problem occurred in buildroot, so I try to apply the same fix, I go into where it uncompressed the code src.linux26... and make the change. Then when I tell it to build target again, it creates a new directory, unpacks the same broken code, ignoring my new fixed code, and compiles only to have the same f*$&(*%& error I just fixed! How to fix?
18:22 < the_rainbow> hello kfries
18:22 < kfries_> hi
18:23 < the_rainbow> yes, actually t2's build system creates a new src dir everytime you launch the compilation process
18:23 < the_rainbow> when I see that I have to change some stuff on the package, I just make a patch
18:23 < the_rainbow> and put it in the package dir: package/../your-package
18:24 < the_rainbow> this patch is applied when you launch the compilation
18:24 < the_rainbow> when? It depends on the hook you're using
18:24 < the_rainbow> there're multiple hooks you can use in T2
18:24 < the_rainbow> like post_make
18:24 < the_rainbow> these hooks tell T2 when to apply the patch
18:25 < kfries_> My issue is with the kernel, and is documented at http://forum.niosforum.com/forum/lofiversion/index.php/t8761.html
18:25 < the_rainbow> see the .conf files dor more information
18:26 < the_rainbow> great, just make the required changes using the .conf files
18:27 < kfries_> OK, I am a little lost
18:27 < the_rainbow> did you download the T2 handbook?
18:27 < kfries_> I have gone into the src... directory, and made the change
18:27 < kfries_> yes, that is what is confusing me
18:27 < kfries_> That is how I found the directory
18:28 < kfries_> Do I make the changes, then try to compile manually, then make the patch?
18:28 < kfries_> Or -
18:28 < the_rainbow> what changes have you made?
18:29 < kfries_> I added limits.h to the sumversion.c file
18:29 < kfries_> PATH_MAX was not properly getting initialized
18:30 < the_rainbow> great
18:30 < the_rainbow> just add the patch in the kernel directory
18:30 < the_rainbow> and it's going to be applied automatcally
18:31 < the_rainbow> do your diff and generate the patch file
18:31 < kfries_> So, is that the "fixfile Makefile" followed by the "fixfilediff" command?
18:31 < kfries_> I assume from the src... directory?
18:34 < the_rainbow> http://www.linuxtutorialblog.com/post/introduction-using-diff-and-patch-tutorial
19:05 < kfries_> OK, I have a patch, and verified that it works. Its just a simple patch, not contextual or anything like that
19:06 < kfries_> Not sure where to put this
19:06 < kfries_> Or how to indicate which file it is supposed to patch
19:09 < the_rainbow> read page 32 in the T2-handbook
19:09 < the_rainbow> it explains how the patches work
19:09 < kfries_> I found {root}/package/base/linux26 that looks right, but my patchfile looks much different than rxr
19:17 < kfries_> My patch looked much different, but I then followed the contextual patch, and that looks much better... gonna give that a try
19:37 < kfries_> Hot Dog, Rainbow, your a genius!!! kernel compiled and its now onto binutils. This is my first real serious stab at T2, I played around before, but did not have time to fix stuff. Its interesting to say the least. Thanks a bunch
19:38 < kfries_> Where can I put my patch so other don't have to suffer the learning pains I did?
19:43 < koan> you can send it to the t2 mailing list
19:54 -!- the_rainbow [n=ee@41.209.167.145] has quit [Read error: 104 (Connection reset by peer)]
20:05 -!- the_rainbow [n=ee@41.209.167.145] has joined #t2
22:05 -!- the_rainbow [n=ee@41.209.167.145] has quit [Read error: 104 (Connection reset by peer)]
23:49 -!- kfries_ [n=kfries@71.216.94.233] has quit ["Ex-Chat"]
--- Log closed Sat Jun 06 00:00:33 2009