Bug 239490 - Compilation fails for libdc1394 and libraw1394 from rawhide
Summary: Compilation fails for libdc1394 and libraw1394 from rawhide
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libraw1394
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jarod Wilson
QA Contact:
URL:
Whiteboard:
Depends On: 239043 239184
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-08 20:37 UTC by Nicolas Chauvet (kwizart)
Modified: 2017-03-20 11:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-08 20:45:19 UTC
Type: ---


Attachments (Terms of Use)

Description Nicolas Chauvet (kwizart) 2007-05-08 20:37:48 UTC
Description of problem: 
libdc1394 may be reviewed (if there is no patent - seems not for version_1)
See https://bugzilla.redhat.com/239184

Version-Release number of selected component (if applicable):
libraw1394-devel from rawhide produce this warning:
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -Wall -Wunused -MT dc1394_format7.lo
-MD -MP -MF .deps/dc1394_format7.Tpo -c dc1394_format7.c  -fPIC -DPIC -o
.libs/dc1394_format7.o
dc1394_capture.c: In function 'dc1394_multi_capture':
dc1394_capture.c:440: warning: 'raw1394_set_iso_handler' is deprecated (declared
at /usr/include/libraw1394/raw1394.h:1216)
dc1394_capture.c:449: warning: 'raw1394_stop_iso_rcv' is deprecated (declared at
/usr/include/libraw1394/raw1394.h:1242)
dc1394_capture.c:450: warning: 'raw1394_set_iso_handler' is deprecated (declared
at /usr/include/libraw1394/raw1394.h:1216)
dc1394_capture.c:463: warning: 'raw1394_start_iso_rcv' is deprecated (declared
at /usr/include/libraw1394/raw1394.h:1230)
dc1394_capture.c:471: warning: 'raw1394_stop_iso_rcv' is deprecated (declared at
/usr/include/libraw1394/raw1394.h:1242)
dc1394_capture.c:472: warning: 'raw1394_set_iso_handler' is deprecated (declared
at /usr/include/libraw1394/raw1394.h:1216)
dc1394_capture.c:491: warning: 'raw1394_stop_iso_rcv' is deprecated (declared at
/usr/include/libraw1394/raw1394.h:1242)
dc1394_capture.c:492: warning: 'raw1394_set_iso_handler' is deprecated (declared
at /usr/include/libraw1394/raw1394.h:1216)
dc1394_capture.c: In function 'dc1394_dma_release_camera':
dc1394_capture.c:584: warning: passing argument 1 of 'free' discards qualifiers
from pointer target type
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -Wall -Wunused -MT dc1394_absolute.lo -MD -MP -MF
".deps/dc1394_absolute.Tpo" -c -o dc1394_absolute.lo dc1394_absolute.c; \

Then this error appear: (only for rawhide - build fine on fc6)
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -Wall -Wunused -o .libs/grab_gray_image
grab_gray_image.o  ../libdc1394/.libs/libdc1394_control.so -lraw1394
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -Wall -Wunused -o .libs/dc1394_vloopback
dc1394_vloopback.o affine.o  -lm ../libdc1394/.libs/libdc1394_control.so -lraw1394
../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'
collect2: ld returned 1 exit status
make[2]: *** [grab_gray_image] Error 1
make[2]: *** Waiting for unfinished jobs....
../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'
collect2: ld returned 1 exit status
make[2]: *** [dc1394_vloopback] Error 1
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -Wall -Wunused -o .libs/grab_partial_image
grab_partial_image.o  ../libdc1394/.libs/libdc1394_control.so -lraw1394
../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'
collect2: ld returned 1 exit status

How reproducible:


Steps to Reproduce:
1. build libdc1394 from https://bugzilla.redhat.com/239184 using mock on devel
  
Actual results:
build fails on devel (FC-6 build fine but error still appear)

Expected results:
This Should build fine with upstream version of the libraw1394 1.2.1

Additional info:
Could we check that before F7 final?

Comment 1 Jarod Wilson 2007-05-08 20:45:19 UTC
I'm going to take a wild guess and assume this has something to do with the new
firewire stack in F7. The libraw1394 in F7 has been patched for use with the new
stack, and is NOT the same as upstream 1.2.1. I believe libdc1394 is gonna need
some attention to make it build for the new stack, and pretty sure this isn't a
libraw1394 bug.

Please reopen if you have a compelling argument to the contrary.


Note You need to log in before you can comment on or make changes to this bug.