Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Compilation error - while compile mpc85xx code in QNX Core Networking source code: Page 1 of 3 (3 Items)
   
Compilation error - while compile mpc85xx code in QNX Core Networking source code  
Hi

I have compiled the mpc85xx network driver in the QNX Host using QNX Networking source code.

I have entered /home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx directory and i gave 

make CPULIST=ppc

The following are the erros while buliding network driver
=================================

# make CPULIST=ppc

make -j 1 -Cppc -fMakefile

make[1]: Entering directory `/home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx/ppc'

make -j 1 -Cdll.be -fMakefile

make[2]: Entering directory `/home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx/ppc/dll.be'

/usr/qnx641/host/qnx6/x86/usr/bin/qcc -Vgcc_ntoppc -c -O -Wc,-Wall -Wc,-Wno-parentheses   -D_KERNEL -fno-builtin-log -
DNDEBUG   -I. -I/home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx/ppc/dll.be -I/home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx/ppc
 -I/home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx -I/usr/qnx641/target/qnx6/usr/include/io-pkt -I/usr/qnx641/target/qnx6/
usr/include/io-pkt/sys-nto -I/usr/qnx641/target/qnx6/usr/include/io-pkt -I/usr/qnx641/target/qnx6/usr/include/io-pkt/sys
-nto -I/sys -I/sys/sys-nto -I/lib/socket/public -I/usr/qnx641/target/qnx6/usr/include       -EB   -shared   -
DVARIANT_dll -DVARIANT_be -DBUILDENV_qss  /home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx/detect.c

/home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx/detect.c:24:28: error: hw/hwinfo_85xx.h: No such file or directory

/home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx/detect.c: In function 'ppc8xxx_get_syspage_params':

/home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx/detect.c:1325: error: 'PPC85xx_HWI_eTSEC' undeclared (first use in this 
function)

/home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx/detect.c:1325: error: (Each undeclared identifier is reported only once

/home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx/detect.c:1325: error: for each function it appears in.)

/home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx/detect.c:1341: warning: implicit declaration of function 
'hwitag_find_nicaddr'

/home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx/detect.c:1345: warning: implicit declaration of function 
'hwitag_find_phyaddr'

cc: /usr/qnx641/host/qnx6/x86/usr/lib/gcc/powerpc-unknown-nto-qnx6.4.0/4.3.3/cc1 error 1

make[2]: *** [detect.o] Error 1

make[2]: Leaving directory `/home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx/ppc/dll.be'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/senthil/QNX_6.4.1/sys/dev_qnx/mpc85xx/ppc'

make: *** [all] Error 2


Please help on this issue.


Thanks and Regards
K.Senthil