Linking tables from other database in MySQL.
Is it possible to link tables from other databases (MS SQL, Sybase, etc.) inside a MySQL database, on a Debian server? I am thinking this could be possible using ODBC. ...
Is it possible to link tables from other databases (MS SQL, Sybase, etc.) inside a MySQL database, on a Debian server? I am thinking this could be possible using ODBC. ...
Hi, I have created a .c file which is being converted to a .o file along with around 300 other .c files and included in a .a static library. This library, along with many others is being used to create a .so dynamic library. On analyzing both the .a and the .so file with nm, I found that for some reason the symbols defined in the .c fil...
Can we use __typeof__ for input validation in C program run on a Linux platform and how? If we can't then, are there any ways other than regex to achieve the same? ...
I have multiple threads which need to send UDP packets to different IP addresses (only to send, nothing needs to be received). Can I reuse the same UDP socket in all the threads? ...
Hi everyone, I'm trying to debug this arm9 ... it's running some variation of Linux 2.4.19. When I load a pci driver, the arm9 just hangs and reboots. I've tried to enable to kernel hacking options in the menuconfig, but I don't see any error messages at all. Just a hang, and a reboot. That's all. What else could I try? I've neve...
I am running this from a Hudson job: rsync -auz --include="*/" --include="/builds/" --exclude='*' /var/lib/hudson/jobs/ backup@backup:/var/data/backup/build/`hostname` and getting this error: rsync: Failed to exec ssh: Permission denied (13) rsync error: error in IPC code (code 14) at pipe.c(83) [sender=2.6.8] rsync: writefd_...
Hello, may be this is newbie question, but I must ask it! In general I'm understand regular expressions, but I don't understand, why this one: ^.{8}[[:blank:]]{2} works on this line: prelink: /lib/libkeyutils-1.2.so: at least one of file's dependencies has changed since prelinking in this grep command: echo "prelink: /lib/libkeyut...
Hello, I was wondering about the utility of storing metadata (Abbreviation Expansion, Brief Message, links to online resources) associated with messages, in /var/log/syslog, /var/log/kern.log etc. For instance, for a message like ACPI: Processor [CPU1] (supports 8 throttling states) I would search online about CPU throttling, and sto...
Hello, I have an application compiled at: gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Linux debian 2.6.18-5-686 #1 SMP Fri Jun 1 00:47:00 UTC 2007 i686 GNU/Linux and it runs well. Now I want to run it at: Linux 2.4.20_mvlcge31-tomas #7 Thu May 7 11:33:21 CEST 2009 i686 unknown I got following errors: libstdc++.so....
I'm actually working on a renderer that converts freetype glyphs into polylines to control a laser marking system. The problem I have is that I don't know how to handle correctly a contour beginning with an off curve point (99.9% begin with on curve points!). I've searched quite a while now for informations but I couldn't find anything u...
I'm novice so be gentle. trying to read a file of strings as such: "1,Duck_Soup,1933,Comedy,5,12" and tokenize it to different vars for each of the tokens between the commas. That's my code and I keep getting "segmentation fault" no matter what I try. Please help me fix the code, thank you. For starters I want to make it print the tok...
The name of the file which contains the lib and the name used in -l do not always match. So how can I figure out the name used when linking? Usually I googled, but it should be somewhere in the system I think.. ...
I need serial terminal for linux. I downloaded minicom, at first I was little bit confuse about user interface and shortcuts. But now I have problem with sending carriage return. I need send "command\n\r". But I am not able to send carriage return or newline character. ...
Hi, i have the following bit of C code which reads from a pipe and then should block but it never blocks int pipe_fd; int res; int open_mode = O_RDONLY; char buf[100]; int bytes_read = 0; memset (buf, '\0', sizeof(buf)); pipe_fd = open(FIFO_NAME, open_mode); if (access(FIFO_NAME, F_OK) == -1) { res = mkfifo(FIFO_NAME, 0777); i...
I have a program A that needs to send commands to the stdin of a program B and reads back the output of this program B. (Programming in C++, not linux only) ProgramA -> send letter A -> ProgramB ProgramA <- output of B <- ProgramB I actually have the first part, send commands to B, working with popen(). I do know that popen is a one wa...
If I right click on the "Tarball" project, and go to Options > Files, I see some like this: There are a couple of problems here: "pkg-config folder" uses /usr/local/lib/pkgconfig, instead of /usr/lib/pkgconfig. MonoDevelop itself doesn't look in /usr/local/lib/pkgconfig for .pc files. This is a library, so I don't think I want it in...
I'm looking to set up a scalable server farm that serves up HTTP/SOAP requests and read/writes data from and to a (set of) database(s). Looking for the right Linux tools to handle that. Can someone please recommend a path for me? just a point in the right direction is all I require. In the past I used LAMP for PHP. What should I use jus...
I have asked this question on serverfault.com which is as suggested a more appropriate place for it - http://serverfault.com/questions/169829/what-does-glibc-detected-httpd-double-free-or-corruption-mean I have an EC2 server running that I use to process image uploads. i have a flash swf that handles uploading to the server from my lo...
Can you share your experience with making code-completion work in Anjuta, at least for C/C++? It had failed to code-complete both references to inside my code and to various libraries (GLib, etc) as well. I tried several times to make it work 'out-of-the-box' in Debian Lenny/Squeeze and failed -- no matter, which of editors I was using ...
I ran the below script to set environment variables for oracle(oracle_env.sh which comes with oracle package itself). ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server export ORACLE_HOME ORACLE_SID=XE export ORACLE_SID NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh` export NLS_LANG PATH=$ORACLE_HOME/bin:$PATH export PATH if [ $?LD...