On 28 Jun 2000, Alexandre Oliva wrote:

> On Jun 28, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote:
> 
> > Do you mean like this?
> 
> Yup.
> 
> > I tried to rerun with this change but I got the same error.
> 
> This particular change wouldn't help at all.  Just make sure you're
> getting an up-to-date libtool.m4 in your aclocal.m4, because it is in
> the aclocal.m4 copy of libtool.m4 that the source of this problem is.

Well, this is now showing up in my aclocal.m4, but I still
get the error.

AC_PROVIDE_IFELSE([AC_PROG_CC],
                  [AM_DEPENDENCIES(CC)],
                  [define([AC_PROG_CC],
                          defn([AC_PROG_CC])[AM_DEPENDENCIES(CC)
])])dnl
AC_PROVIDE_IFELSE([AC_PROG_CXX],
                  [AM_DEPENDENCIES(CXX)],
                  [define([AC_PROG_CXX],
                          defn([AC_PROG_CXX])[AM_DEPENDENCIES(CXX)
])])dnl
])


Of course, I am also getting this other error:

automake: src/joystick/Makefile.am: object `SDL_sysjoystick.lo' created 
by `SDL_sysjoystick.cc' and `SDL_sysjoystick.c'
automake: src/joystick/Makefile.am: object `SDL_sysjoystick.lo' created 
by `SDL_sysjoystick.cc' and `SDL_sysjoystick.c'

Perhaps the first error is a wild goose chase. This
error seems to be caused by a conflict between
SDL_sysjoystick.c and SDL_sysjoystick.cc,
does the ML branch know how to deal with
two different language file with the same
name?


# Include the architecture-independent sources
COMMON_SRCS =                   \
        SDL_joystick.c          \
        SDL_joystick_c.h        \
        SDL_sysjoystick.h

# Include the architecture-specific sources
if TARGET_BEOS
ARCH_SRCS = SDL_sysjoystick.cc
else
if TARGET_WIN32
ARCH_SRCS = SDL_mmjoystick.c
else
ARCH_SRCS = SDL_sysjoystick.c
endif
endif


thanks
Mo DeJong
Red Hat Inc

Reply via email to