Hi all!
I have implemented a shared library in Linux and try to test it, but I get an error "undefined reference to `CEDD(char*)'".
I use Eclipse with following parameters:
Path to include files (here is
everything ok)
Path to the library
and its name. Path is correct and the
name is WISE_C (full name:
libWISE_C.so)
My Code:
Test...
I would be interested to in knowing how you out there handle the bumping the version number for new releases issue.
How do you handle the version number in associated files like man pages, etc.
The software is build with the gnu tool chain so autoconf, automake, etc are available and used for the version number of the application. So t...
I'm a long time user of the .NET Framework on Windows platforms, but I do a lot of programming on Linux as well. I'd like to take advantage of Mono for some particular projects, but the last time I tried (maybe 2 years ago?), Mono was simply not up to the task. As well, it was particularly difficult to get really good information on the ...
I was wondering, if the output of
lsof -i
sshd 21880 root 3r IPv4 4843515 TCP somehost.lu.isp.com:ssh->d-XX-XXX.ITS.SOMEWHERE.COM:45037 (ESTABLISHED)
sshd 21882 mike 3u IPv4 4843515 TCP somehost.lu.isp.com:ssh->d-XX-XXX.ITS.SOMEWHERE.COM:45037 (ESTABLISHED)
sshd 23853 root 3u IPv6 9...
Does Linux have a shared library that exports OS functions?
msvcrt.dll -> libc.so.6
kernel32.dll -> ?
...
I hope this is the right forum for this, and excuse the naive question.
I would like to provide an "guest" login to a (non-dedicated) linux server and run just one console application. The user cannot do anything more than use this application. A scenario could be:
ssh dervinATsomehost.com (no password)
and the just automatical...
I am sending data from a linux application through serial port to an embedded device.
In the current implementation a byte circular buffer is used in the firmware. (Nothing but an array with a read and write pointer)
As the bytes come in, it is written to the circular bufffer.
Now the PC application appears to be sending the data too f...
According to g++ -print-search-dirs my C++ compiler is searching for libraries in many directories, including ...
/lib/../lib/:
/usr/lib/../lib/:
/lib/:
/usr/lib/
Naively, /lib/../lib/ would appear to be the same directory as /lib/ lib's parent will have a child named lib, "that man's father's son is my father's son's son" and all ...
Hi all,
I am developing a small app under Linux using the CodeBlocks IDE.
I have defined a class with the following code:
class CRenderContext
{
public: /*instance methods*/
CRenderContext() :
m_iWidth(0), m_iHeight(0),
m_iX(0), m_iY(0),
m_bFullScreen(false), m_bShowPointer(false)...
Why is it possible to touch a write-protected file?
Shouldn't the following give an error?
$ touch test.txt
$ chmod a-w test.txt
$ ls -l test.txt
-r--r--r-- 1 name group 0 Jun 13 09:14 test.txt
$ touch test.txt && echo OK
OK
$ ls -l test.txt
-r--r--r-- 1 name group 0 Jun 13 09:15 test.txt
Does touch change permissions, touch the fil...
I run ubuntu, and thus of cause I like the terminal prompt. I run most svn commands from the prompt. But I have a problem...
I checkout my code using the svn in a terminal:
svn co <svn-url> <local dir>
nice...
Now I go to eclipse and do the development...
I have subeclipse and lets say that I do a commit from the svn/eclipse gui.
Now...
In VMS DCL one may embed data in a command file using $DECK and $EOD. What is Linux for this?
...
In VMS one may tell the file system to write junk over the existing contents of a file when it is deleted. Here is the DCL command to identify the file for this kind of treatment:
$ SET FILE/ERASE_ON_DELETE SAMPLE.TXT
This allows the policy to be set at one point in time then later users of the file do not
have to handle that detail ...
VMS editor EDT allows one to use the keypad to control most of ones editing commands. One of the rather nice features is that the direction of operation can be set to "up" or "down". This then effects commands like "move to next character" and "move to start of line". Another feature is that there are "character", "word" and "line" buffe...
How can I create a directory link that will survive git submodule update?
Given the following example directory structure:
proj
|-- lib3
| `-- submod
| `-- lib
`-- lib
I created a soft link from proj/lib/ to proj/lib3/submod/lib using something like the following command:
brad@bradpc:~/proj/lib$ ln -s ../lib3/submod/lib subm...
Dear All
I am looking for linux kernel source code for hid module
hid.c for kernel version 2.6.27.14
Thanks & regards,
madni
madni[AT]gmail[DOT]com
...
Has anyone done any comparisons on static code analysis tools available to Linux? What are the strengths and weaknesses of the following tools:
Lintian,
Sparse,
Splint,
RATS,
Using the -Wall option.
Would you consider that using just one of these tools is adequate?
I'm not looking for recommendations (I can find plenty of those) b...
Is there any way to change the font size of terminal window(GNOME or KDE) from inside a shell script
Actually I want to display a file in a particular format on screens of all sizes.
Can i do it using scripts??
...
I have a script that is to be run by a person that logs in to the server with ssh.
Is there a way to find out automatically what ip is the user connecting from.
Of course, I could ask the user (it is a tool for programmers, so no problem with that), but it would be cooler if I just found out.
...
I will be TA for an operating systems class this upcoming semester. The labs will be deal specifically with the Linux Kernel. What concepts/components of the Linux kernel do you think are the most important to cover in the class? What do you wish was covered in your studies that was left out? Any suggestions regarding the Linux kerne...