RE: ARCHIVELoadModule: wrong magic!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

	Firstly thanks to Marc La France for pointing me in the right
direction on this.

I have done some investigation and it appears that my server is
expecting the modules to be in "aiaff" small archive format.  However,
when viewed in a hex editor the modules appear to be built in "arch"
format which is why I am getting the errors below.

My question is this - is there a flag I can set to force the linker to
generate these modules in the older "aiaff" small archive format and
thus be in the format my server binary expects?

My GNU ar version number is 2.10.1 and my OS is LynxOS 4.0.0.  XFree86
version 4.4.0

Many thanks,

Ian

  

-----Original Message-----
From: xfree86-admin@xxxxxxxxxxx [mailto:xfree86-admin@xxxxxxxxxxx] On
Behalf Of Marc Aurele La France
Sent: 19 January 2005 15:33
To: xfree86@xxxxxxxxxxx
Subject: Re:  ARCHIVELoadModule: wrong magic!!

On Wed, 19 Jan 2005, Ian Jones wrote:

>   I have been running into a couple of errors when trying to run X on 
> my system.  I am using XFree86 version 4.4.0 and my operating system 
> is LynxOS version 4.0.0.  My host is a PowerPC based card with a 
> Chips&Tech graphics device on board.

> I have searched the web for a solution to this problem, but have been 
> unable to find anything that helps me.  The errors are shown in my log

> file output below.

> XFree86 Version 4.4.0
> Release Date: 29 February 2004
> X Protocol Version 11, Revision 0, Release 6.6 Build Operating System:

> LynxOS 4.0.0 PowerPC (LynuxWorks Inc.) Current Operating System: 
> LynxOS ian_lynx 4.0.0 021802-G PowerPC Build Date: 18 January 2005 
> Changelog Date: 29 February 2004
>        Before reporting problems, check http://www.XFree86.Org/
>        to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
>        (++) from command line, (!!) notice, (II) informational,
>        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/usr/adm/XFree86.0.log", Time: Tue Jan 18 14:09:21 
> 2005
> (==) Using config file: "/etc/X11/XF86Config"
> ARCHIVELoadModule: wrong magic!!
> (EE) Failed to load /usr/X11R6/lib/modules/fonts/libbitmap.a
> (EE) Failed to load module "bitmap" (loader failed, 7)
> ARCHIVELoadModule: wrong magic!!
> (EE) Failed to load /usr/X11R6/lib/modules/libpcidata.a
> (EE) Failed to load module "pcidata" (loader failed, 7)

> Fatal server error:
> Unable to load required base modules, Exiting

> The errors are being generated by the ARCHIVELoadModule routine (in 
> /xc/programs/Xserver/hw/xfree86/loader/loader.c), but I'm not really 
> sure why it is failing..?

It appears that LynxOS has its own archive format and that a server
binary for this OS expects modules to be in that format.  So, I'd first
determine which `ar` utility was used to generate these modules.

It might also be possible to modify this code to accept both LynxOS's
archive format and the more traditional PowerPC one.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Computing and Network Services  |  fax:    1-780-492-1729           |
|  352 General Services Building   |  email:  tsi@xxxxxxxxxxx          |
|  University of Alberta           +-----------------------------------+
|  Edmonton, Alberta               |                                   |
|  T6G 2H1                         |     Standard disclaimers apply    |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 developer and VP.  ATI driver and X server internals.
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. For more information on a proactive anti-virus
service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux