Here's a bit of history first: Recently finished an application that allows me to upload images and store them in a directory, it also stores the information of that file in a database. Database stores the location, name and gives it an ID (auto_increment).
Okay, so what I'm doing now is allowing people to insert images into posts. Thro...
I'm trying to compile my application on AIX. It builds fine on Linux, Solaris x86 and Windows but this is the first time we've tried to build on AIX.
I've managed to get to the point of linking all of the libraries together and I get the error message:
Linking...
ld: 0711-101 FATAL ERROR: Allocation of 96864 bytes failed
in rout...
Hi
I'm trying to embed the v8 engine to my C++ application. I use Visual C++ 2010. I've built it successfully using this command:
scons env="INCLUDE:C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include;C:\Program Files\Microsoft Visual Studio 10.0\VC\include,LIB:C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib;C:\Program Files\Micros...
Hi Everybody,
Has anybody compiled xalan 1.11 using ICU?
I am building it using ICU and its generating one library called libxalanMsg.111.0.dylib and its being generated using the below mentioned steps
============
/tmp/brijesh/ICU//bin/genrb -p xalanMsg -d ../../../nls/icu-i ../../../nls/icu ../../../nls/icu/en_US.txt
echo ../....
Hi,
Can someone explain me or direct me to some usefull links which tell how to make Visual Studio 2008 use Gnuwin libraries. And please tell me which Gnuwin package I should download.(Windows xp) I have been tring hours with out any luck.
This is related to the question I asked here.
Thank You
...
So, I recently added a header file (and corresponding source file) to a project, along with a header file that file required, and an object file that the file required.
Everything compiles fine, unless I actually make a call to one of the functions declared in the newly added header file.
This is all using Visual Studio Express 2008.
...
Hi All,
I'm writing a makefile for a project. The project makes use of OpenCV. I have installed the OpenCV 2.1, now, how can I include the OpenCV libraries into the makefile?
When I had the same project in a non-makefile type project environment, I used to point to these libraries in the Project Properties of Eclipse. As given below - ...
Invoking: Cygwin C++ Linker
g++ -nostartfiles -L"E:\cygwin\lib\mysql\lib" -lmysqlclient -lz -shared -o"final.so" ./src/one.o ./src/two.o ./src/three.o ./src/four.o ./src/five.o
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
...
I obtained a generic linker script using "ld --verbose test.o" and simply added a memory section. From what I understand this should work fine, but no matter how I setup the memory section the resulting program never functions properly. (ld generated linker script can be found here).
tl;dr; How do you use MEMORY{...} correctly in GNU ...
How to find the library, which contains the definition of particular function? I am getting linker error.
...
Hi,
I am using XCode 3.2.2 to unit test some custom data types. The tests run properly without those data types, but when I use said data types, I get this error:
"_OBJC_CLASS_$_classname", referenced from:
(where "classname" is the, well, class name...)
I have seen hints online that it could be linker related. The strange thing is, ...
I have a java class (eval.java) that invokes a native method in an so file (libmodel.so). I can use System.loadLibrary() to load the libmodel.so without any error (-Djava.library.path=/usr/lib), and the native method initModel() works fine.
However, when I deploy it as a web service (tomcat 6.0.26 + axis2 1.5.1 + eclipse jee helios) to ...
How can I dump symbols in .la file on Ubuntu Linux?
I get this linking error:
main.c:(.text+0xbfb): undefined reference to `Browser_new'
And I think my main.c is linking against libwebkit-1.0.la. So how can I find out if libwebkit-1.0.la has the symbol 'Browser_new'?
CXXLD libwebkit-1.0.la
CCLD Programs/GtkLauncher
...
I am creating a web site in Objective-C, running with CGI and Apache, and, because people don't have patience, I want to create it as fast as possible.
So the main question: Does static linking result in faster loading than dynamic linking?
Of course, the binary will be bigger, but.. the system has to read less files.
P.S. I do care...
Hi,
My first post on this site with huge hope::
I am trying to understand static linking,dynamic linking,shared libraries,static libraries etc, with gcc. Everytime I try to delve into this topic, I have something which I don't quite understand.
Some hands-on work:
bash$ cat main.c
#include "printhello.h"
#include "printbye.h"
void ...
Hello, how does referenced linking work in OCaml?
Example, let's assume I have 3 modules declared as
A.ml
B.ml
C.ml
of which
A needs B and C
B needs A
How should I proceed in compiling?
Since order is relevant using ocamlc or ocamlopt how can I fix the cross reference between B and A?
I'm trying to first compile them all into ...
Hi all,
This is my 2nd post on this site in my effort to understand the compilation/linking process with gcc. When I try to make an executable, symbols need to be resolved at link time, but when I try to make a shared library, symbols are not resolved at link time of this library. They will perhaps be resolved when I am trying to make a...
Hi,
I am doing unit testing on my iPhone app using OCUnit on XCode 3.2.3, and iOS 4.0. I have successfully set up my testing environment to pass and fail basic tests appropriately, but when I import my own files (in this case, "UserAccount.h", it fails to compile and tells me:
"_OBJC_CLASS_$_UserAccount", referenced from:
It then says...
I have an iPhone SDK project that is supposed to build a static library for both the simulator and the ARM processor and then combine the two into a universal library.
Heretofore, I was using iPhone SDK 3+ and accomplished this by creating a separate target for each, one simulator and one ARM, and then making a third target that combine...
I have debug versions of libstdc++ and libc, among others, and would like to link against them. They live in /usr/lib/debug as opposed to /usr/lib. Any ideas?
...