[Libburn] Trouble Linking libburn
Bryan Forbes
bryan at reigndropsfall.net
Tue Sep 7 08:46:37 PDT 2004
This is an issue with kernel 2.6.8 and the tightening of permissions to
send raw information to devices. Kernel 2.6.9 should fix this issue.
I'm using a debian kernel-source package with some backports from 2.6.9-
rc1 and libburn doesn't give me that problem.
On Tue, 2004-09-07 at 11:29 -0400, Mark Magnusson wrote:
> Thanks for the help, got it to compile fine now, however, keep getting
> killed with the following error:
>
> Initializing library...Success
> libburn_test: libburn/sg.c:247: sg_issue_command: Assertion `err != -1'
> failed.
> Scanning for devices...
> ----------------------------------------------
> Program has been terminated receiving signal 9 (Killed)
> Press the Enter key to close this terminal ...
>
> This was a direct copy paste from the example code located on the
> libburn site at:
> http://icculus.org/burn/doc/
>
> Is this something i am doing incorrectly, or a bug with libburn ?
>
> Derek Foreman wrote:
>
> > On Mon, 6 Sep 2004, Mark Magnusson wrote:
> >
> >> Hello everyone. I am attempting to use libburn for some development,
> >> however i keep running into problems getting the library to link. I
> >> have included the output of ld, as well as other relivant
> >> information, if anyone can help me solve this problem it would be
> >> greatly appriciated.
> >>
> >> /bin/sh ../libtool --mode=link --tag=CC gcc -Wall -g -o inferno
> >> -L/usr/local/lib callbacks.o interface.o main.o support.o
> >> -Wl,--export-dynamic -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0
> >> -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
> >> -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -llibburngcc -Wall -g
> >> -o inferno callbacks.o interface.o main.o support.o
> >> -Wl,--export-dynamic -L/usr/local/lib /usr/lib/libgtk-x11-2.0.so
> >> /usr/lib/libatk-1.0.so /usr/lib/libgdk-x11-2.0.so
> >> /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so
> >> /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so
> >> /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl
> >> /usr/lib/libglib-2.0.so -llibburn
> >> /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld:
> >> cannot find -llibburn
> >> collect2: ld returned 1 exit status
> >
> >
> > Use -lburn instead of -llibburn and everything should be right with
> > the world. :)
> >
> >
>
> _______________________________________________
> libburn mailing list
> libburn at freedesktop.org
> http://pdx.freedesktop.org/cgi-bin/mailman/listinfo/libburn
--
======================================================================
Bryan Forbes
bryan at reigndropsfall.net
http://www.reigndropsfall.net
"It does not take a majority to prevail, but rather an irate, tireless
minority keen to set brush fires in people's minds."
- Samuel Adams, an architect of the Constitution
Key fingerprint = 3D7D B728 713A BB7B B8B1 5B61 3888 17E0 70CA 0F3D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://freedesktop.org/pipermail/libburn/attachments/20040907/fc4a67b4/attachment.pgp
More information about the libburn
mailing list