Meaty Skeleton whitespace

All about the OSDev Wiki. Discussions about the organization and general structure of articles and how to use the wiki. Request changes here if you don't know how to use the wiki.
Post Reply
sham1
Posts: 16
Joined: Wed Nov 30, 2011 12:44 pm
Libera.chat IRC: sham1

Meaty Skeleton whitespace

Post by sham1 »

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.
User avatar
b.zaar
Member
Member
Posts: 294
Joined: Wed May 21, 2008 4:33 am
Location: Mars MTC +6:00
Contact:

Re: About those meaty bones

Post by b.zaar »

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: Select all

HOSTEDOBJS:=\
$(ARCH_HOSTEDOBJS) \

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

Code: Select all

HOSTEDOBJS:=\
$(ARCH_HOSTEDOBJS) \

OBJS:=\
$(FREEOBJS) \
#$(HOSTEDOBJS) \
"God! Not Unix" - Richard Stallman

Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed
User avatar
sortie
Member
Member
Posts: 931
Joined: Wed Mar 21, 2012 3:01 pm
Libera.chat IRC: sortie

Re: About those meaty bones

Post by sortie »

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.
Post Reply