Sponsored Content
Top Forums Shell Programming and Scripting Error in tsch shell scripting.. Post 302759363 by Heeka on Tuesday 22nd of January 2013 06:33:31 AM
Old 01-22-2013
Error in tsch shell scripting..

Hi Everyone,

I am using gdb-7.5 to connect to the target. When I gave the./configure --target=xyz --build=i686-pc-mingw32 --host=i686-pc-mingw32 command then
Code:
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... xyz-mingw32
configure: error: invalid value of canonical target

but for my target there isn't any OS to be used. So at the target side there should be no mingw32 written.

if someone has idea then please post it...
thanks

Last edited by Scott; 01-22-2013 at 11:42 AM.. Reason: Code tags
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

difference between AIX shell scripting and Unix shell scripting.

please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies

2. Shell Programming and Scripting

Shell Scripting Error

When i run the script firecall.sh,i am getting a weird error. root: ./var/ADMIN/bin/firecall.sh d12381 ./var/ADMIN/bin/firecall.sh: ?osrc: command not found ./var/ADMIN/bin/firecall.sh: ?osrc: command not found The script is successful,but the error interests me...Any Ideas?? The... (1 Reply)
Discussion started by: Renjesh
1 Replies

3. Shell Programming and Scripting

shell scripting error

i am trying to work on a simple shell script as #!/bin/bash filename = $2 if ; then echo " Displaying the Content of the file:" filename = $2 cat filename else if ; then echo "Displaying directory listing:" ls -l filename else echo " Commands not correct:" fi done it shows the... (3 Replies)
Discussion started by: phone_book
3 Replies

4. Shell Programming and Scripting

bash shell scripting error need help urgently

#! /bin/sh abcd = "Hello world" if then echo $abcd fi i got error message that line3 : abcd: command not found line5 : [0: command not found line5 : [1: command not found i have no idea why i got this message. Can some one help me ??? (6 Replies)
Discussion started by: bonosungho
6 Replies

5. Shell Programming and Scripting

Error handling in Unix shell scripting

Hello, I have written a shell script and suppose there is any error in the script. How i can do exception handling in shell script.for example i have below code sqlplus -s <<uid>>/<<pwd>>@<<$ORACLE_SID>> <<EOF > 1_pid1.log set pagesize 0 set feedback off set heading off set linesize 200... (1 Reply)
Discussion started by: rksingh003
1 Replies

6. Shell Programming and Scripting

tsch, error setting a variable

Hi, my code is: ------------------------------ set r=`ls -L $source_dir/*.snvf` echo AAA ------------------------------ If does file does not exists I got on the screen ls: No match. AAA How can I remove the "ls: No match." from being printed out Regards, Ziv (2 Replies)
Discussion started by: zivsegal
2 Replies

7. Shell Programming and Scripting

shell scripting error help

Im tryign to write a script that counts the number of new lines in the file with the most new lines in a given directory i keep getting this error /export/home/sieben01/itec400/homework> ./maxlines.sh ./maxlines.sh: syntax error: `then' unexpected operator/operand any ideas? ... (11 Replies)
Discussion started by: livewire06
11 Replies

8. Shell Programming and Scripting

ERROR in executing mysql querys in shell scripting

Hi All, Please see the below script for mysql 3 commands. Its giving me the right output for all three commands but showing some errors in first two commands , i guess there might be an issue with date. Can anyone help me . #! /bin/bash TABLE_NAME=testingddatabase USER_NAME=root... (3 Replies)
Discussion started by: aish11
3 Replies

9. Shell Programming and Scripting

Shell Scripting Error - help

I am trying to do an upgrade on a VMWare appliance. I am getting an error, and I dug into the script that is causing the error and will post the statement that is causing the error. Basically, my software seems to want an additional partition before it will do the upgrade. So, I added a new... (1 Reply)
Discussion started by: Phoenix Askevic
1 Replies

10. Shell Programming and Scripting

Shell scripting syntax error in if then else

I have one bash shell script to execute table refreshment. At the bottom of script, I have one piece of code to check 'ORA-' error from log file, then send email to DBA or application people. But this piece of code didn't work. I tried different ways and also search online to find where is my... (2 Replies)
Discussion started by: duke0001
2 Replies
atomic_dec(3C)															    atomic_dec(3C)

NAME
atomic_dec, atomic_dec_8, atomic_dec_uchar, atomic_dec_16, atomic_dec_ushort, atomic_dec_32, atomic_dec_uint, atomic_dec_ulong, atomic_dec_64, atomic_dec_ptr, atomic_dec_8_nv, atomic_dec_uchar_nv, atomic_dec_16_nv, atomic_dec_ushort_nv, atomic_dec_32_nv, atomic_dec_uint_nv, atomic_dec_ulong_nv, atomic_dec_64_nv, atomic_dec_ptr_nv - atomic decrement operations SYNOPSIS
#include <atomic.h> void atomic_dec_8(volatile uint8_t *target); void atomic_dec_uchar(volatile uchar_t *target); void atomic_dec_16(volatile uint16_t *target); void atomic_dec_ushort(volatile ushort_t *target); void atomic_dec_32(volatile uint32_t *target); void atomic_dec_uint(volatile uint_t *target); void atomic_dec_ulong(volatile ulong_t *target); void atomic_dec_64(volatile uint64_t *target); void atomic_dec_ptr(volatile void *target); uint8_t atomic_dec_8_nv(volatile uint8_t *target); uchar_t atomic_dec_uchar_nv(volatile uchar_t *target); uint16_t atomic_dec_16_nv(volatile uint16_t *target); ushort_t atomic_dec_ushort_nv(volatile ushort_t *target); uint32_t atomic_dec_32_nv(volatile uint32_t *target); uint_t atomic_dec_uint_nv(volatile uint_t *target); ulong_t atomic_dec_ulong_nv(volatile ulong_t *target); uint64_t atomic_dec_64_nv(volatile uint64_t *target); void *atomic_dec_ptr_nv(volatile void *target); These functions enable the decrementing (by one) of the value stored in target to occur in an atomic manner. The *_nv() variants of these functions return the new value of target. No errors are defined. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ atomic_add(3C), atomic_and(3C), atomic_bits(3C), atomic_cas(3C), atomic_inc(3C), atomic_or(3C), atomic_swap(3C), membar_ops(3C), attributes(5), atomic_ops(9F) The *_nv() variants are substantially more expensive on some platforms than the versions that do not return values. Do not use them unless you need to know the new value atomically (for example, when decrementing a reference count and checking whether it went to zero). 13 May 2005 atomic_dec(3C)
All times are GMT -4. The time now is 05:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy