Programming :: Link Mobility File With Tcl Script?
Apr 26, 2011
i want know how to link mobility file with tcl script? i tried with set val(sc) "test" but getting error message like
[root@localhost example]# ns box.tcl
setting initial variables...
setting other default settings...
removing unecessary packet headers...
[code].....
View 1 Replies
ADVERTISEMENT
Apr 22, 2010
I am trying to compile a software using a provided sdk. I suspect that the sdk has some mismatch of the platform library, but I am not sure.
The error I got is
Code:
The libidata.so.42 is there in that folder. I guess the file might be in a big endian. Is there a way to check if the libidata.so.42 i have might be a big endian format, rather than little endian?
If my guess is incorrect, This is a c++ code on fedora x86 machine.
View 4 Replies
View Related
Sep 6, 2010
In the ordering of files I keep I need links to directories. Sometimes I even need to move directories to new locations. I have tried using symlinks, but they become dead when I move the directory they point to. I have tried hard links, but I haven't found any Linux file system that would support hard linked directories. How can I achieve that a complex structure of directories (currently with symlinks for directories and hard links for files) keep symlinks live when directories are moved?
- is there any utility that updates symlinks when a directory is moved?
- is there any Linux filesystem that supports hard linked directories?
- is there any good Linux interface to the new NTFS (the only file system I know to support automatically updating directory links, called directory junctions)?
View 9 Replies
View Related
Dec 20, 2010
When I put my laptop, a Presario X1000 to sleep that uses Radeon Mobility M7 LW [Radeon Mobility 7500], when it comes back up, I get just black and white "nosie" on the screen.
Even after I do cntr+alt+F1 and then cntrl+alt+F7 it still doesn't appear to restore the regular screen.
View 3 Replies
View Related
Oct 25, 2010
I installed 10.10 using wubi (Host system is Win XP). I want to create a symbolic link of a file on the host system (Windows c:abc.doc file) in my Ubuntu home ~/ directory.
When I type command ln /host/abc.doc abc.doc It gives me following error ln: creating hard link `abc.doc' => `/host/abc.doc': Invalid cross-device link
View 1 Replies
View Related
Apr 21, 2010
I decided, as a project of mine, to create a small computer that could link up to a small display. Because the computer is very low-powered, guess what OS I decided to use? Linux... Ubuntu to be specific.Anyway, I come from using Xcode on OSX (very user-friendly compiler) and some tools for GUI and scripting development. That's where the problem comes in.I know C++, but I do not know how specifically Linux handles programming. I have the GCC compiler installed, and I know the terminal command to compile, but I have a few questions:
1. How do I link to different APIs (like OpenGL)
2. When I compile multiple files, do I compile the main .cpp/.cc file? Or is there a project file I use.
3. Is there a way to make GUIs easily in Linux? I was looking at the 'QT 4' tools.
4. What do the 'QT 4' tools do specifically?
5. Any good IDE? I am using 'Kate' at the moment, but I am not sure how it compares to other programs.
6. Any other tips? Pitfalls to watch out for? Hints to program quicker? Other software I could use?
View 2 Replies
View Related
Jun 13, 2010
I have made a very simple program in SDL that draws one image four times on a window.However I wanted it to be statically linked so the end user wouldn't have to install SDL and SDL-image in order to get the program working.
View 3 Replies
View Related
Oct 15, 2010
I am stuck with a problem to link static libraries with gcc. There is no problem with source files since I am able to compile in a machine where the static library is installed. I am compiling with the following: Code: :~/Emotion/pjproject-1.0.3/third_party 157% gcc -Wall -I/portaudio/include -o rec patest_record.c -L./lib -lportaudio-x86_64-unknown-linux-gnu
[Code]....
View 5 Replies
View Related
Apr 7, 2011
In linking a library in using GCC.
I am compiling Pro*C code.
When the maKe file start compiling if prints following :
Code:
I tried different options but unable to find the reason why it is not linking the libraries correctly.
View 3 Replies
View Related
Mar 29, 2009
I never had to use anything more than -l , -lm , -c ,-o.It was only through dev documentation that I came across glib. Now I want to to compile and link a program with glib.
View 5 Replies
View Related
Dec 16, 2010
how to a write c++ progrms and link them to tcl. I.e if I want to implement a protocol of my own. I tried but lot of errors appear. In response to( file not included errors) i added proper paths of header files in (#include)my c++ file only to get many more errors.I tried also with marc greis tutorial 7th chapter ping protocol program also with same result. Even compiling a small c++ program is also difficult. Please anyone tell me the steps to be followed how to a write c++ progrms and link them to tcl. I.e if I want to implement a protocol of my own.
View 1 Replies
View Related
Mar 23, 2010
I'm creating my personal site in HTML/CSS and Perl/CGI. I have a list of links:
Quote:
<a name="link1" href="/cgi-bin/script.cgi">value1</a>
<a name="link2" href="/cgi-bin/script.cgi">value2</a>
<a name="link3" href="/cgi-bin/script.cgi">value3</a>
<a name="link4" href="/cgi-bin/script.cgi">value4</a>
<a name="link5" href="/cgi-bin/script.cgi">value5</a>
I want capture values of "value*" in <a> tags with script.cgi.
View 8 Replies
View Related
Jul 1, 2010
i am trying to link a code in C++ with tinyxmldll library:
Code:
master out # ls -la
total 1388
drwx------ 2 root root 4096 May 10 14:02 .
drwx------ 6 root root 4096 Apr 5 08:35 ..
[code].....
When i link, i get 'undefined reference' error:
Code:
master hneat # make nt
g++ -g -DTIXML_USE_STL -DHCUBE_NOGUI -fPIC -I./hneat -L./hneat -I/home/niko/hyperneat3/HyperNEAT_v3_0/JGTL/include/ -I/home/niko/hyperneat3/HyperNEAT_v3_0/tinyxmldll/include/ -I./Experiments -I../ -I./ -L/home/niko/hyperneat3/HyperNEAT_v3_0/tinyxmldll/out/ -L/usr
[code]....
The problem is, the symbols contain weird characters. How do I tell g++ that it should ignore these characters and link the functions correctly?
View 4 Replies
View Related
Jul 29, 2010
I need to make a link that goes absolutely nowhere, since it has an onclick event that uses javascript to show/hide content. It needs to look like a standard link and the mouse needs to change to the finger cursor like a standard link.
The following all don't work:
Code:
<a href="#" onclick="show_element('jetshop')">Read more...</a>
- moves to the top of the page.
<a href="" onclick="show_element('jetshop')">Read more...</a>
[code]....
View 3 Replies
View Related
Jul 6, 2011
I would like to make gcc to link one lib (pthread in the example) statically, and the rest dynamically.
(See the example .c file at the end of this post.)
compiles fine, but every lib is linked dynamically.
Now every lib is linked statically
Not a dynamic executable
I would like to link the libpthread statically and the rest dynamically. Is it possible?
[url]says if I give the full path to the .a lib then it will be linked statically:
So for me it does not work.
On other sites I found that I should use -Wl,-Bstatic -lpthread -Wl,-Bdynamic, but it also doesn't work:
So, how can I do that?
Machine: Linux 2.6.16.60-0.27-bigsmp #1 SMP Mon Jul 28 13:06:32 UTC 2008 i686 i686 i386 GNU/Linux SLED 10
As an example I used a little demo program from [url]
Here is the code:
View 4 Replies
View Related
Sep 12, 2010
Consider that symbolic links at times can be broken. The target reference can be lost or misplaced. As such, usage of a symbolic link becomes deterred or broken. I propose the following: Symbolic links from now on carry a checksum relating to the original file they are linked to. The original file will carry a property that checks if it has been changed. This property will figure out the new checksum, reconfigure the symbolic link, and continue the symbolic link. Furthermore, if the system were to change, there would exist the possibility of have a symblink-comparison feature that allows the user to check the entire filesystem for files that meet the checksum criteria so that symbolic links can once more be re-established.
View 2 Replies
View Related
Dec 10, 2010
Been at this all morning and fail on every attempt.
I have a file called sitemapindex.xml
Its contents just are names of the other sitemaps. Google gets pissy because it isn't in a http:// format.
So, I need "<loc>sitemap-c1mediawiki-............</loc>" to be replaced with "<loc>http://domain.tld/sitemap-c1mediawiki-............</loc>".
Here's the expression I've been trying:
find /path/to/site/sitemap-index-c1mediawiki* -type f | xargs sed -i 's/[<loc>sitemap]/[<loc>http://domain.tld/]/'
It fails.
I've tried with and without brackets.
View 4 Replies
View Related
Jul 8, 2010
I had a set of link titles and wanted to get HTML tags for them. Actually I wanted to get from
[code]...
It's PHP based (running on linux of course . I'm sure same thing is possible by some awk/sed magic, but i wanted somehting more visual.
View 1 Replies
View Related
Jul 9, 2010
I have a simple C program which uses ncurses library and I am having linker issues and couldn't get the program to link.
[Code]...
So I think the ncurses libraries are in place but gcc still couldn't link. I am totally stumped.
View 3 Replies
View Related
Apr 25, 2009
Can anyone tell me how to change the LINK text to yellow or white or red??
The page is ( http://www.multidistro.com ) code...
View 5 Replies
View Related
Dec 23, 2008
I had return a driver for receiving and transmitting packets for the ethernet controller named rtl8139.I want to test it by writing an application program (socket programming).But I am unable to link it with the interface. Can anyone help in this regard?
View 1 Replies
View Related
Oct 4, 2010
Using: Open SUSE 11.0 64 bit, KDE 3.5.9 (release 49) and KDevelop 3.5.1. Problem: A singleton was created in subproject A, and so an object file is created in subproject A. In subproject B, I want to use that object file. We have not been able to find a way to link that object file created in subproject A with subproject B. Also, the subprojects are in different directories. We created a symbolic link to the ".h" and ".cpp" files in directory A. And the project compiles and links just fine after adding the symbolic link to the header and cpp files in subproject B. My concern is, that two objects of that singleton will be created. The whole idea of making a singleton is so that there is only one instance at a time.
View 8 Replies
View Related
Jun 2, 2011
I have a collection of redirect links I need to grab the final domain from (indicated after "->"):
[url]
[url]
I'm thinking PHP/cURL is the way to do it. I've searched the net but failed to find a solution that works for all redirection links.
View 2 Replies
View Related
Apr 28, 2010
I'd like to get path of one library to link it dynamically in my program. Probobly the best way would be to add macro to my configure.ac file.
View 2 Replies
View Related
Sep 23, 2010
I wrote a program to create a link list
Code:
#include <stdio.h>
#include <stdlib.h>
struct node {
[Code].....
View 4 Replies
View Related
Jan 27, 2010
I'm trying to link 'aubio' (a lib) and its failing on one of ts dep's with this error.
Code:
$ make
Making all in src
make[1]: Entering directory `/home/John/Externals/aubio/aubio-0.3.2/src'
make all-am
[code]....
"Warning: This system can not link to static lib archive /usr/local/lib/libff"
I've configured/make/make installed fftw and its doing just fine in the usr/lib folder, so I'm at a loss at how to fix this. Do I need to build fftw again using some kind of shared make switch? I couldn't find any referance about that.
View 3 Replies
View Related
May 22, 2011
i got a small problem: i have some old software that used to run under windows.now i run it under wine, and it does just fine. but i cannot make a link to my desktop. when i go to the file in the directory, i choose right mousclick and then make link. then i copy the link to the desktop. but when i run the link from the desktop: i get errors: all bunch of files were not found. It seems like the link is actually the exe file itself ? or that the link execute the exe file at the directory of the place where the link is (that is the desktop directory)
View 5 Replies
View Related
Sep 1, 2011
I have an executable .sh file that I would like to launch by clicking on a link in my "Internet" menu in the Netbook Remix. I've attempted to create a new link in the "Main Menu" control panel, but it won't launch. When I execute the .sh file directly (through Nautilus), I am always presented with a choice of editing or executing the file.How can I make a link in the "Internet" menu that will execute this .sh file?
View 8 Replies
View Related
Apr 28, 2010
I want to supply the shared libs along with my program rather than using the target system's due to version differences:
ldd says my program uses these shared libs:
I have successfully linked ld-xxx.so by compiling like this:
But I have not managed to successfuly link libc-xxx.so.
View 5 Replies
View Related
Feb 11, 2011
i have a tcl file and c++ file, how can i compile them n run them in ns2?
View 1 Replies
View Related