I have seen builds get out of whack like this a few times; I think it's
been due to situations like:
- when you run configure multiple times and do not run "make clean"
before re-running "make"
- Solaris' dependency analysis gets mucked up upon successive
invocations of "make"
It *sounds* like there are some .o files missing from liblam.so.
Here's the easiest thing that I would recommend: extract a fresh LAM
tarball and "./configure LIBS=-lrt ...whatever other options you
use...;make all install" -- i.e., just do this once. See if that fixes
the problem for you (i.e., if so, it's probably not worth figuring out
what the exact problem is -- use the "sledgehammer" approach and get a
functional installation).
If it does not, then we'll need to see exactly what is failing.
On Sep 18, 2004, at 6:57 PM, John Korah wrote:
> i have attached the config.log and output of the make
> John
> --- Jeff Squyres <jsquyres_at_[hidden]> wrote:
>
>> Can you send your full configure and make output?
>> Something else is
>> happening here that is not obvious from the just the
>> last few lines.
>>
>> (see http://www.lam-mpi.org/using/support/ for
>> instructions -- thanks!)
>>
>> On Sep 17, 2004, at 3:40 PM, John Korah wrote:
>>
>>> Jeff,
>>> I tried conifuring and make with LIBS=-lrt but i
>> get
>>> errors in make as given below
>>>
>>> Undefined first referenced
>>> symbol in file
>>> kexit lamclean.o
>>> kinit lamclean.o
>>> nodespin_end lamclean.o
>>> lamfail lamclean.o
>>> validopts lamclean.o
>>> lam_rfrmfd lamclean.o
>>> show_help lamclean.o
>>> rpdoom lamclean.o
>>> rbfwipe lamclean.o
>>> opt_taken lamclean.o
>>> do_args lamclean.o
>>> nodespin_init lamclean.o
>>> nodespin_next lamclean.o
>>> lam_rtrsweep lamclean.o
>>> getnodes lamclean.o
>>> getntype lamclean.o
>>> lam_rtrcleanobjs lamclean.o
>>> ld: fatal: Symbol referencing errors. No output
>>> written to .libs/lamclean
>>> collect2: ld returned 1 exit status
>>> *** Error code 1
>>> make: Fatal error: Command failed for target
>>> `lamclean'
>>> Current working directory
>>> /guest/lam-7.0.6/otb/lamclean
>>> *** Error code 1
>>> make: Fatal error: Command failed for target
>>> `all-recursive'
>>> Current working directory /guest/lam-7.0.6/otb
>>> *** Error code 1
>>> make: Fatal error: Command failed for target
>>> `all-recursive'
>>> Thanks
>>> John
>>>
>>> --- Jeff Squyres <jsquyres_at_[hidden]> wrote:
>>>
>>>> Which symbols is it complaining about?
>>>> sem_destroy() (and other sem_*
>>>> functions?)
>>>>
>>>> If so, it looks like we may have missed adding
>>>> "-lrt" to the LIBS
>>>> variable automatically. To workaround this, you
>> can
>>>> re-configure and
>>>> re-build LAM with the following:
>>>>
>>>> ./configure LIBS=-lrt ....rest of your configure
>>>> options...
>>>>
>>>>
>>>> On Sep 15, 2004, at 6:43 PM, John Korah wrote:
>>>>
>>>>> Hi,
>>>>> I am getting the following errors during make
>> when
>>>>> trying to install lam 7.0.6 on solaris 9. I have
>> a
>>>> SUN
>>>>> V100 machine.
>>>>>
>>>>> I give the following configure command
>>>>> ./configure --enable-shared --prefix=/opt/lam/
>>>>> --with-threads=posix
>>>>>
>>>>> It is installed fine when i dont have the
>>>>> enable-shared option
>>>>>
>>>>> i get the following errors during make
>>>>>
>>>>>
>>>>> ld: fatal: Symbol referencing errors. No output
>>>>> written to .libs/lamclean
>>>>> collect2: ld returned 1 exit status
>>>>> *** Error code 1
>>>>> make: Fatal error: Command failed for target
>>>>> `lamclean'
>>>>> Current working directory
>>>>> /guest/lam-7.0.6/otb/lamclean
>>>>> *** Error code 1
>>>>> make: Fatal error: Command failed for target
>>>>> `all-recursive'
>>>>> Current working directory /guest/lam-7.0.6/otb
>>>>> *** Error code 1
>>>>> make: Fatal error: Command failed for target
>>>>> `all-recursive'
>>>>>
>>>>>
>>>>> Thanks
>>>>> john
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________
>>>>> Do you Yahoo!?
>>>>> Declare Yourself - Register online to vote
>> today!
>>>>> http://vote.yahoo.com
>>>>> _______________________________________________
>>>>> This list is archived at
>>>> http://www.lam-mpi.org/MailArchives/lam/
>>>>>
>>>>
>>>> --
>>>> {+} Jeff Squyres
>>>> {+} jsquyres_at_[hidden]
>>>> {+} http://www.lam-mpi.org/
>>>>
>>>> _______________________________________________
>>>> This list is archived at
>>>> http://www.lam-mpi.org/MailArchives/lam/
>>>>
>>>
>>>
>>>
>>>
>>> _______________________________
>>> Do you Yahoo!?
>>> Declare Yourself - Register online to vote today!
>>> http://vote.yahoo.com
>>> _______________________________________________
>>> This list is archived at
>> http://www.lam-mpi.org/MailArchives/lam/
>>>
>>
>> --
>> {+} Jeff Squyres
>> {+} jsquyres_at_[hidden]
>> {+} http://www.lam-mpi.org/
>>
>> _______________________________________________
>> This list is archived at
>> http://www.lam-mpi.org/MailArchives/lam/
>>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.
> http://promotions.yahoo.com/
> new_mail<make1.out><config.log>________________________________________
> _______
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|