recompile

compile with -fPIC option but the option it is already in the makefile

Hello I get this error whem I am trying to do the make: relocation R_X86_64_32 against `vtable for Torch::MemoryDataSet' can not be used when making a shared object; recompile with -fPIC It says that I should recompile with the -fPIC option, I do that adding the -fPIC option to CFLAGS and CXXFLAGS but I still get the same error, any w...

How can you force recompilation of jsps in JBoss 4.2?

I hit on this nasty behavior on JBoss 4.2 in QA, and I want to nip it in the bud before we go into production and find some other corner case. A jsp calles a method that had the following signature: public void methodName(String arg) This was changed to: public void methodName(String arg, Object... args) A pre-existing JSP calle...

Recompile ASP.NET web project without giving it a virtual directory

In my line of work I'm often retrieving very specific versions of crusty ASP.NET web apps from their long-forgotten repositories, making minor changes and then recompiling. A major annoyance in this process is having to create a virtual directory for every web project that I need to recompile. I don't have any problems with the process,...

C Runtime Library Version Compatibility: updates require rebuilds?

How do you construct a library (static lib or a dll/so) so that it isn't sensitive to future updates to the system's C runtime librarires? At the end of July, Microsoft updated a bunch of libraries, including the C runtime libraries. Our app is written with a mix of MFC/C++/VB and some third party libraries, including some that are clos...

can I easily recomplie PHP with all my current settings and enable SOAP with the new configuration?

I have PHP 5.1.6 running with a ton of mods and extensions enabled, is there a way to reconfigure the current settings as well as add SOAP to the mix? ...

Fix bugs in .NET program without access to source

I have a program i frequently use that is made with .NET. This program has a small bug that is very annoying and the developer to the app is nowhere to be found. I have found the location of the problem in reflector and just want to add a single if-statement here and then recompile the program. What is the easiest way to do this? I ha...

Visual C++ studio, recompiling only the modified files

I have two dll files made by around 1500 cpp files. When I need to edit one, I usually then recompile all the 1500 files from the start. But I heard there is a way to make Visual Studio recompile the modifies only, taking a lot less time... How do I do this? ...

public static final variable in an imported java class

hi all, I happen to come across a Java code at my work place. Here's the scenario: There are 2 classes - ClassA and ClassB. ClassA has nothing except 4 public static final string values inside it. Its purpose is to use those values like ClassA.variable (don't ask me why, it's not my code). ClassB imports ClassA. I edited the string va...

Recompile decompiled Java (JD / JAD) source that contains goto instructions

(Related question: http://stackoverflow.com/questions/992930/java-compilers-or-jvm-languages-that-support-goto) I have decompiled a jar (Legally, for debugging purposes) and want to recompile it. I've used both JAD and JD and both don't compile due to goto instructions E.g. goto _L1 ... L1: return true; Is...

Adding implementation without recompiling in Java?

Hey everyone, I'm a college senior with my first real job opportunity (exciting). I'm at the stage now where they need to see a programming example, and they gave me the task of implementing a random number generator service in Java, with two different implementations (one using the built-in stuff and another of my choice). The code is t...

Modifying platform/frameworks/base package

Hi, I'm planning to modify some bits in the platform/frameworks/base project in Android Donut r2. The modifications are very small and goes into java packages android.graphics and android.text (the API isn't affected). What jar libraries do I have to copy from the recompiled platform? the modifications are small and I don't want to rep...

Recompile and reinstalling php

Hi, I am running Fedora Core 10 with php 5.2.9 without ldap. Now i want to remove current php installation and recompile the latest version of php with ldap and install it. How to do this? ...

How to compile the dll back after decompile C# dll ?

I use reflector to decompile a asp.net dll, after that I find the bug and fixed it, now I want to compile it back to a dll, then I can deploy, but it seems that I can't how can I do this ? ...

WHM/CPANEL MySQL keeps recompiling during upcp

Every night, Cpanel keeps recompiling MySQL. Here's the output from the logs. I've even tried forcing mysql to reinstall, but still keeps recompiling. MySQL works fine, but this is putting a lot of load on the server, and if it fails to recompile correctly, down goes MySQL, which is not something I'm prepared to wait for. During the rec...

When does an ASP.NET Website project recompile?

As Maurico and codeka first stated, don't use the default InProc sessions if you don't want your sessions to be affected by website recompiles and application recycles. A list of what causes whole website recompile: By default, when any change is made to a top-level file in a Web site, the whole site is recompiled. Top-level files i...

Trigger is invalid in Oracle

Some of the triggers in my database become invalid after certain changes on the tables. But it seems that they are still working. The only problem I have is if I use SQL Developer there are red crosses on the left hand side of the triggers indicating they are invalid. Is it a big issue? I know I can recompile the trigger to fix that but...

Make install causes recompiles

I am writing a master makefile to compile and install multiple autoconf based libraries, which depend on each other. All works well for the first go. The issue is: if I am working on one of these libraries individually and do "make && make install" header files in the prefix folder are overwritten (even if they are untouched). This cause...

Is it safe to recompile an executable while it's running?

What happens if I recompile an executable while it's running? Does the operating system read all of the executable's contents into memory when it starts running it, so it will never read the new executable file? Or will it read sections of the new executable file thinking it hasn't changed, leading to possibly undefined behaviour? What ...

recompiling PHP

I have compiled php with some optional extensions like APC (for caching),APD (for debugging) and other vital extensions. Now I need to install another extension called mhash (for encryption) and my question is that: Do i need to recompile php from scratch including the previous extensions and the last one or it is possible to recompile ...