10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am getting the error undefined variable even after following these steps
#read name
abcd
#echo $name
na: undefined variable (6 Replies)
Discussion started by: Vishawdeep
6 Replies
2. Programming
I was trying to compile the following code in cygwin using g++:
------------------------------------------
#include <iostream>
using namespace std;
int identity(int input)
{
int output = input;
return output;
}
------------------------------------------
I get this error:
... (7 Replies)
Discussion started by: DyslexicChciken
7 Replies
3. Programming
I have a C code which i am trying to compile using gcc. When i am trying to compile it i get the error undefined symbol error though i am providing the -l*** option where *** refers to the module where the object files for those symbols are present.
Can someone help me on the same. (4 Replies)
Discussion started by: manaankit
4 Replies
4. Shell Programming and Scripting
Hello All,
I m using Linux OS and the default shell is C shell.
Till today the startup file (.login ) was invoking first and the environment variable set there working properly but after some software installation - now the .login file is not invoking at the startup and subsequently the... (1 Reply)
Discussion started by: jambesh
1 Replies
5. Shell Programming and Scripting
Hi all,
Im using a script which contains read command.. the script works perfectly but when I alias the script it gave "undifined variable" after I enter the read command input (variable)...
Does any one know why ? (4 Replies)
Discussion started by: yahyaaa
4 Replies
6. Programming
Hi, i've compiled my app on x86_64 with -m32 gcc option. Can anybody tell me what is/would typically cause the 'undefined symbol: clock_gettime' error??
-1
k){0N!x y}
'/home/da71336/simon/mkvfh/mkv.so: undefined symbol: clock_gettime
@
"q"
"subr:mkv 2:`subr,3; subc:mkv 2:`subc,1;... (4 Replies)
Discussion started by: dpa078
4 Replies
7. Shell Programming and Scripting
Hi
following is a simple shell script,
--------------------------------
#!/usr/bin/tcsh
u=$USER
echo $u
string="cp c2960-lanbase-mz /tftpboot/$u/c2960-lanbase-mz"
string2="cp c2960-lanlite-mz /tftpboot/$u/c2960-lanlite-mz"
output=/users/$u/c2960-log.txt
if &&
then
echo... (1 Reply)
Discussion started by: amitrajvarma
1 Replies
8. Shell Programming and Scripting
Hi All,
I have an input_file below and i would like to use Perl to search for the term "aaa" and output the 3rd term in the same row as "aaa".For Example, i want to search for the term "ddd" and would want the code to ouput the 3rd term in the same row which is "fff". Can somebody help ?
... (28 Replies)
Discussion started by: Raynon
28 Replies
9. Programming
Hello,
plz help me out with this error,
i am getting this error when i compile my code with gcc.
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
/tmp/cciLxqdV.o(.text+0x3c): In function `HandleUserTransaction()':... (2 Replies)
Discussion started by: svh
2 Replies
10. Programming
hi floks !
i'd like to know how can i transmete a character or a string from my source code to a term and make it interpret or un by the shell wich is running in my term.
I'd like to create a Term from my code (and get its file descriptor) and then transmete each char typed on the keyboard to... (1 Reply)
Discussion started by: the_tical
1 Replies