Sponsored Content
Operating Systems Linux Ubuntu ./configure command Error while trying to install GCC compiler on unix machine Post 302270441 by viji19812001 on Sunday 21st of December 2008 10:55:55 PM
Old 12-21-2008
Hi Neo,

Thanx!!!!

Configure command works now with the values i386-redhat-linux.....

Also sorry I had done some mistake cat /proc/version gives the following output:

Linux version 2.6.25-14.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Thu May 1 06:28:41 EDT 2008

Let me actually tell you what Iam trying to do so that you could help me in a better way.
Iam trying to install the opentv SDK3.2 kit (interactive tv application ) from the link Welcome to OpenTV .
Thier code is in ansi C and needs to be complied using the kit to get the ocode as the output.
Iam doing this for the first time and just following the instructions given in thier install file.


Install File says:

1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.

2. Type `make' to compile the package.

3. Optionally, type `make check' to run any self-tests that come with
the package.

4. Type `make install' to install the programs and any data files and
documentation.



Now Output for configure in my system is as follows:
I ran the command from the gcc2.60 directory as it has all the .c files present.

[vijv@137 gcc-2.60] ./configure i386-redhat-linux
Linked `config.h' to `./config/i386/xm-linux.h'
Linked `tm.h' to `./config/i386/linux.h'
Linked `aux-output.c' to `./config/i386/i386.c'
Linked `tconfig.h' to `./config/i386/xm-linux.h'
Linked `hconfig.h' to `./config/i386/xm-linux.h'
Linked `md' to `./config/i386/i386.md'
Merged i386/x-linux.
Merged c++ fragment(s).
Created `./Makefile'.
Merged i386/x-linux.
Created `cp/Makefile'.
Links are now set up for target i386-redhat-linux.


Now when I give make command as per the second step in the same directory ,it gives me errors....Am I doing something wrong ?....or is this the rite way to do it.
Do let me know in case u need any more info from me.

output of make command:

make
cc -DIN_GCC -DPOSIX -g -I. -I. -I./config \
-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i386-redhat-linux/2.6.0/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i386-redhat-linux/2.6.0/sys-include\" \
-DTOOL_INCLUDE_DIR=\"/usr/local/i386-redhat-linux/include\" \
-c `echo ./cccp.c | sed 's,^\./,,'`
cccp.c: In function ‘main':
cccp.c:1193: warning: incompatible implicit declaration of built-in function ‘strlen'
cccp.c:1228: warning: incompatible implicit declaration of built-in function ‘bzero'
cccp.c:1278: warning: incompatible implicit declaration of built-in function ‘strcpy'
cccp.c:1312: warning: incompatible implicit declaration of built-in function ‘strcpy'
cccp.c:1313: warning: incompatible implicit declaration of built-in function ‘strcat'
cccp.c:1347: warning: incompatible implicit declaration of built-in function ‘strcpy'

............................there are many similar warnings before the command completes.....

Thanx for ur time,
vijaya.
 

10 More Discussions You Might Find Interesting

1. Programming

Perl DBI install with gcc compiler

I want to install the Perl DBI module on to my solaris ultra 10. Solaris ultra 10 does not come with a C compiler so I downloaded gcc compiler. Then I ran install as follows: # cd DBI-1.30 # ls blib DBI.xs Driver.xst Perl.c test.pl Changes dbi_sql.h ... (2 Replies)
Discussion started by: photon
2 Replies

2. Linux

gcc install error

I download a gcc3.0.tar.gz file ,then tar it. Continue,I change current path to gcc3.0 and press ./configure The error appeared ,it is CC command not found . Please tell me What can I do to pass on. (1 Reply)
Discussion started by: fansings
1 Replies

3. Solaris

Can`t install gcc compiler

Hi, Installed the gcc compiler off the Solaris 9 Companion CD a while back , but needed to delete it due to disk space issues. Now that I have sorted out our root disk space I can`t reinstall the compiler. If I select all the packages off the Development/Languages menu , the install list... (3 Replies)
Discussion started by: markdr011
3 Replies

4. Programming

New to C/gcc compiler - compile error.

I am new to comiling c/c++ programs with gcc compilier unix - AIX version 5.3 gcc compiler version - 4.0.0 My makefile. # makefile 1.0 08/20/98 #CC = cc CC = gcc ESQL = esql CFLAGS = -Wall DBSLIB= DBSLIB=-L${INFORMIXDIR}/lib/esql -L${INFORMIXDIR}/lib `esql -libs` ALL = hds_near... (9 Replies)
Discussion started by: anish
9 Replies

5. HP-UX

gcc error..compiler cannot create executables

Hi I have locally compiled and installed gcc-4.1.2 in directory /usr/local/pkg/gcc/4.1.2/bin/gcc I want to compile beecrypt using this new compiler , So i have done setenv CC usr/local/pkg/gcc/4.1.2/bin/gcc ( Note this configuration is running properly with older version of... (1 Reply)
Discussion started by: vasanthan
1 Replies

6. AIX

How to install gcc compiler on AIX?

I want to install gcc compiler on aix box. $uname -a AIX GTMIT 3 5 000000000000 Can any one help me installing gcc compiler(step by step)either by smit or rpm commands ? What is boot straping ? Its urgent .. Thanks in advance (2 Replies)
Discussion started by: kittu1979
2 Replies

7. Programming

How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries?

To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first? The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's... Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies

8. UNIX for Dummies Questions & Answers

GCC compiler Ld fatal error

Hi all I'm trying to install sudo. When I first ran the sudo configure script it errored saying that I didn't have a C compiler. I have since installed the GCC 3.4.6 package for sol8 from sun freeware. Doing that resolved the no C complier found error. I was then getting an error saying... (1 Reply)
Discussion started by: Donkey25
1 Replies

9. UNIX for Dummies Questions & Answers

How to get a compiler gcc, cc, cl.exe...? (literally 1st time unix user)

Hi all, I've done hours of reading on google and can't find an answer... I'm trying to compile/install the Apache web server on a Unix vm. When i try ./compile (the file's been unzipped already), I get this error: $ ./configure checking for chosen layout... Apache checking for working mkdir... (8 Replies)
Discussion started by: eddlo
8 Replies

10. UNIX for Advanced & Expert Users

Gcc g++ on cygwin - configure: error: *** A compiler with support for C++11 language features is req

Hi, Apologies if I posted it in a wrong section as it is related to gcc on cygwin. Please move it to appropriate section. I'm trying to compile and build libsigc++-2.10.2 on cygwin with gcc 8.3.0. when I run ./configure, I get this: I couldn't fully understand what does... (13 Replies)
Discussion started by: prvnrk
13 Replies
GRUB-FILE(1)						      General Commands Manual						      GRUB-FILE(1)

NAME
grub-file -- Check if FILE is of specified type. SYNOPSIS
grub-file (--is-i386-xen-pae-domu | --is-x86_64-xen-domu | --is-x86-xen-dom0 | --is-x86-multiboot | --is-x86-multiboot2 | --is-arm-linux | --is-arm64-linux | --is-ia64-linux | --is-mips-linux | --is-mipsel-linux | --is-sparc64-linux | --is-powerpc-linux | --is-x86-linux | --is-x86-linux32 | --is-x86-kfreebsd | --is-i386-kfreebsd | --is-x86_64-kfreebsd | --is-x86-knetbsd | --is-i386-knetbsd | --is-x86_64-knetbsd | --is-i386-efi | --is-x86_64-efi | --is-ia64-efi | --is-arm64-efi | --is-arm-efi | --is-hibernated-hiberfil | --is-x86_64-xnu | --is-i386-xnu | --is-xnu-hibr | --is-x86-bios-bootsector) FILE DESCRIPTION
grub-file is used to check if FILE is of a specified type. OPTIONS
--is-i386-xen-pae-domu Check if FILE can be booted as i386 PAE Xen unprivileged guest kernel --is-x86_64-xen-domu Check if FILE can be booted as x86_64 Xen unprivileged guest kernel --is-x86-xen-dom0 Check if FILE can be used as Xen x86 privileged guest kernel --is-x86-multiboot Check if FILE can be used as x86 multiboot kernel --is-x86-multiboot2 Check if FILE can be used as x86 multiboot2 kernel --is-arm-linux Check if FILE is ARM Linux --is-arm64-linux Check if FILE is ARM64 Linux --is-ia64-linux Check if FILE is IA64 Linux --is-mips-linux Check if FILE is MIPS Linux --is-mipsel-linux Check if FILE is MIPSEL Linux --is-sparc64-linux Check if FILE is SPARC64 Linux --is-powerpc-linux Check if FILE is POWERPC Linux --is-x86-linux Check if FILE is x86 Linux --is-x86-linux32 Check if FILE is x86 Linux supporting 32-bit protocol --is-x86-kfreebsd Check if FILE is x86 kFreeBSD --is-i386-kfreebsd Check if FILE is i386 kFreeBSD --is-x86_64-kfreebsd Check if FILE is x86_64 kFreeBSD --is-x86-knetbsd Check if FILE is x86 kNetBSD --is-i386-knetbsd Check if FILE is i386 kNetBSD --is-x86_64-knetbsd Check if FILE is x86_64 kNetBSD --is-i386-efi Check if FILE is i386 EFI file --is-x86_64-efi Check if FILE is x86_64 EFI file --is-ia64-efi Check if FILE is IA64 EFI file --is-arm64-efi Check if FILE is ARM64 EFI file --is-arm-efi Check if FILE is ARM EFI file --is-hibernated-hiberfil Check if FILE is hiberfil.sys in hibernated state --is-x86_64-xnu Check if FILE is x86_64 XNU (Mac OS X kernel) --is-i386-xnu Check if FILE is i386 XNU (Mac OS X kernel) --is-xnu-hibr Check if FILE is XNU (Mac OS X kernel) hibernated image --is-x86-bios-bootsector Check if FILE is BIOS bootsector SEE ALSO
info grub Web Feb 26 2014 GRUB-FILE(1)
All times are GMT -4. The time now is 12:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy