[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make problems (atomic.h not linking in?)
From: |
Federico Montesino Pouzols |
Subject: |
Re: Make problems (atomic.h not linking in?) |
Date: |
Mon, 5 Aug 2002 16:25:13 +0200 (CEST) |
>
> Howdy all,
>
Hi,
> I'm trying to compile/install the CommonC++. The configure script
> appears to proceed without problems but make fails. It appears that the
> functions contained in atomic.h aren't available to the mutex.cpp file
> to call even though atomic.h is present on my system.
>
> Having said that, I seem to have 2 versions of atomic.h, one with the
> functions, and one without. I thought the compilation might be
> referencing the wrong one so I renamed it. that didn't work. Then I
> copied the atomic.h file into the src directory of CommonC++, and
> inserted the line:
>
> #include 'home/wall0159/src/atomic.h'
>
> but this was to no avail.
What kind of system are you compiling in? Which are those two
atomic.h? Maybe sys/atomic.h and asm/atomic.h?
After you rename the "wrong" atomic.h you should run ./configure
again, so that the "right" atomic.h can be detected.
This problem should be handled by the CC++ autoconf macros however.