Additional cflags needed for aolserver4-* module compilation

Bug #1419628 reported by Malte Sussdorff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aolserver4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Without additional CFLAGS "-W1,--no-as-needed" the compilation of aolserver4-nssha1 / aolserver4-nscache (and probably others) will return something like this when including the module in AOLServer as a loaded module

Warning: modload: could not find Ns_ModuleInit in /usr/local/aolserver/bin/nssha1.so

There are several threads that recommend to add -Wl,no-as-needed to the CFLAGS in each Modules Makefile, which is required. You can find more information e.g. at http://www.clever-devel.com/wiki/Warning%3a_modload%3a_could_not_find_Ns_ModuleInit_in_%2fusr%2flocal%2faolserver%2fbin%2fnssha1.so

The new source code versions of nssha1, nscache and nspostgres stored at https://github.com/cognovis/nssha1 https://github.com/cognovis/nscache and https://github.com/cognovis/nspostgres respectively have that already patched.

Without these changes using AOLserver on Ubuntu 14.04 is not possible and requires a manual compile (as detailed at http://erp4projects.de/install-project-open-on-ubuntu-14-4-lts/).

Thanks in advance for taking the time to provide new packages.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.