Syllable Forum Index Syllable
Syllable Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Kernel compile

 
Post new topic   Reply to topic    Syllable Forum Index -> Bugs - Fixed
View previous topic :: View next topic  
Author Message
aritc02



Joined: 28 Feb 2008
Posts: 214

PostPosted: Sat May 30, 2009 3:58 pm    Post subject: Kernel compile Reply with quote

Ok, I wanted to give build a try as Kay suggested. So I thought I would try it out on the kernel source. This is what came back to me:

bash-3.2# build sys/kernel/kernel
/resources/indexes/bin/build:1827: warning: Insecure world writable dir /boot in
PATH, mode 040777
/resources/indexes/bin/build:1828: warning: Insecure world writable dir /boot in
PATH, mode 040777
/resources/indexes/bin/build:1829: warning: Insecure world writable dir /boot in
PATH, mode 040777
/resources/indexes/bin/build:1997: warning: Insecure world writable dir /boot in
PATH, mode 040777

Building sys/kernel/kernel

sys/kernel/kernel

Cleaning

make clean
timer.c:60: warning: 'get_pit_offset' defined but not used
vfs/aio.c: In function 'aio_create_context':
vfs/aio.c:244: warning: implicit declaration of function 'do_get_symbol_address'
vfs/aio.c: In function 'aio_insert_op':
vfs/aio.c:311: error: 'psKcb' undeclared (first use in this function)
vfs/aio.c:311: error: (Each undeclared identifier is reported only once
vfs/aio.c:311: error: for each function it appears in.)

sync

Building dependencies

make deps
kernel.c: In function 'do_get_system_info':
kernel.c:154: warning: assignment makes integer from pointer without a cast
kernel.c:198: warning: passing argument 2 of 'get_kernel_arguments' from incompa
tible pointer type
kernel.c:219: warning: assignment makes integer from pointer without a cast
timer.c:60: warning: 'get_pit_offset' defined but not used
vfs/aio.c: In function 'aio_create_context':
vfs/aio.c:244: warning: implicit declaration of function 'do_get_symbol_address'
vfs/aio.c: In function 'aio_insert_op':
vfs/aio.c:311: error: 'psKcb' undeclared (first use in this function)
vfs/aio.c:311: error: (Each undeclared identifier is reported only once
vfs/aio.c:311: error: for each function it appears in.)
make: *** No rule to make target `objs/core.d', needed by `deps'. Stop.

Error: 2

sync

Making

make
vfs/aio.c: In function 'aio_create_context':
vfs/aio.c:244: warning: implicit declaration of function 'do_get_symbol_address'
vfs/aio.c: In function 'aio_insert_op':
vfs/aio.c:311: error: 'psKcb' undeclared (first use in this function)
vfs/aio.c:311: error: (Each undeclared identifier is reported only once
vfs/aio.c:311: error: for each function it appears in.)
make: *** [objs/aio.o] Error 1

Error: 2

sync

It looks like a couple of show stippers there to me. Of what type is psKcb?

Adam
Back to top
View user's profile Send private message
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2207
Location: Friesland

PostPosted: Sat May 30, 2009 4:12 pm    Post subject: Reply with quote

ps denotes a string pointer, I think. That's the only error before it stops; all the others are just warnings or in insignificant places.
Back to top
View user's profile Send private message Visit poster's website
Morph
The Knights of Syllable


Joined: 18 Oct 2007
Posts: 316
Location: Australia

PostPosted: Sat May 30, 2009 4:19 pm    Post subject: Reply with quote

Kristian did mention somewhere that he had missed a patch for the AIO (asynchronous IO) stuff - maybe that's it.

If you don't mind missing the AIO stuff, you could check out an earlier revision from cvs and compile that. Or else wait for Kristian to commit the missing patch.
Back to top
View user's profile Send private message Visit poster's website
Vanders
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 849

PostPosted: Sat May 30, 2009 4:29 pm    Post subject: Reply with quote

Sorry, my fault. No idea how I did that. It's fixed in CVS: try a "cvs update" again. Just be aware that Sourceforge sometimes takes a little while to sync the anonymous CVS repository with the developers repository, so if "cvs update" doesn't download an updated aio.c file, it isn't there yet.
Back to top
View user's profile Send private message Send e-mail
aritc02



Joined: 28 Feb 2008
Posts: 214

PostPosted: Sat May 30, 2009 4:37 pm    Post subject: Reply with quote

Ok, will do and will let y'all know.

Adam
Back to top
View user's profile Send private message
aritc02



Joined: 28 Feb 2008
Posts: 214

PostPosted: Sat May 30, 2009 5:37 pm    Post subject: Reply with quote

Ok Compiled it, ran make install and rebooted. Everything seems to be ok.
I was feeling kamikaze tonight. Very Happy
Back to top
View user's profile Send private message
Kaj
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 2207
Location: Friesland

PostPosted: Sat May 30, 2009 8:01 pm    Post subject: Reply with quote

Well, that probably saved this weekend's dev build from failing. Smile
Back to top
View user's profile Send private message Visit poster's website
aritc02



Joined: 28 Feb 2008
Posts: 214

PostPosted: Sun May 31, 2009 1:24 pm    Post subject: Reply with quote

Well, I take that back. Funny, last night when I rebooted it came up fine. I booted it this afternoon and I received a whole of PANICS and the appserver stating it failed to initialize the inode at 124 I think. It went by rather fast and then there was a black screen with the mouse pointer. The mouse pointer worked fine though. Well it was a risk I took. I do not know if it is the async I/O that was added or what. Vanders would know more about. I this point I can either download the 6.4 cd and boot with that and restore the original kernel or just download the 6.7 dev build and wipe the drive and install that. I think I will just do the latter and see if the sound works. The sound never worked in the 6.6 build. Good thing I backed up that DateTime applet I worked on. Very Happy

Adam
Back to top
View user's profile Send private message
Vanders
The Knights of Syllable


Joined: 14 Sep 2007
Posts: 849

PostPosted: Sun May 31, 2009 2:28 pm    Post subject: Reply with quote

Sounds like a common-or-garden ASF corruption. The async I/O stuff would never have even been touched unless you recompiled Glibc and ran Qemu: even then, I never once managed to corrupt AFS with all the VFS bugs I managed to induce during development & testing.
Back to top
View user's profile Send private message Send e-mail
aritc02



Joined: 28 Feb 2008
Posts: 214

PostPosted: Sun May 31, 2009 2:31 pm    Post subject: Reply with quote

I was just throwing that out there Vanders. I am sure you are right. That's all right. Like I said, I will just wipe the drive clean and install the 6.7 build. I have already downloaded it and burned to a cd.

Adam
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Syllable Forum Index -> Bugs - Fixed All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group