[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backupfile and backup-rename are introducing the same object to make
From: |
Bruno Haible |
Subject: |
Re: backupfile and backup-rename are introducing the same object to make |
Date: |
Wed, 25 Jan 2023 18:53:57 +0100 |
Hi,
(GalaxyMaster) wrote:
> backup-replace
You mean 'backup-rename', right?
> I could not find any information on whether these modules are mutually
> exclusive or inter-dependent
Given the description of these two modules, it should be possible for a
program to use one, or the other, or both.
> I just stumbled upon the following: when I include both backupfile and
> backup-replace modules I am getting a broken build due to multiple definitions
> of "simple_backup_suffix'.
This is not expected, because usually the .o files are collected in a .a file,
from which one of the two backupfile.o will be picked, and it does not matter
which one since they are identical.
Please describe your situation:
- operating system?
- building what kind of library or binary in which way?
- which compiler: $CC = ? $CFLAGS = ? $CPPFLAGS = ? $LDFLAGS = ?
- which linker is being used by the compiler?,
and show the precise error message log.
Bruno