Hi,
On Tue, Jun 27, 2000 at 09:15:11PM -0700, Mo DeJong wrote:
> 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?
The ML branch dynamically selects the language configuration to use
based on the compile command passed to it. It doesn't examine the
filename. I don't think that the above error is an ML libtool problem.
Automake is complaining about the fact the object file created by
compiling SDL_sysjoystick.cc' and `SDL_sysjoystick.c' will have 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
Perhaps Automake is confused. It doesn't look like it notices that
only of one of SDL_sysjoystick.cc' and `SDL_sysjoystick.c' will be
used, not both.
-Ossama
--
Ossama Othman <[EMAIL PROTECTED]>
Distributed Object Computing Laboratory, Univ. of California at Irvine
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068 70E6 5EB7 5E71 F7A3 94A8