-1
votes
0answers
36 views

Undefined reference to `uriUnescapeInPlaceExA'

When trying to use liburiparser on Ubuntu LTS, using the repos and building from source. const char* uriUnescapeInPlaceExA (char *inout, UriBool plusToSpace, UriBreakConversion breakConversion ) ...
-1
votes
0answers
28 views

inotify to monitor /var/log directory - linux [on hold]

i have added inotify code to my program , so that it shall monitor "/var/log" directory , can multiple instance of the program , be run on the same machine such that it will work perfectly and look ...
-5
votes
1answer
31 views

How to get gcc compiler version in python script on linux? [on hold]

i need to know the gcc compiler version in python script. How can i get gcc compiler version in python script on Linux?
3
votes
2answers
37 views

Template specialization causes linking error with MinGW on Windows an not GCC on Linux

The following build setup works fine on Linux using GCC (4.6.3), but not with MinGW using GCC (4.7.2). $ cat Makefile all: g++ -c foo.cpp g++ -c bar.cpp g++ bar.o foo.o -o ...
0
votes
1answer
63 views

strange macro in c, using multiple statements

I found some strange syntax while reading linux source code. The container_of macro looks like #define container_of(ptr, type, member) ({ \ const typeof( ((type ...
0
votes
1answer
39 views

How to make a cross compiler using gcc?

Though there are many tutorials online on how to make a cross compiler, I am actually not getting it. I am using fedora 16 and already have gcc installed. I am not sure about binutils. How do I make ...
0
votes
2answers
47 views

illegal instruction in stdc++

program: #include <stdio.h> #include <sstream> int main() { std::stringstream ss; ss << "hello world " << 1234 << "\n"; std::string str = ss.str(); ...
-1
votes
0answers
31 views

How to hide the class static member function name in shared library [closed]

I put __attribute__((visibility("default"))) before the functions which I want to make known to the public . And pass -fvisibility=hidden to the compiler. But this method can't hide the class ...
0
votes
2answers
36 views

Makefile for Linux from Xcode-written C++ program

I've written a simple c++ program on Xcode, all contained within ONE FILE called huffmanGenerator.cpp. The program reads input from a file on the user's computer, and writes output to a file saved to ...
1
vote
1answer
64 views

Why LD_LIBRARY_PATH is not effective?

I'm trying to compile libpng, which requires the libz. I have installed my owner libz.so.1 at my home and set the LD_LIBRARY_PATH.But it does not get any result because the output of ldd shows that it ...
-2
votes
0answers
69 views

gcc comand in order to compile C file

I compile this C source file: ... ... #include "Request.h" #include "Response.h" int main(void){ ...; } with this gcc command: gcc -o socket_client client.c –I client_test -lpthread –lm but ...
0
votes
1answer
59 views

Linker error-Calling function in C++ file from C file

I am trying to execute basic code in C and C++ in Linux environment. I am using eclipse to run it. Current project is created as C project. All I am trying to do is to call a function from different ...
-3
votes
1answer
54 views

How can activate C syntax highlighted in VIM?

I have an image with CentOS, GCC compiler, and VIM editor. With a long period time ago i achieved to activate C syntax highlighted but i don't remember how, if you could help ?
0
votes
1answer
30 views

Building a shared library using gcc on Linux and MinGW on Windows

I'm having trouble with generating a build setup that allows shared libraries to be built in both Linux and Windows using gcc and MinGW, respectively. In Linux, a shared library doesn't have to ...
-1
votes
0answers
20 views

How to install only g++ without gcc upgrade in redhat6

"yum install gcc-c++" upgrading gcc to 4.4.7 but i want to install only g++ of the version 4.4.5. can we able to install using yum? or Need to follow any other procedure. thank you....

1 2 3 4 5 100
15 30 50 per page