Pumpkin, Inc.

Pumpkin User Forums

Build failed!!!!!!!!!!!!!

For issues specific to Microchip's PICmicro® MCUs, including compilers (e.g. HI-TECH PICC & PICC-18, Microchip MPLAB®-C18) and IDEs (e.g. Microchip MPLAB®).

Build failed!!!!!!!!!!!!!

Postby HeenaMaru » Tue Aug 23, 2005 9:10 am

Hi all,

I am trying to build a project with MPLAB 7.20 and HTPIC 18 demo version...with tu6 project...but getting the error...

Clean: Deleting intermediary and output files.
Clean: Deleted file "C:salvo project empmem.obj".
Clean: Deleted file "C:salvo project empmem.cce".
Clean: Deleted file "C:salvo project empisr.cce".
Clean: Done.
Executing: "C:HTSOFTPIC18BINPICC18.EXE" -C -E"mem.cce" "mem.c" -O"mem.obj" -I"" -I"c:salvoinc" -Zg9 -O -ASMLIST -Q -MPLAB -18C452

This compiler will expire in 19 days
Compiler operating in demo mode.
Some command line options are disabled and compilation is delayed.
Register this compiler to enable these options.

Executing: "C:HTSOFTPIC18BINPICC18.EXE" -C -E"isr.cce" "isr.c" -O"isr.obj" -I"" -I"c:salvoinc" -Zg9 -O -ASMLIST -Q -MPLAB -18C452

This compiler will expire in 19 days
Compiler operating in demo mode.
Some command line options are disabled and compilation is delayed.
Register this compiler to enable these options.

Executing: "C:HTSOFTPIC18BINPICC18.EXE" -C -E"main.cce" "main.c" -O"main.obj" -I"" -I"c:salvoinc" -Zg9 -O -ASMLIST -Q -MPLAB -18C452

This compiler will expire in 19 days
Compiler operating in demo mode.
Some command line options are disabled and compilation is delayed.
Register this compiler to enable these options.

Warning[000] C:salvo project empmain.c 22 : Redefining macro "PORT"
Warning[000] C:salvo project empmain.c 23 : Redefining macro "InitPORT"
Warning[000] C:salvo project empmain.c 100 : function declared implicit int
Executing: "C:HTSOFTPIC18BINPICC18.EXE" -E"yogesh.lde" "C:salvo project empmem.obj" "C:salvo project empisr.obj" "C:salvo project empmain.obj" "C:salvolibsfp80lab.lib" -M"yogesh.map" -W-9 -O"yogesh.cof" -O"yogesh.hex" -Q -MPLAB -18C452

This compiler will expire in 19 days
Compiler operating in demo mode.
Some command line options are disabled and compilation is delayed.
Register this compiler to enable these options.

Error[000] C:salvolibsfp80lab.lib(delay.obj) 12 : signatures do not match: _OSDelay (C:salvolibsfp80lab.lib: delay.obj): 0x2078/0x1078
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OSecbArea (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OSdelayQP (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OScTcbP (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OStcbArea (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OSsigQinP (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OSeligQP (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OSglStat (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OSsigQoutP (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OSecbArea (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OSdelayQP (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OScTcbP (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OStcbArea (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OSsigQinP (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OSeligQP (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OSglStat (C:salvo project empmem.obj)
Error[000] C:salvolibsfp80lab.lib(mem.obj) 10 : multiply defined symbol: _OSsigQoutP (C:salvo project empmem.obj)
Warning[000] : function copy_big is never called
Warning[000] : function clear_common is never called
Warning[000] : function copy_data is never called
Warning[000] : function clear_ram is never called
Warning[000] : function clear_bss is never called
Error[000] : undefined symbol:
Error[000] : _Init (C:salvo project empmain.obj)
BUILD FAILED: Wed Aug 24 10:25:15 2005

Any forward reply on this will be appreciated!!!

Thanx n regards,
Heena Maru

HeenaMaru
 
Posts: 7
Joined: Sun Aug 07, 2005 11:00 pm
Location: Mumbai ,Maharashtra , India

Re: Build failed!!!!!!!!!!!!!

Postby aek » Wed Aug 24, 2005 1:10 am

Please post your salvocfg.h file ...

Also, do you have the latest version of Salvo for PIC? I.e. v3.2.3?

------------------

[This message has been edited by aek (edited August 24, 2005).]

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: Build failed!!!!!!!!!!!!!

Postby aek » Thu Aug 25, 2005 7:37 am

Hello.

You are not running the latest Salvo for PIC. Anything earlier is unsupported.

Please uninstall Salvo, and delete all files in Salvo.

Then download the latest version (Salvo v3.2.3 for PICmicro(R) MCUs) from our website and install it.

You should be able to build tu6lite immediately, though you will have to follow our instructions (given previously in response to your posts) regarding the use of the HI-TECH PICC-18 demo compiler and MPLAB v6/v7.

Build Results:

code:
Executing: "C:HTSOFTPIC18BINPICC18.EXE" -C -E"mem.cce" "mem.c" -O"mem.obj" -I"SALVOTUTTU6SYSF" 
-I"SALVOTUTTU6SYSF.... u1" -I"SALVOTUTTU6SYSF......inc" -Q
-MPLAB -18C452 -Zg9 -O -DSYSF -DMAKE_WITH_FREE_LIB -DUSE_INTERRUPTS
-ASMLIST
Executing: "C:HTSOFTPIC18BINPICC18.EXE" -C -E"isr.cce" "isr.c" -O"isr.obj" -I"SALVOTUTTU6SYSF"
-I"SALVOTUTTU6SYSF.... u1" -I"SALVOTUTTU6SYSF......inc" -Q
-MPLAB -18C452 -Zg9 -O -DSYSF -DMAKE_WITH_FREE_LIB -DUSE_INTERRUPTS
-ASMLIST
Executing: "C:HTSOFTPIC18BINPICC18.EXE" -C -E"main.cce" "main.c" -O"main.obj" -I"SALVOTUTTU6SYSF"
-I"SALVOTUTTU6SYSF.... u1" -I"SALVOTUTTU6SYSF......inc" -Q
-MPLAB -18C452 -Zg9 -O -DSYSF -DMAKE_WITH_FREE_LIB -DUSE_INTERRUPTS
-ASMLIST
Executing: "C:HTSOFTPIC18BINPICC18.EXE" -E"tu6lite.lde" "C:salvosrcmem.obj" "C:salvo ut u1isr.obj"
"C:salvo ut u6main.obj" "C:salvolibhtpicc18sfp80lab.lib" -Q
-MPLAB -18C452 -M"tu6lite.map" -FAKELOCAL -O"tu6lite.cof"

Memory Usage Map:

Program ROM $000000 - $000003 $000004 ( 4) bytes
Program ROM $000006 - $00000F $00000A ( 10) bytes
Program ROM $000018 - $000A43 $000A2C ( 2604) bytes
$000A3A ( 2618) bytes total Program ROM

RAM data $0000F0 - $0000FF $000010 ( 16) bytes
RAM data $0005BC - $0005FF $000044 ( 68) bytes
$000054 ( 84) bytes total RAM data

Near RAM $000000 - $00000F $000010 ( 16) bytes total Near RAM
ROM data $000004 - $000005 $000002 ( 2) bytes total ROM data


Program statistics:

Total ROM used 2620 bytes (8.0%)
Total RAM used 100 bytes (6.5%) Near RAM used 16 bytes (12.5%)

Loaded C:salvo ut u6sysf u6lite.cof
BUILD SUCCEEDED: Thu Aug 25 08:36:11 2005


If you code it yourself, use this as your salvocfg.h:
code:
#define SYSF
#define USE_INTERRUPTS
#define OSUSE_LIBRARY TRUE
#define OSLIBRARY_TYPE OSF
#define OSLIBRARY_CONFIG OSA
#define OSLIBRARY_VARIANT OSB
#define OSEVENTS 1
#define OSEVENT_FLAGS 0
#define OSMESSAGE_QUEUES 0
#define OSTASKS 3

------------------

[This message has been edited by aek (edited August 25, 2005).]

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: Build failed!!!!!!!!!!!!!

Postby aek » Thu Aug 25, 2005 7:39 am

Header for tu6lite's salvocfg.h from latest Salvo version:
code:
/************************************************************ 
Copyright (C) 1995-2002 Pumpkin, Inc. and its
Licensor(s). Freely distributable.

$Source: C:\RCS\d\salvo\tut\tu6\sysf\salvocfg.h,v $
$Author: aek $
$Revision: 3.5 $
$Date: 2003-07-30 17:31:27-07 $

Header file for tutorial programs.

************************************************************/


------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: Build failed!!!!!!!!!!!!!

Postby HeenaMaru » Thu Aug 25, 2005 11:27 am

The SALVOCFG.h file is:

code:
/************************************************************ 
Copyright (C) 1995-2002 Pumpkin, Inc. and its
Licensor(s). Freely distributable.

$Source: C:\RCS\d\salvo\tut\tu6\sysf\salvocfg.h,v $
$Author: aek $
$Revision: 3.2 $
$Date: 2002-10-06 15:31:29-07 $

Header file for tutorial programs.

************************************************************/

#if !defined (MAKE_WITH_FREE_LIB) && !defined (MAKE_WITH_STD_LIB)

/* */
/* configuration options for project that's made using the */
/* source files. */
/* */
#define OSBYTES_OF_DELAYS 1
#define OSCLEAR_WATCHDOG_TIMER() asm(" clrwdt")
#define OSENABLE_IDLING_HOOK TRUE
#define OSENABLE_MESSAGES TRUE
#define OSEVENTS 1
#define OSTASKS 3
#define OSLOC_ALL near
#else

/* */
/* configuration options for projects that are made using */
/* either the freeware or standard libraries. Multitasking */
/* with delays and events, services called only from */
/* background. */
/* */
#define OSUSE_LIBRARY TRUE
#if defined(MAKE_WITH_FREE_LIB)
#define OSLIBRARY_TYPE OSF
#elif defined(MAKE_WITH_STD_LIB)
#define OSLIBRARY_TYPE OSL
#endif
#define OSLIBRARY_CONFIG OSA
#define OSLIBRARY_VARIANT OSB


/* these were added for v2.3.0 to minimize RAM requirements */
/* so that the application could fit on the 16F84. They */
/* aren't needed (and mem.c need not be a node in the */
/* project) for PICmicros with more RAM. */
#define OSEVENTS 1
#define OSEVENT_FLAGS 0
#define OSMESSAGE_QUEUES 0
#define OSTASKS 3

#endif


Thanx n Regards,
Heena Maru

[edited by aek to add code formatting tags]

[This message has been edited by aek (edited August 25, 2005).]

HeenaMaru
 
Posts: 7
Joined: Sun Aug 07, 2005 11:00 pm
Location: Mumbai ,Maharashtra , India

Re: Build failed!!!!!!!!!!!!!

Postby aek » Mon Aug 29, 2005 7:36 am

quote:
If you code it yourself, use this as your salvocfg.h:

code:

#define SYSF
#define USE_INTERRUPTS
#define OSUSE_LIBRARY TRUE
#define OSLIBRARY_TYPE OSF
#define OSLIBRARY_CONFIG OSA
#define OSLIBRARY_VARIANT OSB
#define OSEVENTS 1
#define OSEVENT_FLAGS 0
#define OSMESSAGE_QUEUES 0
#define OSTASKS 3

------------------


------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: Build failed!!!!!!!!!!!!!

Postby HeenaMaru » Mon Aug 29, 2005 8:57 am

well I am using the same code for salvocfg.h which you have mentioned. But the problem lies in main.h ...the last line of main.h is the problem i.e

#error Undefined Salvo test system (SYS*). Definition required.

can you please give me the code for main.h

HeenaMaru
 
Posts: 7
Joined: Sun Aug 07, 2005 11:00 pm
Location: Mumbai ,Maharashtra , India

Re: Build failed!!!!!!!!!!!!!

Postby aek » Mon Aug 29, 2005 9:03 am

Hi Heena.

Actually, you're not, since SYSF is defined in that salvocfg.h.

What happens if you just try to build the sample project in salvo ut u6sysf u5pro.mpj? The results I posted were from a direct build of the sample project.

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: Build failed!!!!!!!!!!!!!

Postby HeenaMaru » Mon Aug 29, 2005 11:14 am

Hey now I am using the latest version of SALVO ie salvo-lite-pic-3.2.3 .
now the error is:

Clean: Deleting intermediary and output files.
Clean: Deleted file "C:salvo project estisr.obj".
Clean: Deleted file "C:salvo project estisr.cce".
Clean: Deleted file "C:salvo project estmem.obj".
Clean: Deleted file "C:salvo project estmem.cce".
Clean: Deleted file "C:salvo project estmain.cce".
Clean: Done.
Executing: "C:HTSOFTPIC18BINPICC18.EXE" -C -E"isr.cce" "isr.c" -O"isr.obj" -Zg9 -O -ASMLIST -Q -MPLAB -18C452

This compiler will expire in 14 days
Compiler operating in demo mode.
Some command line options are disabled and compilation is delayed.
Register this compiler to enable these options.

Executing: "C:HTSOFTPIC18BINPICC18.EXE" -C -E"mem.cce" "mem.c" -O"mem.obj" -Zg9 -O -ASMLIST -Q -MPLAB -18C452

This compiler will expire in 14 days
Compiler operating in demo mode.
Some command line options are disabled and compilation is delayed.
Register this compiler to enable these options.

Executing: "C:HTSOFTPIC18BINPICC18.EXE" -C -E"main.cce" "main.c" -O"main.obj" -Zg9 -O -ASMLIST -Q -MPLAB -18C452

This compiler will expire in 14 days
Compiler operating in demo mode.
Some command line options are disabled and compilation is delayed.
Register this compiler to enable these options.

Error[000] C:salvo project estmain.h 371 : #error: Undefined Salvo test system (SYS*). Definition required.
Halting build on first failure as requested.
BUILD FAILED: Mon Aug 29 11:21:59 2005


wats this error for Undefined Salvo test system (SYS*). Definition required. ........?

please help me out for the same

Thanks and Regards,
Heena

HeenaMaru
 
Posts: 7
Joined: Sun Aug 07, 2005 11:00 pm
Location: Mumbai ,Maharashtra , India


Return to PICmicro MCUs

Who is online

Users browsing this forum: No registered users and 3 guests

cron