Skip to content
Advertisement

Tag: compilation

Compiling a program with limited library access

i want to compile a C program with gcc and glibc(or any other c library) but i want to limit the program access to certain functions for example program should not be compiled if it uses sockets or signal handling functions. any idea how i could do this?? by the way i want to use this on a simple programming

how can I guide compiler to use a certain library?

I’m trying to compile skeltrack according to this guide http://tayyabnaseer.blogspot.com.tr/2012/05/installing-skeltrack-on-ubuntu.html I successfully compiled and installed first two libraries. However when it comes to skeltrack I get followin compilation error: I am on Ubuntu 13.10 32 bit platform. I searched for the error on the net and I came to conclusion that my glib 2.32 doesn’t contain that functions. I successfully

How to compile *only* uuid from linux utils

I have the linux utils code (can be found here: https://www.kernel.org/pub/linux/utils/util-linux/) and I only need libuuid, nothing else. I’ve tried setting many ‘–disable-‘ flags but it still seems to be compiling things I don’t need. Here’s my actual configure command: and here’s my output: Is there any way to only build libuuid? Answer The easiest approach would be to pull

I am really confused with this kind of compilation error( C ffmpeg Qt)

I downloaded the latest ffmpeg source code and successfully installed it on Ubuntu But I failed to compile a simple demo.(I did included proper headers) Here are the error messages ,just to name a few: Can you help me solve this problem? Contents Added: e.g this is my includes e.g AVFormatContext is declared in /usr/include/libavformat/avformat.h error message box shows Unknown

Compiling linux sources in Windows environment

I got a source for console program written in c++ for linux Is there a (automated) way to compile this source to run in windows? and what about linux functions and libraries called in this file? Answer It depends on the source, but if it’s using linux functions and libraries, installing Linux might end up being easier that getting it

Advertisement