General :: Program Includes .so Which Includes .a?
Mar 19, 2010
I have prepared a static lib(.a) comprising 2 function definitions. I have created a different shared library(.so) comprising 2 more functions. The two functions of .so use the functions defined in the .a file. That is, the .so file uses the services of the .a file. Next, I create an executable that uses the shared library(.so). When I build my executable, it needs to be linked with the .a file as well. it gives me undefined reference for the functions defined in the .a file. Why is that so? I am posing this question because, the .a file has already been included(static linking) while bulding the .so. Is there any workaround so that I need not link the .a file with my final executable?
View 2 Replies
ADVERTISEMENT
Mar 17, 2010
I'm using Plesk as my control panel. After the PIX was installed, I mapped the old IPs to the new IPs. Port 80 is OPEN. My PHP includes won't work when I use the domain, actually nothing works when I use the domain infront of it. I tried adding 10.0.0.1 [URL] to /etc/hosts and still had no luck
View 1 Replies
View Related
Jan 10, 2010
My website can`t open because of the error, Parse error: syntax error, unexpected T_STRING in /home/dodonet2/public_html/includes/config.php on line 45.
View 8 Replies
View Related
Jun 18, 2009
If I use my current iptables firewall settings my php includes from my own site get blocked by the firewall. If I use accept all tcp and udp it still does not work. If I use a default policy of accept all, then the php includes work which is not safe. I am running a drupal 6 site on a centos 5.3 vps with apache 2.2.0 and php 5.2.6 w/ safe mode on. He is my current iptable configuration.
Quote:
Chain VZ_FORWARD (1 references)
target prot opt source destination
Chain VZ_INPUT (1 references)
target prot opt source destination
[code]....
View 2 Replies
View Related
Nov 23, 2010
Now I'm porting a WIFI driver to my platform, MIPS little endian, Linux-2.6.18, uClibc environment for STB. And I'm experiencing some strange symptom. As you know, there are some kind of include files that system provides such like GCC-provided(usually in /usr/include), LIBC-includes(/usr/include), Linux-includes(${LINUX}/include/linux), ASM-includes(${LINUX}/include/asm) and so on, and there are many files resides different directories as the same name (e.g. time.h, types.h, limits.h ...) and many of them has
different contents.
I'm confusing because that some include files are read from unexpected directories.
The command line is like following. $ cross-gcc -o Target -I$(GCC_INC) -I$(LIB_INC) -I$(appl_inc) -isystem $(LINUX)/include -isystem $(LINUX)/include/linux Source.c
And some symbol means:
GCC_INC: directory for GCC include files.
LIB_INC: directory for LIBC include files.
LINUX: Linux kernel directory.
[code]....
As shown above, some include files are read from unexpected directory. This causes some severe compile errors. I've verified these by adding '-E' to the command line. How can I order GCC to read files from where I'm expect?
View 1 Replies
View Related
Feb 26, 2010
I've been trying to install a development version of kde 4 and when i attempt to install kdelibs it tells me that it can't find the phonon libraries. Does anyone know what the trouble might be? I'm using Debian Sid.
View 5 Replies
View Related
Dec 21, 2010
Here's my current regular expression(used in sed):sed 's///!Start.*//!End//g' in > outThe only problem being that the wildcard . does not work across multiple lines,
View 1 Replies
View Related
Feb 18, 2011
First of all, let me just state that i want to make a small server for my home.. which includes hosting a website and a small FTP server.
Now as far as ease, stability, use, etc.. just overall, which would be more ideal to use for this?
My top choices are FreeBSD and Ubuntu Server.
However, I do not know which of these to go with, since this is my first time setting up a server. I hear BSD is really best for web servers, but I would like to hear what the people at LQ has to say.
I know Ubuntu Server would probably be more easy to set up, but how is it in terms of stability and speed?
View 6 Replies
View Related
Aug 7, 2010
As per our requirement, I need to implement a Secure FTP server for around 500 users which includes security level on both - Transfer and Rest data. Apart from this I also need the following features -
1. Size quota on Users & reminder mails for the same
2. Password expiry notifications and user interface to change their password within specified time interval
3. Aging of data - After specified time, data will be moved to some other location from their home directory
4. All type of log maintenace for each file and user and log exporting
5. Uploading & Downloading speed consistency as per server level.
6. Read-write interface for user and read-only interface for their client for the same account.
7. Backup and Recovery options.
As of now, I am using VSFTPD which does not give these much of features in combine.
View 2 Replies
View Related
Jul 19, 2011
I'm trying to create an array with variable including hyphenbut ksh refuses the first element
set -A allArgs
set +A allArgs ${allArgs[@]} -all
set +A allArgs ${allArgs[@]} -date
[code]...
View 5 Replies
View Related
Mar 4, 2011
Before i wiped windows (and the dual-booted slackware on it to make a slackware only hdd) i (sort of) backed up my files. I put something into my /etc/fstab that wiped /tmp/ when i shutdown/rebooted.
View 4 Replies
View Related
Feb 27, 2011
I would like to know what shell command I could use for finding a phrase (which is a URL) in many files, with a different phrase. I have tried the "sed" command, but it does not like the forward slash.
View 5 Replies
View Related
Apr 13, 2010
Recently I have moved to F11. While I am trying to install directFB explicitly, I am getting error related to X 11 dependencies. It could find no includes files under the directory /usr/include/x11/. But x11 libraries are available in the system. I remember that, i had these x11 include files in my F9. Do I need to install any external packages to get the x11 include files in place?
View 4 Replies
View Related
Oct 20, 2010
I have quite a few sound sample files totaling over 4 gigs in size with around 80 root folders and then around 34 sub folders. i have a total of 13 DVD's in the above format. how do i "change the date" on all files in one go is that possible?
View 3 Replies
View Related
Mar 7, 2011
today some one of my friends removed /boot/grub directory from my pc. i tried both
root (hd0,0) Kernel /vm - but it's not coming (coz that file is already removed.
and after
root (hd0,0)
setup (hd0)
it showed grub file is installed but i couldn't find
/boot/grub/grub/conf or vm linuz
and after i used rescue method.
/sbin/grub-install /dev/sda
tried this method but still couldn't make effect.
[Code]...
View 2 Replies
View Related
Apr 17, 2010
I want to learn how to build a Linux network from scratch that includes file and printer sharing, intranet. I have an intermediate-level knowledge of Windows networking. Can anyone suggest a book or online tutorial that I can learn from? Now let me be clear: I am finding no shortage of tutorials on the web. However, too many are old or incomplete.
A little extra info: I am a teacher/network admin for a small private school with about 50 student computers (that I wish to become Linux machines in the future) and about 10 staff computers (mostly Windows laptops--I do not expect the staff to convert to Linux as readily), I currently do not have an intranet implemented.
View 1 Replies
View Related
Sep 23, 2010
I had a Ubuntu USB key that booted x64 and brought up the wireless network mgr with DLINK WDA-2320. But it was lost.Now I am trying different distro images to get back to what I had. But none has the Network mgr with wireless in it.I don't have any other Linux/UNIX machine here at home. Just Winbloze.Do you know which Ubuntu CD/USB image comes with a network manager and wireless for DLink WDA-2320 PCI ?
View 4 Replies
View Related
Sep 29, 2010
Suppose I have a file named temp.txt
cat temp.txt
word/one/two/three
If I would like to replace "one" with "six" I would do this:
cat temp.txt | sed 's/one/six/'
word/six/two/three
Now I want to replace "one/two" with "six/seven" and these options don't work:
cat temp.txt | sed 's/one/two/six/seven/' (OFCOURSE)
cat temp.txt | sed 's/"one/two"/"six/seven"/'
I even want to be able to replace "one/two" with "six/seven/eight"
View 6 Replies
View Related
Jun 18, 2010
How do I enable SSI (Server Side Includes) in fedora 12 ?
View 6 Replies
View Related
May 14, 2010
how do you get apache to run server side includes. here is what I tried. I do not get an error it just ignores the includes.[URL]..
View 12 Replies
View Related
May 7, 2010
I am new to linux and am trying out script writing. I am using shell. How can I make a script to open a program then operate within that program?
View 5 Replies
View Related
Apr 30, 2010
I have a jsp code. After executing that code, a Java program should be executed without refreshing the page. that is, my first page is a login page which is in jsp. After logging in the next page must be displayed which is a Java code. is that possible? Can we use applet for that?
View 1 Replies
View Related
Mar 8, 2011
How do I create a program file for a new program?
View 1 Replies
View Related
Feb 15, 2011
I will have to code this. However I am lacking of time since I have too much to do. make a short code bash/dash to prompt the country with Zenity, then, get the PLS or m3u url and prompt with another zenity which radio to play. http://www.listenlive.eu/index.html
My code to get url's radio country.htm is:
Code:
View 2 Replies
View Related
Feb 23, 2011
I was wondering whether there is an inbuilt logging system in UNIX?
I ran and installation and the program opened up automatically but I can't find the program executable.
If I could find a log then I could locate this file.
View 9 Replies
View Related
Apr 15, 2011
I have problems to get it work. i have tried to use pm-utils, but it does nothing.
What is need is to kill application, when pc is going into suspend to ram and run that application again on wake. It's a graphical application.
View 1 Replies
View Related
Dec 14, 2009
Is there anything like burning rom from nero or roxio cd/dvd copier. Do you know of any dvd copying program? like without making the image and then burning with just one process just copy the disc sorta program like roxio dvd copier? I wanted to make copies of movies I made a dvd of but aside from image burn which is a hassle to make the image first. is there something for burning on the fly or dvd/cd copying? infrarecorder and cdburnerxp do not work for me at all.
View 3 Replies
View Related
Aug 29, 2010
Does anyone know if there is a program that behaves the same as Microsoft's OneNote program for linux?
View 3 Replies
View Related
Jun 23, 2011
i am running ubuntu 10.04. I am looking for a converting program and I also need a DVD making program. I'm unsure if one comes preinstalled already.
View 4 Replies
View Related
Apr 8, 2011
i want to integrate audio library with android driver by using ALSA plug-in And now, i try to compile ".so" code from library that I'd downloaded from web-site. what program can i use to compile .so file
View 3 Replies
View Related