Pumpkin, Inc.

Pumpkin User Forums

Salvo causes warning from Keil LX51

For issues specific to the 8051 family, including compilers (e.g. Keil C51) and IDEs (e.g. uVision2).

Salvo causes warning from Keil LX51

Postby dfleck » Thu Jul 25, 2002 6:37 am

I am using the Keil tools to compile my application. I am using the freeware library sfc51siaa.lib. The linker is generating "Warning L25: Data Types Different" when I use a Salvo service. How can I eliminate the warning?

Here is my salvocfg.h file:
#define OSUSE_LIBRARY TRUE
#define OSLIBRARY_TYPE OSF
#define OSLIBRARY_GLOBALS OSI
#define OSLIBRARY_CONFIG OSA
#define OSLIBRARY_VARIANT OSA

Here is some output from the *.map file:
LX51 LINKER/LOCATER V3.51, INVOKED BY:
C:PROGRAMSKEILC51BINLX51.EXE .objSTARTUP.obj, .objmain.obj, .objerror.obj, .objled.obj, C:ProgramsSalvoli
>> telibsfc51siaa.lib, .objINIT.obj TO .objCA25 REGFILE (.objCA25.ORC) PRINT (.lstCA25.map) IXREF

CPU MODE: 8051 MODE
MEMORY MODEL: SMALL

<deleted alot of stuff>

*** WARNING L25: DATA TYPES DIFFERENT
SYMBOL: _?OSCreateBinSem
MODULE: .objmain.obj (MAIN)
DEFINED: C:ProgramsSalvolitelibsfc51siaa.lib (BINSEM)

*** WARNING L25: DATA TYPES DIFFERENT
SYMBOL: _OSCreateTask
MODULE: .objmain.obj (MAIN)
DEFINED: C:ProgramsSalvolitelibsfc51siaa.lib (INITTASK)

------------------
Donald A. Fleck

Donald A. Fleck
dfleck
 
Posts: 28
Joined: Sun May 12, 2002 11:00 pm
Location: Breinigsville, PA, USA

Re: Salvo causes warning from Keil LX51

Postby aek » Thu Jul 25, 2002 9:15 am

Hi Donald.

When using the LX51 linker, you'll need to use Salvo libraries with cx51 in them, e.g. sfcx51siaa.lib.

I see the manual is not up-to-date. We'll get that fixed shortly.

Reviewing things here, I see that many of the Cx51 tech support questions have been answered via direct email and not on the forums .. our bad. Please continue to use the Forums, and we'll try to move any applicable queries over here for all to see ...

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

[This message has been edited by aek (edited July 25, 2002).]

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

Re: Salvo causes warning from Keil LX51

Postby Henry » Tue Feb 24, 2004 1:28 am

I have similar results with a different permutation. I'd appreciate any suggestions anyone may have.

- Keil C51 (extended linker LX51)

- Micro is Dallas DS5240 (using 24 bit contiguous memory)

- Salvo library sfcx51lxtb.lib

- salvocfg.h:
#define OSUSE_LIBRARY TRUE
#define OSLIBRARY_TYPE OSF
#define OSLIBRARY_CONFIG OST
#define OSLIBRARY_GLOBALS OSX
#define OSLIBRARY_VARIANT OSB
#define OSLIBRARY_OPTION OSNONE

- Compile/link output:
Build target 'Target 1'
linking...
*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OStimerTicks
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSdelayQP
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSsigQinP
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSsigQoutP
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSeligQP
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OSlostTicks
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: OScTcbP
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: ?C?LSTKXDATA
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSeligQP
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
ADDRESS: 100013DH
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OScTcbP
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
ADDRESS: 1000143H
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSdelayQP
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
ADDRESS: 1000149H
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSlostTicks
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
ADDRESS: 100014FH
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OStimerTicks
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
ADDRESS: 1000153H
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: ?C?LSTKXDATA
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
ADDRESS: 1000156H
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSsigQinP
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
ADDRESS: 100015EH
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: OSsigQoutP
MODULE: C:Program Filessalvolibkc51sfcx51lxtb.lib (INIT)
ADDRESS: 1000164H
Program Size: data=9.0 xdata=8 const=0 code=1032
Target not created

Henry
 
Posts: 2
Joined: Tue Feb 24, 2004 12:00 am

Re: Salvo causes warning from Keil LX51

Postby Henry » Tue Feb 24, 2004 7:45 am

All solved, thanks -- had problem including salvocfg.h from mem.c.
Henry
 
Posts: 2
Joined: Tue Feb 24, 2004 12:00 am


Return to 8051 family

Who is online

Users browsing this forum: No registered users and 1 guest

cron