From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,f5299897250c530c X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-03-30 01:14:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.tu-darmstadt.de!news.belwue.de!news.bawue.de!nienor.s.bawue.de!not-for-mail From: Torsten Zirzlaff Newsgroups: comp.os.linux.alpha Subject: Re: Q: Why do I got a linker error? Date: 30 Mar 2003 10:43:54 +0200 Organization: The Testsite Sender: zirzlaff@tinuviel Message-ID: <87brztgs6t.fsf@new.home-net.stg> References: <87r88q5aym.fsf@new.home-net.stg> NNTP-Posting-Host: new.home-net.stg Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: nienor.home-net.stg 1049013918 9133 193.175.20.139 (30 Mar 2003 08:45:18 GMT) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.os.linux.alpha:7487 Hi. mru@users.sourceforge.net (M�ns Rullg�rd) writes: > Torsten Zirzlaff writes: > > > I try to compile wdsetup, but I got a strange linker error. > > > > There is a undefined reference against alpha_mv. I muse that this an > > maschine intrinsic value, but how could I get the file linked? > > > > /usr/include/asm/machvec.h:extern struct alpha_machine_vector alpha_mv; > > That is a kernel symbol. How did it end up in user-space code? As I wrote before. I need it for compiling wdsetup. It's a setup tool SMC ISA network cards. The main reason is use of the methods outb_p and inb_p. My first guess is to replace sys/io.h with asm/io.h since there those methods are defined. How does a better solution look? > -- > M�ns Rullg�rd > mru@users.sf.net TIA Torsten -- s-mail: Neckarstr. 120 Torsten Zirzlaff 70190 Stuttgart Germany e-mail : zirzlaff@nienor.s.bawue.de phone: +49 711 285 19 40 torsten@zirzlaff.de mobil: +49 174 857 56 77 data: +49 711 286 40 57/9 +-----------------------------------------------------------------------------+ | The shortest unit of time in the universe is the New York Second, defined | | as the period of time between the traffic lights turning green and the cab | | behind you honking. -- Terry Pratchett 'Lords and Ladies' | +-----------------------------------------------------------------------------+