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.
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.