06-25-2009
Compilation errors in running configure script
Hi all,
I tried to cross compile Ghostscript-8.54 source. I am getting some errors during cross compilation. I have pasted the errors below.
CC=arm-unknown-linux-gnu-gcc LD=arm-unknown-linux-gnu-ld ./configure --host=i686-pc-linux-gnu --target=arm-unknown-linux-gnu --without-x && make
arm-unknown-linux-gnu-gcc -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -I./src -o ./obj/genconf ./src/genconf.c
arm-unknown-linux-gnu-gcc -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -I./src -o ./obj/echogs ./src/echogs.c
./obj/echogs -w ./obj/devs.tr - -include ./obj/unix_
./obj/echogs: 1: Syntax error: word unexpected (expecting ")")
make: *** [obj/devs.tr] Error 2
Can any one help to resolve this errors?
10 More Discussions You Might Find Interesting
1. Programming
Hi all,
I'm compiling mysql in my solaris8 box with gcc, when i run configure, i get the following errors,
checking whether C compiler(gcc ) works...no
configure: error: installation or configuration problem: C compiler cannot create executables
can somebody help me solve this problem? many... (4 Replies)
Discussion started by: jApHEth
4 Replies
2. Shell Programming and Scripting
Hello
I have big compilation project when I run the top make file
I have problem to find the errors that acres in the sub directories because the make file keeps
Running the compilation. is there any way to perform summry of the errors when the Top
makefile done running ?
thanks (2 Replies)
Discussion started by: umen
2 Replies
3. AIX
Hi,
I'm in the process of compiling gnu gettext on a rs/6000 43p-260 running AIX 5.1 in 64bit-mode. The compilation itself runs fine as I understand it, however the installation itself fails like so:
I'm pretty much clueless about this relink stuff, so if anyone has suggestions, I'll try... (0 Replies)
Discussion started by: töfte
0 Replies
4. Linux
Hello every one,
while compiling c++ modules.
i am getting the following 2 errors.
1)
/root/cc/unix-ce/root/subsys/cb/cdbh/include/cdbh_TransferFileHeader.h:111: error: âulong_tâ does not name a type
/root/cc/unix-ce/root/subsys/cb/cdbh/include/cdbh_TransferFileHeader.h:118: error: âulong_tâ... (0 Replies)
Discussion started by: mannam srinivas
0 Replies
5. Programming
Hello,
Trying to compile xtrlock from source on a RHEL system. It has an Imakefile but not being familiar enough with that system getting errors running imake:
#! Imakefile for xtrlock - X Transparent Lock
#!
#! Copyright (C)1993,1994 Ian Jackson
#!
#! This is free software; you can... (1 Reply)
Discussion started by: mgb
1 Replies
6. Shell Programming and Scripting
I have written shell script to find out pairsuspends in our environment.But when i run the script iam getting an error for the Pair which are not active.Below are the error am getting
pairvolchk -g up1012 -I11
pairvolchk : execution error.
pairvolchk: Unmatched CTGID within the group
Refer... (3 Replies)
Discussion started by: zeebala1981
3 Replies
7. Shell Programming and Scripting
I am trying to find the number of files whose name starts with uni.
Below is the code but it is giving error. :confused:
#!/bin/csh
FILES_NAME ='files_list';
FILE_NAME_PATTERN = 'uni*';
NO_OF_FILES;
ls -l $FILE_NAME_PATTERN > $FILES_NAME ;
NO_OF_FILES = `wc -l $FILES_NAME`;
echo... (3 Replies)
Discussion started by: hiten.r.chauhan
3 Replies
8. UNIX for Dummies Questions & Answers
Hi all! I am new to this forum. I have recently installed Cygwin and XEmacs on my
laptop running Windows Vista. I am studing at the moment and the code I am creating is mainly for that purpose.
I am trying to create the algorithm of Insertion sort. When I compile my code in XEmacs i get some... (1 Reply)
Discussion started by: BlueTower
1 Replies
9. UNIX for Dummies Questions & Answers
The script below fails with the following error messages:
gzip: invalid option -- 'w'
Try `gzip --help' for more information.
mysqldump: Got errno 32 on write
cp: invalid option -- 'w'
Try `cp --help' for more information.
rm: invalid option -- 'w'
Try `rm --help' for more information.
... (1 Reply)
Discussion started by: ANNACTION
1 Replies
10. Shell Programming and Scripting
I am compiling a fortran program using gfortran and the result looks as below
I want to write a bash or awk script that will scan the information and output
only problems within a range of line numbers
Example: If I specify the file createmodl.f08, start line 1000 and end line 1100, I will... (8 Replies)
Discussion started by: kristinu
8 Replies
LEARN ABOUT DEBIAN
sb2-init
sb2-init(1) sb2-init man page sb2-init(1)
NAME
sb2-init - initialize a target for scratchbox2
SYNOPSIS
sb2-init [OPTION]... [TARGETNAME] [COMPILER[:SPECS]] [SECONDARY_COMPILER...]
DESCRIPTION
sb2-init initializes a target for scratchbox2. If no options or other parameters are given, already initialized targets are listed.
A scratchbox2 target is simply a light-weight, symbolic name for a configuration set. A target does not contain anything that is active,
like running processes; hence a user never "works inside a target". Instead, sessions are used for all active operations. Sessions are
created by the sb2 command.
sb2-init is expected to be run in the directory you want to use as the target root filesystem.
TARGETNAME is the name of the target to initialize. If it refers to an existing target, then the target is re-initialized. Otherwise a new
one is created.
COMPILER is full path to a cross-compiler (gcc), of the form $HOME/arm-2006q3/bin/arm-linux-gcc. An optional SPECS parameter is path to
the compiler specs file.
If more than one compiler is specified, additional compilers are available by version number (e.g. if the primary is known as "gcc" and
"gcc-4.1", the secondary may be "gcc-3.4", etc)
Note that the compiler is usually used during the target creation process to determine CPU architecture of the target system.
OPTIONS
-c "command"
specify cpu transparency command, for example: "qemu-arm", "sbrsh" or "qemu-arm -R 256M". CPU transparency method is the program
which is used to execute foreign binaries, that the host computer can not execute directly.
-p "command"
specify cpu transparency command for staticly linked native binaries.
-r [hostname]
generate sbrsh config using remote device address
-l [hostname]
NFS server/localhost address seen by remote device
-d set target as default scratchbox2 target (default target can also be set later with the sb2-config command)
-m [mapping_mode]
use mapping_mode as default. Default for this is "simple"
-h Print help.
-n don't build libtool for the target
-N don't generate localization files for the target
-s skip checks for target root's /usr/include etc.
-t [tools_dir]
set directory containing the build tools distribution
-C "options"
add extra options for the compiler, for example: -C "-fgnu89-inline"
-A arch
manually override target architecture
-M arch
manually override machine name (see uname(2)). This defaults to the target architecture (see option -A)
-v display version
EXAMPLES
mkdir $HOME/buildroot
cd $HOME/buildroot
[fetch a rootfs from somewhere and extract it here]
sb2-init -c qemu-arm TARGET /path/to/cross-compiler/bin/arm-linux-gcc
FILES
$HOME/.scratchbox2/*
SEE ALSO
sb2(1), sb2-config(1), qemu(1)
BUGS
No known bugs at this time.
AUTHORS
Lauri T. Aarnio
2.2 17 December 2010 sb2-init(1)