Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Tony Cox <avc@sanger.ac.uk>
Subject: problems with  processor_info
Date: 2000/05/11	[thread overview]
Message-ID: <391A758E.33CB353B@sanger.ac.uk> (raw)

I'm trying to port a perl module that provided processor info (from sun to tru64
alpha).

The /usr/include sys/processor.h shows:

#if defined(__SVE__) || !defined(NO_SVR4_COMPAT)
#define processor_info(p,i)     __sve_processor_info((p),(i))
#define p_online(p,f)           __sve_p_online((p),(f))
#define processor_bind(i,id,p,o) __sve_processor_bind((i),(id),(p),(o))

extern int __sve_p_online       __((processorid_t processorid, int flag));
#if defined(__SVE__)
extern int __sve_processor_info __((processorid_t processorid, 
                                    processor_info_t *infop));
#else /* __SVE__ */
extern int __sve_processor_info __((processorid_t processorid, 
                                    proc_info_t *infop));
#endif /* __SVE__ */
extern int __sve_processor_bind __((idtype_t idtype, id_t id, 
                                    processorid_t processorid, 
                                    processorid_t *obind));
#endif /* __SVE__ */


I'm defining __SVE__ but when the module is executed i get a runtime link error:


Can't load './blib/arch/auto/Unix/Processors/Processors.so' for module
Unix::Processors: Unresolved symbol in
./blib/arch/auto/Unix/Processors/Processors.so: __sve_processor_info at
/usr/local/lib/perl5/alpha-dec_osf/5.00404/DynaLoader.pm line 166.

I can't find where __sve_processor_info is either defined or which library it
lives in. I'm linking with libmach, libpset and libc.

Can somebody either point out where I'm going wrong or tell me how to find out
where __sve_processor_info comes from.

thanks

Tony

-- 
##############################################################
Email: avc@sanger.ac.uk         # The Sanger Centre,
Tel: 01223 497512               # Hinxton, CAMBRIDGE CB10 1SA.
Fax: 01223 494919               # http://www.sanger.ac.uk/
##############################################################



             reply	other threads:[~2000-05-11  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-11  4:00 Tony Cox [this message]
2000-05-11  4:00 ` problems with processor_info Tony Verhulst
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox