Amanda-Users

RE: Error compiling on TRU64 4.0F

2004-05-28 10:43:47
Subject: RE: Error compiling on TRU64 4.0F
From: "Dege, Robert C." <robert.dege AT ngc DOT com>
To: "Amanda List (E-mail)" <amanda-users AT amanda DOT org>
Date: Fri, 28 May 2004 07:39:46 -0700
I figured out the problem.  snprintf & vsnprintf are absent in libc for TRU64 
4.0F.  However, they can be found in the libdb.so library.  So, I was able to 
fix my problem by adding LD="-ldb" to the configure line.

-Rob

> -----Original Message-----
> From: Dege, Robert C. 
> Sent: Friday, May 28, 2004 9:47 AM
> To: Amanda List (E-mail)
> Subject: Error compiling on TRU64 4.0F
> 
> 
> 
> Hi,
> 
> I'm trying to build amanda client binaries for TRU64 4.0F.  I 
> am able to run configure fine (minus /sbin/dump issues).  
> When I run make, it errors out with the following message:
> 
> cc -g -o .libs/amqde amqde.o  ./.libs/libamclient.so 
> ../common-src/.libs/libamanda.so -lm -ltermcap -rpath 
> /mnt/raid/dist/lib
> ld:
> Unresolved:
> snprintf
> *** Exit 1
> Stop.
> *** Exit 1
> 
> Anybody understand why this is failing?
> 
> -Rob
> 
> PS - here is my configure line:
> 
>  ./configure --prefix=/mnt/raid/dist --with-suffixes=no 
> --with-index-server=main --with-user=amanda 
> --with-group=amanda --without-server --without-restore 
> --without-amrecover --with-config=simnet 
> --with-gnutar=/mnt/raid/dist/bin/tar --with-smbclient=no
> 

<Prev in Thread] Current Thread [Next in Thread>