[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] [slightly OT] statically linked executable

From: Marco
Subject: [igraph] [slightly OT] statically linked executable
Date: Mon, 16 May 2011 13:04:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110506 Icedove/3.0.11


I have never tried to do anything like this, and (very) probably this is at least in some way OT. I need to run a program (written in C) on a machine that doesn't have igraph libraries (and I cannot install them).

I thought I could compile the program with the -static flag of gcc to obtain a statically linked executable, but at the linking all the function that use igraph function generate errors, so that no executable is produced.

An example is:
file.c:(.text+0x764): undefined reference to `igraph_vcount'

Any ideas on how to do it?

Thanks in advance,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]