Nick Kurshev reports this problem with respect to libvcd but the
versioning code is the same and right now we don't have a
vcdimager-devel mailing list.
The problem is make not finding some objects files located in
vcdimager/lib/.libs
like info.o in making libvcdinfo.
>From Nick:
> When I try to compile libvcd info I have this message:
>
> $echo 'VCDINFO_0 {' > libvcdinfo.la.ver
> $echo " global:" >> libvcdinfo.la.ver
> $nm info.o inf.o info_private.o vcd_read.o | sed -n -e 's/^.*[ ]
> [ABCDGIRSTW][ABCDGIRSTW]*[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)
> $/ \1;/p' | sort | uniq >> libvcdinfo.la.ver
> $nm: 'info.o': No such file
> $nm: 'inf.o': No such file
> $nm: 'info_private.o': No such file
> $nm: 'vcd_read.o': No such file
> $echo '};' >> libvcdinfo.la.ver
He suggests this patch (to vcdimager/lib/Makefile, but really it would
be applied to vcdimager/lib/Makefile.am) which basically changes a
reference to %o into $(objdir)%o:
--- Makefile.old 2005-05-15 10:24:19.000000000 +0400
+++ Makefile 2005-05-15 10:28:35.000000000 +0400
@@ -634,7 +634,7 @@
libvcdinfo.la.ver: $(libvcdinfo_la_OBJECTS)
echo 'VCDINFO_$(libvcdinfo_la_MAJOR) {' > $@
echo " global:" >> $@
- nm $(patsubst %lo,%o,$(libvcdinfo_la_OBJECTS)) | sed -n -e 's/^.*[
][ABCDGIRSTW][ABCDGIRSTW]*[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$$/
\1;/p' | sort | uniq >> $@
+ nm $(patsubst %lo,$(objdir)%o,$(libvcdinfo_la_OBJECTS)) | sed -n -e
's/^.*[ ][ABCDGIRSTW][ABCDGIRSTW]*[ ][
]*\([_A-Za-z][_A-Za-z0-9]*\)$$/ \1;/p' | sort | uniq >> $@
echo '};' >> $@
# EOF
Is this any better? Anyone care to comment on if this proposed change?
Thanks.
_______________________________________________
Libcdio-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/libcdio-devel