[Bug 496122] [NEW] linking against libfwImage.so fails
Andrew Straw
strawman at astraw.com
Sun Dec 13 09:48:29 UTC 2009
Public bug reported:
I cannot link a simple C program against libfwImage.so. I am including
an example program as an attachment, although I imagine any valid C
program will do -- this seems to be a problem with libfwImage.so.
This is happening on Karmic and Lucid. (With libfwbase1-dev 1.3-5 and
1.3.1-1, respectively.) With 1.3.1-1 on sid, I do not get this error.
(This makes me think that the issue might be with scons or other part of
the buildsystem rather than with the framewave package itself.)
Steps to reproduce:
(download fwitest.c attached to this ticket.)
gcc -o fwitest.o -c fwitest.c
gcc fwitest.o -o fwitest -lfwBase -lfwImage
In this last step on Lucid amd64, I get:
/usr/lib/gcc/x86_64-linux-gnu/4.4.2/../../../../lib/libfwImage.so: undefined reference to `void REFR::My_FW_PointHandle<float, (REFR::DispatchType)0>(double, double, int, int, float const*, int, FwiRect, float*, int, int, int*, int, int, float)'
/usr/lib/gcc/x86_64-linux-gnu/4.4.2/../../../../lib/libfwImage.so: undefined reference to `void REFR::My_FW_PointHandle<unsigned short, (REFR::DispatchType)0>(double, double, int, int, unsigned short const*, int, FwiRect, unsigned short*, int, int, int*, int, int, float)'
/usr/lib/gcc/x86_64-linux-gnu/4.4.2/../../../../lib/libfwImage.so: undefined reference to `void REFR::My_FW_PointHandle<unsigned char, (REFR::DispatchType)0>(double, double, int, int, unsigned char const*, int, FwiRect, unsigned char*, int, int, int*, int, int, float)'
/usr/lib/gcc/x86_64-linux-gnu/4.4.2/../../../../lib/libfwImage.so: undefined reference to `void SSE2::My_FW_PointHandle<unsigned char, (SSE2::DispatchType)0>(double, double, int, int, unsigned char const*, int, FwiRect, unsigned char*, int, int, int*, int, int, float)'
/usr/lib/gcc/x86_64-linux-gnu/4.4.2/../../../../lib/libfwImage.so: undefined reference to `void SSE2::My_FW_PointHandle<unsigned short, (SSE2::DispatchType)0>(double, double, int, int, unsigned short const*, int, FwiRect, unsigned short*, int, int, int*, int, int, float)'
/usr/lib/gcc/x86_64-linux-gnu/4.4.2/../../../../lib/libfwImage.so: undefined reference to `void SSE2::My_FW_PointHandle<float, (SSE2::DispatchType)0>(double, double, int, int, float const*, int, FwiRect, float*, int, int, int*, int, int, float)'
collect2: ld returned 1 exit status
** Affects: framewave (Ubuntu)
Importance: Undecided
Status: New
--
linking against libfwImage.so fails
https://bugs.launchpad.net/bugs/496122
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list