We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Why Keil refuses to compile if I use the standard libraries? The Listings of the ravine and program below? That me it is necessary to do to correct these errors?
I use: IDE-Version: µVision3 V3.50 Copyright (c) Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2007
Tool Version Numbers: Toolchain Path: D:\Soft\Radio\Keil\Keil\C166\BIN\ EC++ Compiler: EC166.Exe V1.09b C Compiler: C166.Exe V6.06 Assembler: A166.Exe V5.21 Linker/Locator: L166.Exe V5.22 Librarian: LIB166.Exe V4.26 Hex Converter: OH166.Exe V4.7a CPU DLL: S166.DLL V2.52 Dialog DLL: D167.DLL V2.48
µVision3 Build Log Project: D:\Документы\Keil\INCA-P\inca-p.uv2 Project File Date: 03/14/2007 Output: Build target 'INCA-P' compiling main.C... D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(78): error C155: 'XBCON3': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(136): error C155: 'EXICON': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(180): error C155: 'DP0L': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(181): error C155: 'DP0H': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(182): error C155: 'DP1L': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(183): error C155: 'DP1H': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(200): error C155: 'ODP2': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(201): error C155: 'ODP3': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(202): error C155: 'ODP6': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(203): error C155: 'ODP7': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(205): error C155: 'XP0IC': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(206): error C155: 'XP1IC': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(207): error C155: 'XP2IC': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(208): error C155: 'XP3IC': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(209): error C155: 'RP0H': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(210): error C67: 'XP0IC': undefined identifier D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(211): error C67: 'XP0IC': undefined identifier D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(212): error C67: 'XP1IC': undefined identifier D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(213): error C67: 'XP1IC': undefined identifier D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(214): error C67: 'XP2IC': undefined identifier D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(215): error C67: 'XP2IC': undefined identifier D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(216): error C67: 'XP3IC': undefined identifier D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(217): error C67: 'XP3IC': undefined identifier D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(237): error C155: 'P2ALTSEL0': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(238): error C155: 'P2ALTSEL1': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(239): error C155: 'P3ALTSEL0': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(240): error C155: 'P3ALTSEL1': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(241): error C155: 'P6ALTSEL0': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(242): error C155: 'P7ALTSEL0': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(282): error C155: 'S0TBIC': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(295): error C67: 'S0TBIC': undefined identifier D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(296): error C67: 'S0TBIC': undefined identifier D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(302): error C155: 'SSCCLC': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(306): error C155: 'SSCTB': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(307): error C155: 'SSCRB': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(308): error C155: 'SSCBR': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(433): error C155: 'ICINTEIE': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(433): error C156: 'ICINTEIE': invalid 'sbit' declaration D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(435): error C155: 'ICINTEIR': invalid base address D:\SOFT\RADIO\KEIL\KEIL\C166\INC\REGINCA.H(435): error C156: 'ICINTEIR': invalid 'sbit' declaration assembling START167.A66... Target not created
#include <stdio.h> /* standard I/O .h-file */ #include <RegINCA.h> /* специальные функции PSB21493 */ /****************/ /* main program */ /****************/ void main (void) { while (1) {} }
All thank you.