PDA

Bekijk de volledige versie : Problem compiling programs requiring libstdc++



ptnemot
08-09-2006, 10:39
Hi all,

I am currently trying to create my first ipkg package, one that would install the "par2cmdline" application (used by SABnzbd, a server based usenet downloader that I have running on my WL-500g). It is a C++ application and requires stdlibc++.

Now it's not very clear to me how to compile applications using libstdc++ for the WL-500g. In the forum there are a number of threads from different dates saying different things. I know hwoever that other packages that work depend on it (e.g. nmap) so there should be a way... Now I managed to get the application compiled using the cross-compile environment as explained on the Unslung homepage (had to include a "make libstdc++-staging" in the Makefile) and it packages correctly, it installs OK on my WL-500g but when I run it I get the message "cannot find libstdc++.so.5" (I have both the libstdc++ wrapper package and uclibc package installed). Could someone provide me with a short overview on the best way to compile programs requiring libstdc++ based on the current Unslung state?

Thanks,

Peter.

MindCruz
21-03-2007, 07:37
I am totally new to the whole linux and cross compiling thing, but I would really want to get samba and SABnzbd running on my WL 600g.

Do you think the 600g which has 4mb flash and 16mb ram will be able to run SABnzbd as well? And if so could you direct me to some info you used to get it done?

I already found your info page on libstdc++ and will read through that as well.

oleo
21-03-2007, 09:37
Follow instructions on http://www.nslu2-linux.org/wiki/FAQ/Optware-uClibcBuild