This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ixp42x NPE networking build issue.



Hello,


I'm experimenting with CVS eCos and trying to get it working for ixp42x board including NPE ethernet support. I've downloaded:

Redboot-v2_01-epk.zip
Redboot-v2_01-npe-microcode.zip

files from intel.com and installed them following their documentation. Unfortunately when I try to build ixdp425 with NPE Ethernet with `all' packages, I get this error message:

arm-elf-gcc -c -I/home/karel/usr/local/xscale-npe1/full_install/include -I/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0 -I/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src -I/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/tests -I. -I/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/ -finline-limit=7000 -mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -g -O2 -ffunction-sections -fdata-sections -fno-exceptions -mapcs-frame -D_KERNEL -D__ECOS -DCPU=33 -DXSCALE=33 -DIX_COMPONENT_NAME=1 -DNDEBUG -I/home/karel/usr/local/xscale-npe1/full_install/include/osal -I/home/karel/usr/local/xscale-npe1/full_install/include/osal/modules/bufferMgt -I/home/karel/usr/local/xscale-npe1/full_install/include/osal/modules/ioMem -I/home/karel/usr/local/xscale-npe1/full_install/include/osal/modules/ioMem -I/home/karel/usr/local/xscale-npe1/full_install/include/osal/ecos/core -I/home/karel/usr/local/xscale-npe1/full_install/include/osal/ecos/modules/bufferMgt -I/home/karel/usr/local/xscale-npe1/full_install/include/osal/ecos/modules/ioMem -I/home/karel/usr/local/xscale-npe1/full_install/include/osal/ecos/platforms/ixp400 -Wp,-MD,src/if_npe.tmp -o src/devs_eth_intel_npe_common_if_npe.o /usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c
In file included from /home/karel/usr/local/xscale-npe1/full_install/include/osal/modules/ioMem/IxOsalIoMem.h:58,
from /home/karel/usr/local/xscale-npe1/full_install/include/osal/IxOsalConfig.h:68,
from /home/karel/usr/local/xscale-npe1/full_install/include/osal/IxOsal.h:62,
from /usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c:68:
/home/karel/usr/local/xscale-npe1/full_install/include/osal/modules/ioMem/IxOsalEndianess.h:74:2: error: #error "Need something for non-RedBoot case!"
In file included from /usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c:68:
/home/karel/usr/local/xscale-npe1/full_install/include/osal/IxOsal.h:1133: warning: function declaration isn't a prototype
In file included from /home/karel/usr/local/xscale-npe1/full_install/include/IxOsalBackward.h:57,
from /home/karel/usr/local/xscale-npe1/full_install/include/IxOsBuffMgt.h:52,
from /home/karel/usr/local/xscale-npe1/full_install/include/IxEthAcc.h:56,
from /usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c:69:
/home/karel/usr/local/xscale-npe1/full_install/include/IxOsalBackwardOsServices.h:72:1: warning: "LOG_WARNING" redefined
In file included from /home/karel/usr/local/xscale-npe1/full_install/include/cyg/io/eth/eth_drv.h:63,
from /usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c:66:
/home/karel/usr/local/xscale-npe1/full_install/include/sys/param.h:1023:1: warning: this is the location of the previous definition
In file included from /home/karel/usr/local/xscale-npe1/full_install/include/IxOsalBackward.h:63,
from /home/karel/usr/local/xscale-npe1/full_install/include/IxOsBuffMgt.h:52,
from /home/karel/usr/local/xscale-npe1/full_install/include/IxEthAcc.h:56,
from /usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c:69:
/home/karel/usr/local/xscale-npe1/full_install/include/IxOsalBackwardOssl.h:166: warning: function declaration isn't a prototype
/home/karel/usr/local/xscale-npe1/full_install/include/IxOsalBackwardOssl.h:246: warning: function declaration isn't a prototype
/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c: In function 'npe_init':
/usr/local/src/cvs/ecos/ecos/packages/devs/eth/intel/npe/common/v2_0/src/if_npe.c:917: warning: unused variable 'i'
make[1]: *** [src/if_npe.o.d] Error 1
make[1]: Leaving directory `/home/karel/usr/local/xscale-npe1/full_build/devs/eth/intel/npe/common/v2_0'
make: *** [build] Error 2



Has anybody here succeed compiling this stuff?


Thanks,
Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]