Hi,

I am trying to use the cvs version, I just checked out, but it doesn't
work with libtool 1.4:

cc -c ./stubs.s -o stubs.lo
/bin/sh ../../../libtool --mode=link cc  -DWIN32_PATH=\"/usr/pkg/lib/win32\" 
-D__WINE__ -Ddbg_printf=__vprintf  -DTRACE=__vprintf -D__NO_STRING_INLINES 
-fno-omit-frame-pointer -Wmissing-prototypes -Wimplicit-function-declaration 
-I/pkgsrc/graphics/avifile-devel/work.i386/.buildlink/include 
-I/pkgsrc/graphics/avifile-devel/work.i386/.buildlink/include -O2 
-I/usr/pkg/share/x11-links/include -I/usr/pkg/share/x11-links/include -pipe 
-L/pkgsrc/graphics/avifile-devel/work.i386/.buildlink/lib 
-L/pkgsrc/graphics/avifile-devel/work.i386/.buildlink/lib  -Wl,-R/usr/pkg/qt2/lib 
-L/usr/pkg/share/x11-links/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib 
-Wl,-R/usr/pkg/qt2/lib -L/usr/pkg/share/x11-links/lib -Wl,-R/usr/X11R6/lib 
-Wl,-R/usr/pkg/lib -L/usr/pkg/share/x11-links/lib 
-L/pkgsrc/graphics/avifile-devel/work.i386/.buildlink/qt2/lib -o libloader.la   afl.lo 
driver.lo elfdll.lo ext.lo module.lo pe_image.lo pe_resource.lo registry.lo 
resource.lo win32.lo ldt_keeper.lo stubs.lo 
libtool: link: `stubs.lo' is not a valid libtool object
gmake[4]: *** [libloader.la] Error 1

Of course stubs.lo is not a 'normal' .lo file.

Is there any way to fix this problem?

Btw, here is another diff for NetBSD:

- Use the same check as for freebsd so use_x86opt defaults to yes
- the oss emulation needs an extra library, add a check for it

Index: configure.in
===================================================================
RCS file: /cvsroot/avifile/avifile-0.6/configure.in,v
retrieving revision 1.118
diff -c -r1.118 configure.in
*** configure.in        2001/10/15 20:26:22     1.118
--- configure.in        2001/10/16 07:51:54
***************
*** 176,181 ****
--- 176,186 ----
        DEFAULT_FLAGS=
      fi
      ;;
+   i386-*-netbsd*)
+     if test x$ac_cv_prog_gcc = xyes; then
+       DEFAULT_FLAGS=
+     fi
+     ;;
    i586-*-*)
      if test x$ac_cv_prog_gcc = xyes; then
        #DEFAULT_FLAGS="-march=i586 -ffast-math -fomit-frame-pointer -funroll-loops"
***************
*** 262,267 ****
--- 267,273 ----
      if test x$have_ossaudio = xyes; then
          use_ac3pass=yes
        AC_DEFINE(OSS_SUPPORT)
+       AC_CHECK_LIB([ossaudio], [_oss_ioctl])
      fi
  fi
  

Bernd


_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to