[nas] Can't find library: "audio"

Jon Trulson jon at radscan.com
Mon Sep 30 10:56:38 MDT 2002


On Fri, 27 Sep 2002, Gansser, Martin wrote:

> Date: Fri, 27 Sep 2002 14:24:35 +0200
> From: "Gansser, Martin" <MGansser at rand.de>
> To: nas at radscan.com
> Subject: [nas] Can't find library: "audio"
> 
> I tried to compile nas-1.5 with the Imake system, but it fails now with the follwing error message:
> The System is hpux 11.00
> 
>         if [ ! -d dbm ]; then rm -f -r dbm; mkdir dbm; else /bin/true; fi
>         (cd dbm; rm -f *.o; ar -x /usr/lib/libdbm.a; \
>         ld -r -o a.out.o -h bcopy ndbm.o; \
>         mv a.out.o ndbm.o; ld -r -o ../dbm.o *.o)
> ld: Can't open ndbm.o
> ld: No such file or directory
> *** Error exit code 1
> `all' not remade because of errors

	Oh, that's disgusting ;-)  I forgot all about that crap.  
Apparently, in earlier versions of HPUX (don't know about now), there was
a version of bcopy in some syslib that conflicted with generally accepted
'standards' of bcopy.  So this mess above, would extract a known working
copy of bcopy() from some library and then embed it within NAS, thereby
removing the need for the linker to bring in the 'broken' version.

	Please don't yell at me, I didn't write this ;-)

	I think that in this day and age of flying machines and
light bulbs, most systems these days support memmove().  Perhaps it's time
to remove the bcopy dependancies and replace them with memmove (at least
for the server).  That would also allow me to gleefully remove the mess
above.


	The errors below are just a result of the fact that this magic
library either no longer exists, or no longer contains the bcopy.o object.

	You know, if you could give me ssh access to this machine, I'd be
more than happy to try and get it all to build for the next
release...  

	Also, your previous message that indicated to me how you hacked
around NetAudio.tmpl isn't something I'd want to put in a shipping NAS.


> making all in ./server/dda/hpux...
>         rm -f auhpux.o
>         gcc -c -O  -I. -I../../include -I../../../include -I../../dia -I../../.././include -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -I/usr/local/X11R6/include -DSYSV -Dhpux     auhpux.c
>         rm -f config.o
>         gcc -c -O  -I. -I../../include -I../../../include -I../../dia -I../../.././include -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -I/usr/local/X11R6/include -DSYSV -Dhpux     config.c
>         rm -f libhpux.a
>         ar clq libhpux.a auhpux.o config.o
> Make: Don't know how to make os/libos.a.  Stop.
> making all in ./lib...
> making all in ./lib/audio...
> Make: Don't know how to make AuPassCDebugFlags.  Stop.
> *** Error exit code 1
> `all' not remade because of errors
> making all in ./clients...
> making all in ./clients/audio...
> making all in ./clients/audio/widgets...
>         gcc -O   -I../../.././include -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -I/usr/local/X11R6/include -DSYSV -Dhpux    -c Slider.c
>         rm -f libwidgets.a
>         ar clq libwidgets.a Slider.o
> making all in ./clients/audio/auconvert...
>         gcc -O   -I../../.././include -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -I/usr/local/X11R6/include -DSYSV -Dhpux    -c auconvert.c
>         if [ -f auconvert ]; then rm -f auconvert~; mv -f auconvert auconvert~; fi
>         gcc -o auconvert auconvert.o -O   -L../../.././lib/audio -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -laudio -lXt -lXext -lX11 -lm   
> /usr/ccs/bin/ld: Can't find library: "audio"
> collect2: ld returned 1 exit status
> *** Error exit code 1
> 
> 
> any help
> 
> thanks Martin
> 

-- 
Jon Trulson    mailto:jon at radscan.com
ID: 1A9A2B09, FP: C23F328A721264E7 B6188192EC733962
PGP keys at http://radscan.com/~jon/PGPKeys.txt
#include <std/disclaimer.h>
Bad Color Temperature, Too much Peach.




More information about the Nas mailing list