Mailing list archive (omnetpp-l at omnetpp.org)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: [Omnetpp-l] Problems with rpath flag on Mac
This problem affects only Mac OS X 10.4. A workaround for
command line
compilation (The IDE generated makefile still will be wrong): (also upgrading your Mac would solve the problem :)
In src/utils/opp_makemake:
In the line:
{~nolink:}{~staticlib:}{libpathdirs:}{~nmake:}LIBS +={@dir:libpathdirs} -Wl,-rpath,`abspath {dir}`{/@}
Remove the rpath switch:
{~nolink:}{~staticlib:}{libpathdirs:}{~nmake:}LIBS +={@dir:libpathdirs} {/@}
Rudolf
On Tue, May 19, 2009 at 5:27 PM, Karl Wessel
<karl_wessel at xxx> wrote:
Hi,
we still encounter the following error with the rpath flag when trying
to build something from the makefiles generated by omnetpp 4.0 using
MAC-OSs gcc 4.2.1:
> /usr/libexec/gcc/i686-apple-darwin8/4.2.1/ld: unknown flag: -rpath
> collect2: ld returned 1 exit status
> make[1]: *** [../out/gcc-debug//base/libmiximbase.dylib] Error 1
> make: *** [base_dir] Error 2
My colleague Michael Swigulski already talked about this problem with
Rudolf Hornig some time ago and he opened a ticket for it at
http://dev.omnetpp.org/bugs/view.php?id=39 which seems to be still open.
Does somebody else have had this problem or knows a solution for it?
Greetings,
Karl Wessel
_______________________________________________
Omnetpp-l mailing list
Omnetpp-l at xxx
http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
_______________________________________________
Omnetpp-l mailing list
Omnetpp-l at xxx
http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
Home |
Main Index |
Thread Index