mplab c18 linker problem

Hi all,
I downloaded the code of MyApp from PicOs page and I’m trying to build it with 18f5420.lkr . This is my first project for a course and it gives the following error:

Debug build of project C:\Users\duygu\Desktop\jdfd\het.mcp' started. Preprocessor symbol__DEBUG’ is defined.
Sat May 29 11:40:56 2010

Make: The target “C:\Users\duygu\Desktop\jdfd\int.o” is out of date.
Executing: “C:\MCC18\bin\mcc18.exe” -p=18F4520 /i"C:\PICos18_v2_10\Include" -I"C:\MCC18\h" “C:\Users\duygu\Desktop\PICos18_v2_10\Project\MyApp\int.c” -fo=“int.o” -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
MPLAB C18 v3.00 (demo)
Copyright 1999-2005 Microchip Technology Inc.
Days remaining until demo becomes feature limited: 59
Make: The target “C:\Users\duygu\Desktop\jdfd\main.o” is out of date.
Executing: “C:\MCC18\bin\mcc18.exe” -p=18F4520 /i"C:\PICos18_v2_10\Include" -I"C:\MCC18\h" “C:\Users\duygu\Desktop\PICos18_v2_10\Project\MyApp\main.c” -fo=“main.o” -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
MPLAB C18 v3.00 (demo)
Copyright 1999-2005 Microchip Technology Inc.
Days remaining until demo becomes feature limited: 59
Make: The target “C:\Users\duygu\Desktop\jdfd askdesc.o” is up to date.
Make: The target “C:\Users\duygu\Desktop\jdfd sk_task0.o” is out of date.
Executing: “C:\MCC18\bin\mcc18.exe” -p=18F4520 /i"C:\PICos18_v2_10\Include" -I"C:\MCC18\h" “C:\Users\duygu\Desktop\PICos18_v2_10\Project\MyApp sk_task0.c” -fo=“tsk_task0.o” -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
MPLAB C18 v3.00 (demo)
Copyright 1999-2005 Microchip Technology Inc.
Days remaining until demo becomes feature limited: 59
Make: The target “C:\Users\duygu\Desktop\jdfd\pro_man.o” is out of date.
Executing: “C:\MCC18\bin\mcc18.exe” -p=18F4520 /i"C:\PICos18_v2_10\Include" -I"C:\MCC18\h" “C:\PICos18_v2_10\Kernel\pro_man.c” -fo=“pro_man.o” -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
MPLAB C18 v3.00 (demo)
Copyright 1999-2005 Microchip Technology Inc.
Days remaining until demo becomes feature limited: 59
Make: The target “C:\Users\duygu\Desktop\jdfd\kernel.o” is out of date.
Executing: “C:\MCC18\mpasm\MPASMWIN.exe” /q /p18F4520 “C:\PICos18_v2_10\Kernel\kernel.asm” /l"kernel.lst" /e"kernel.err" /o"kernel.o" /d__DEBUG=1
Make: The target “C:\Users\duygu\Desktop\jdfd\het.cof” is out of date.
Executing: “C:\MCC18\bin\mplink.exe” /l"C:\PICos18_v2_10\Kernel" /l"C:\MCC18\lib" “…\PICos18_v2_10\Linker\18f4520.lkr” “int.o” “main.o” “taskdesc.o” “tsk_task0.o” “pro_man.o” “kernel.o” “C:\PICos18_v2_10\Kernel\PICos18.o” “C:\PICos18_v2_10\Kernel\PICos18i.o” “C:\PICos18_v2_10\Kernel\PICos18iz.o” “C:\PICos18_v2_10\Kernel\picos18.lib” /o"het.cof" /M"het.map" /W
MPLINK 4.00, Linker
Copyright © 2005 Microchip Technology Inc.
Error - section ‘_entry_scn’ type is non-overlay and absolute but occurs in more than one input file.
Errors : 1

Link step failed.

Debug build of project C:\Users\duygu\Desktop\jdfd\het.mcp' failed. Preprocessor symbol__DEBUG’ is defined.
Sat May 29 11:41:00 2010

BUILD FAILED

Here’s my 18f4520.lkr :

LIBPATH .

FILES PICos18iz.o
FILES picos18.lib
FILES clib.lib
FILES p18f4520.lib

///
//
Describe the ROM physical memory organisation /
//
/
CODEPAGE NAME=BOOT START=0x0000 END=0x0007
CODEPAGE NAME=vectors START=0x0008 END=0x001F PROTECTED
CODEPAGE NAME=BOOTSEC START=0x0020 END=0x01FF PROTECTED
CODEPAGE NAME=DESCRIPT START=0x0200 END=0x02FF PROTECTED
CODEPAGE NAME=KERNEL START=0x0300 END=0x1FFF PROTECTED
CODEPAGE NAME=TASKS START=0x2000 END=0x7DBF
CODEPAGE NAME=debug START=0x7DC0 END=0x7FFF PROTECTED
CODEPAGE NAME=idlocs START=0x200000 END=0x200007 PROTECTED
CODEPAGE NAME=config START=0x300000 END=0x30000D PROTECTED
CODEPAGE NAME=devid START=0x3FFFFE END=0x3FFFFF PROTECTED
CODEPAGE NAME=eedata START=0xF00000 END=0xF000FF PROTECTED

///
//
Link the logical areas (SECTION) to ROM physical memory /
//
/
SECTION NAME=INT ROM=vectors
SECTION NAME=KERNEL_ROM ROM=KERNEL
SECTION NAME=DESC_ROM ROM=DESCRIPT
SECTION NAME=CONFIG ROM=config

///
//
Describe the RAM physical memory organisation /
//
/
ACCESSBANK NAME=accessram START=0x0 END=0x5F
DATABANK NAME=kernel START=0x60 END=0xFF PROTECTED
DATABANK NAME=task1 START=0x100 END=0x1FF
DATABANK NAME=task2 START=0x200 END=0x2FF
DATABANK NAME=task3 START=0x300 END=0x3FF
DATABANK NAME=task4 START=0x400 END=0x4FF
DATABANK NAME=task5 START=0x500 END=0x57F
DATABANK NAME=main START=0x580 END=0x5F3 PROTECTED
DATABANK NAME=dbgspr START=0x5F4 END=0x5FF PROTECTED
ACCESSBANK NAME=accesssfr START=0xF80 END=0xFFF PROTECTED

///
//
Link the logical areas (SECTION) to RAM physical memory /
//
/
SECTION NAME=KERNEL_RAM RAM=kernel

STACK SIZE=0x74 RAM=main

//* End of File : 18f4520.lkr */

Can anybody please help?

A simple search of the forums for ‘_entry_scn’ yields many discussions. Try this one for suggestions.