OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 3:23 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Meaty Skeleton whitespace
PostPosted: Sat Sep 27, 2014 2:15 am 
Offline

Joined: Wed Nov 30, 2011 12:44 pm
Posts: 16
So yeah. I tried to make my start with my OS using the Meaty Skeleton-tutorial. But, when I try to compile the kernel, this happens: http://pastebin.com/nst9Mt8G.

Lets just say that it is really annoying, when I cant seem to find the right backslash to remove.


Top
 Profile  
 
 Post subject: Re: About those meaty bones
PostPosted: Sat Sep 27, 2014 3:38 am 
Offline
Member
Member
User avatar

Joined: Wed May 21, 2008 4:33 am
Posts: 294
Location: Mars MTC +6:00
Jiias wrote:
Lets just say that it is really annoying, when I cant seem to find the right backslash to remove.


Just a quick guess...

The ARCH_HOSTEDOBJS is empty, maybe rem this from the 2nd parameter under OBJS in libc/Makefile

Code:
HOSTEDOBJS:=\
$(ARCH_HOSTEDOBJS) \

OBJS:=\
$(FREEOBJS) \
$(HOSTEDOBJS) \


to

Code:
HOSTEDOBJS:=\
$(ARCH_HOSTEDOBJS) \

OBJS:=\
$(FREEOBJS) \
#$(HOSTEDOBJS) \

_________________
"God! Not Unix" - Richard Stallman

Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed


Top
 Profile  
 
 Post subject: Re: About those meaty bones
PostPosted: Sat Sep 27, 2014 6:21 am 
Offline
Member
Member
User avatar

Joined: Wed Mar 21, 2012 3:01 pm
Posts: 930
The issue turned out to be that his editor didn't properly terminate the last line with a \n character. Unix lines are terminated, not separated, so any begun line must end in a \n character.

Additionally, he didn't catch that copying directly from the rendered wiki caused blank lines to be replaced with a single space.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: DotBot [Bot] and 21 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group