Skyeye compilation problems and solutions

Source: Internet
Author: User
Article title: skyeye compilation problems and solutions. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

First, let me explain my environment, ubuntu linux 7.04 desktop edition, gcc 4.1.2, and skyeye 1.2.3. Next, download and install skyeye:

1) Download the latest skyeyeon the http://gro.clinux.org, and the latest version is 1.2.3. the downloaded file is skyeye_1_2_3_rel.tar.bz2

2) run the following command to decompress the package:
$ Tar jvxf skyeye_1_2_3_Rel.tar.bz2

3) enter the decompressed Directory
$ Cd skyeye_1_2_3_Rel

4) enter the make command
$ Make NO_DBCT = 1 NO_BFD = 1 NO_ LCD = 1 the following prompt appears:

Test @ ubuntu-kde-pc :~ / Incoming / Skyeye_1_2_3_Rel $ Make NO_DBCT = 1 NO_BFD = 1 NO_ LCD = 1
--------------------------- NOTICE ------------------------------
If You always get error , Please Run   " Make NO_CHECK = 1 " Instead .
-----------------------------------------------------------------
Checking whether host is big endian ... No
Checking gcc ... OK ( Gcc version: 4.1 . 2   )
-----------------------------------------------------------------
Gcc-g-O2-D_FILE_OFFSET_BITS = 64 -DSTANDALONE-DDEFAULT_INLINE = 0 -DMODET-I arch / Arm-I arch / Arm / Common-I arch / Arm / Common / Mmu-I arch / Arm / Mach-I arch / Bfin / Common-I arch / Bfin / Mach-I arch / Coldfire / Common-I Device -I Device / Net -I Device / LCD-I Device / Flash-I Device / Uart-I utils / Share-I utils / Main-I utils / Config-I utils / Debugger-Darm-I . -DNO_DBCT-DNO_BFD-DNO_ LCD-o binary / Skyeye binary / Skyeye . O
-- Start -Group-Lbinary-larm-ldev-lutils-lbfin-lcoldfire-lmips-lppc -- End -Group
Binary / Libppc . A ( Ppc_vec . O ) : In function 'ppc _ opc_vctuxs ':
/ Home / Test / Incoming / Skyeye_1_2_3_Rel / Arch / Ppc / Common // Ppc_vec . C: 2770 : Undefined reference to 'truncf'
Binary / Libppc . A ( Ppc_vec . O ) : In function 'ppc _ opc_vctsxs ':
/ Home / Test / Incoming / Skyeye_1_2_3_Rel / Arch / Ppc / Common // Ppc_vec . C: 2741 : Undefined reference to 'truncf'
Binary / Libppc . A ( Ppc_vec . O ) : In function 'ppc _ opc_vrfiz ':
/ Home / Test / Incoming / Skyeye_1_2_3_Rel / Arch / Ppc / Common // Ppc_vec . C: 2609 : Undefined reference to 'truncf'
Binary / Libppc . A ( Ppc_vec . O ) : In function 'ppc _ opc_vexptefp ':
/ Home / Test / Incoming / Skyeye_1_2_3_Rel / Arch / Ppc / Common // Ppc_vec . C: 2693 : Undefined reference to 'pow'
Binary / Libppc . A ( Ppc_vec . O ) : In function 'ppc _ opc_vlogefp ':
/ Home / Test / Incoming / Skyeye_1_2_3_Rel / Arch / Ppc / Common // Ppc_vec . C: 2672 : Undefined reference to 'log'
/ Home / Test / Incoming / Skyeye_1_2_3_Rel / Arch / Ppc / Common // Ppc_vec . C: 2672 : Undefined reference to 'log'
Binary / Libppc . A ( Ppc_vec . O ) : In function 'ppc _ opc_vrsqrtefp ':
/ Home / Test / Incoming / Skyeye_1_2_3_Rel / Arch / Ppc / Common // Ppc_vec . C: 2651 : Undefined reference to 'sqrt'
Binary / Libppc . A ( Ppc_vec . O ) : In function 'ppc _ opc_vrfin ':
/ Home / Test / Incoming / Skyeye_1_2_3_Rel / Arch / Ppc / Common // Ppc_vec . C: 2564 : Undefined reference to 'rintf'
Collect2: ld returned 1   Exit Status
Make: *** [binary / Skyeye] Error 1

5) Are there any prompts to link to pow? I think pow should be a function in the data computing library. Is it because the math library has no link? Find the SKYEYE_LIB =-Lbinary-larm-ldev-lutils-lbfin-lcoldfire-lmips line of Makefile, add-lm to the end, and then compile. everything is OK.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.