make issue "/usr/bin/ld: cannot find -ldc1394_control"
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
PS: I am using FC-10
[root@obd-11 fwstreamer]# uname -a
Linux obd-11 2.6.27.19-170.2.35.fc10.i686 #1 SMP Mon Feb 23
13:21:22 EST 2009 i686 i686 i386 GNU/Linu
cd libdc1394 .. ./autogen.sh .. make .. # make install
.. all to /usr/local/lib/libdc1394_control.so(.x) .. no libdc1394.so.x,
so you will have no conflict with version 2.
Thanks but it is still not working. I am attaching the logs for you. After I performed what you told me, the library errors are still there and I cannot compile.
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,484
Rep:
Please do not attach 769 lines ... the errors will do.
Suggest : delete the directory libdc1394/
.. and fetch it again as normal user : do not download
anything as root. And do not run 'autogen.sh' as root,
root is for administration only.
By the way, 'autogen.sh' wasn't executeable ( the one I
got ). 'chmod +x autogen.sh' will do, or just use the
command 'sh autogen.sh'
.....
May be you are missing 'libtool' ? ?
# yum install libtool
.....
P.S. The attachment in post #4 can be deleted, I guess.
.....
I am still not able to make it work. Here is the error now: (a bit different one now)
g++ -g -O -Wall -I../../libsfbcomm -I../../ISOFile/include `pkg-config --cflags opencv` -c -o fwstreamer.o fwstreamer.cpp
In file included from fwstreamer.cpp:1:
FireWireFrameGrabber.h:9:38: error: libdc1394/dc1394_control.h: No such file or directory
In file included from fwstreamer.cpp:1:
FireWireFrameGrabber.h:61: error: ISO C++ forbids declaration of ‘dc1394_camerainfo’ with no type
FireWireFrameGrabber.h:61: error: expected ‘;’ before ‘*’ token
FireWireFrameGrabber.h:62: error: ISO C++ forbids declaration of ‘dc1394_miscinfo’ with no type
FireWireFrameGrabber.h:62: error: expected ‘;’ before ‘*’ token
FireWireFrameGrabber.h:63: error: ISO C++ forbids declaration of ‘dc1394_cameracapture’ with no type
FireWireFrameGrabber.h:63: error: expected ‘;’ before ‘*’ token
This is because when I try to make libdc1394-1.1.0, it gives me the following errors (I tried it with both root and another user):
../libdc1394/.libs/libdc1394_control.so: undefined reference to `raw1394_set_iso_handler'
../libdc1394/.libs/libdc1394_control.so: undefined reference to `raw1394_stop_iso_rcv'
../libdc1394/.libs/libdc1394_control.so: undefined reference to `raw1394_start_iso_rcv'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.