Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Compilation error - while compile mpc85xx code in QNX Core Networking source code: (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


Re: Compilation error - while compile mpc85xx code in QNX Core Networking source code  
This header should be installed for you when you
'make install' from io-pkt/sys/lib/libstartup.
If not you can also get it from the hw/bsp project:

http://community.qnx.com/svn/repos/bsp/trunk/hardware/startup/lib/public/hw

-seanb

On Wed, Nov 18, 2009 at 07:17:45AM -0500, Senthil K wrote:
> 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
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> Builds
> http://community.qnx.com/sf/go/post42140
> 
Re: Compilation error - while compile mpc85xx code in QNX Core Networking source code  
Hi Sean,

Thanks a lot,Now we are able to compile the mpc85xx code.

Thanks and Regards
K.Senthil