Can't compile 1.1.2
Andrey
demontager at gmail.com
Tue Oct 21 12:08:51 UTC 2008
Adrien Kwok ?????:
> So how do I go and fix this problem? I don't exactly know how to go
> about it.
>
> This is my configuration when I hit ./configure
>
> Install prefix /usr
> nspluginwrapper root dir /usr/lib/nspluginwrapper
> Strip binaries no
> Bi-arch build yes
> Build viewer yes
> Build for Linux only yes
> Build standalone player yes
> 32-bit library dir name lib
> 64-bit library dir name lib64
> Source path /home/adrien/unzipped/nspluginwrapper-1.1.2
> C compiler gcc -std=c99
> C++ compiler g++
> host OS linux
> host CPU x86_64
> host big endian no
> target OS linux
> target CPU i386
> rpc init timeout 5 secs
>
> Shouldn't the target CPU be x86_64 and not i386?
>
> Thanks,
> Adrien
>
> On Tue, Oct 21, 2008 at 2:09 AM, Martin Stransky <stransky at redhat.com
> <mailto:stransky at redhat.com>> wrote:
>
> You can't link 640bit library (libsupc++.a) with 32-bit
> binaries...your cross-compiler environment seems to be broken.
>
> Adrien Kwok wrote:
>
> I got this error when trying to compile the software:
>
> gcc -std=c99 -m32 -o npviewer.bin npviewer-npw-viewer.o
> npviewer-npw-rpc.o
> npviewer-rpc.o npviewer-debug.o npviewer-utils.o
> npviewer-npruntime.o
> npviewer-cxxabi-compat.o -m32 -Llsb-build-i386 -lgtk-x11-2.0
> -lgdk-x11-2.0
> -lgobject-2.0 -ldl -lglib-2.0 -lX11 -lXt -ldl -lpthread
> -lgthread-2.0
> -Wl,--export-dynamic
> -Wl,--version-script,/home/adrien/unzipped/nspluginwrapper-1.1.2/src/npw-viewer.map
> -lsupc++
> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
> skipping incompatible
> /usr/lib64/gcc/x86_64-suse-linux/4.3/libsupc++.a when
> searching for -lsupc++
> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
> cannot find -lsupc++
> collect2: ld returned 1 exit status
> make: *** [npviewer.bin] Error 1
>
> Any help is appreciated.
>
> Adrien
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Nspluginwrapper-devel-list mailing list
> Nspluginwrapper-devel-list at redhat.com
> <mailto:Nspluginwrapper-devel-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/nspluginwrapper-devel-list
>
>
> _______________________________________________
> Nspluginwrapper-devel-list mailing list
> Nspluginwrapper-devel-list at redhat.com
> <mailto:Nspluginwrapper-devel-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/nspluginwrapper-devel-list
>
>
>
>
> --
> Registered Linux User: 362616
> Webmaster of Kwokinator.com
> ------------------------------------------------------------------------
> Have a same problem like you, You need i saw somewhere that libstdc ++ i386 needed for this, i mean -lsupc++
> _______________________________________________
> Nspluginwrapper-devel-list mailing list
> Nspluginwrapper-devel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/nspluginwrapper-devel-list
More information about the Nspluginwrapper-devel-list
mailing list