Hi Roberto,
In the makefile.linux you could replace $(CC) with $(CXX). Presently the build configuration of openwrt(CC=uclibc-gcc) is overriding mgen (CC=g++). As per rules.mk the build flag CXX is  uclibc-g++ which might resolve the issue you are facing.

I am really a newbie to this forum, please pardon me for the choice of adjectives :) .  As per my analysis of your issue , I  deduced the solution could be as simple as substituting the CC with CXX in makefile.linux in MGEN source.

Following is the file and specific lines which gives that info:
trunk/rules.mk:84: CC=$(TARGET_CC)  \
trunk/rules.mk:86: CXX=$(TARGET_CROSS)g++ \

Regards,
Karthik Venkateswaran

[EMAIL PROTECTED] wrote: -----

To: OpenWrt Development List <[email protected]>
From: Roberto Riggio <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
Date: 08/06/2008 11:00AM
cc: OpenWrt Development List <[email protected]>
Subject: [OpenWrt-Devel] R: Re: Linking problem while building package


----- "Karthik Venkateswaran" <[EMAIL PROTECTED]> ha scritto:

> A simple solution is to use $(CXX) instead of $(CC) in MGEN source
> Makefile.

Sorry for the very simple question, but how do I tell kamikaze to use g++
in the package Makefile. The mgen makefile already spacifies g++ but it is
ignored by kamikaze.

> Karthik Venkateswaran
R.
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

______________________________________________________________________

This email may contain confidential or privileged information for the intended recipient(s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. Thanks

______________________________________________________________________
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to