Professional Web Applications Themes

Compile error: wrong machine type - SCO

I'm trying to create a simple X Windows/openGL executable on an SCO Unix machine and get the following error when running make: /u/[path]/lib/libGL.a (g_render.o): fatal error: /u/[path]/lib/libGL.a (g_render.o): wrong machine type ***Error code 1 (bu21) Thanks for any help....

  1. #1

    Default Compile error: wrong machine type

    I'm trying to create a simple X Windows/openGL executable on an SCO Unix
    machine and get the following error when running make:

    /u/[path]/lib/libGL.a (g_render.o): fatal error: /u/[path]/lib/libGL.a
    (g_render.o): wrong machine type
    ***Error code 1 (bu21)

    Thanks for any help.


    dpm Guest

  2. #2

    Default Re: Compile error: wrong machine type

    In article <nD97b.131588$ops.worldnet.att.net>,
    dpm <net> wrote: 
    where was the libGL.a compiled?

    --
    Larry Rosenman http://www.lerctr.org/~ler
    Phone: +1 972-414-9812 E-Mail: org
    US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
    Larry Guest

  3. #3

    Default Re: Compile error: wrong machine type

    I don't know. I extracted it from a tar.Z file from a publisher's ftp site.

     
    > where was the libGL.a compiled?
    >
    > --
    > Larry Rosenman http://www.lerctr.org/~ler
    > Phone: +1 972-414-9812 E-Mail: org
    > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749[/ref]


    dpm Guest

  4. #4

    Default Re: Compile error: wrong machine type

    In article <G8a7b.134345$ops.worldnet.att.net>,
    dpm <net> wrote: 
    sounds like it is for a different archtecture(sp?) or
    machine type (pentium vs 486 vs 386 vs heaven only knows).

    What does file on libGL.a show?

    LER
    --
    Larry Rosenman http://www.lerctr.org/~ler
    Phone: +1 972-414-9812 E-Mail: org
    US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
    Larry Guest

  5. Moderated Post

    Default Re: Compile error: wrong machine type

    Removed by Administrator
    Walter Guest
    Moderated Post

  6. Moderated Post

    Default Re: Compile error: wrong machine type

    Removed by Administrator
    Larry Guest
    Moderated Post

  7. Moderated Post

    Default Re: Compile error: wrong machine type

    Removed by Administrator
    dpm Guest
    Moderated Post

  8. #8

    Default Re: Compile error: wrong machine type

    In article <Xho7b.132364$ops.worldnet.att.net>,
    dpm <net> wrote: 
    and what is one of your own compiled .o's say?

    --
    Larry Rosenman http://www.lerctr.org/~ler
    Phone: +1 972-414-9812 E-Mail: org
    US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
    Larry Guest

  9. #9

    Default Re: Compile error: wrong machine type

    All other *.o files report back:

    iAPX 386 executable not stripped - version 30821

     
    > and what is one of your own compiled .o's say?
    >[/ref]


    dpm Guest

  10. #10

    Default Re: Compile error: wrong machine type

    "dpm" <net> wrote in message news:<Xho7b.132364$ops.worldnet.att.net>... 

    Looks to me like your libGL.a was compiled for a big-endian
    machine such as MIPS or ARM. You can't use it for linking
    on SCO UNIX, which is running on both a different architecture
    and endianism.

    Jonathan Schilling
    J. Guest

Similar Threads

  1. #40164 [NEW]: filetype() generates wrong error message type
    By pcdinh at gmail dot com in forum PHP Bugs
    Replies: 1
    Last Post: January 19th, 10:04 AM
  2. cffile - wrong file type error message
    By etman in forum Coldfusion - Advanced Techniques
    Replies: 2
    Last Post: April 6th, 02:33 AM
  3. wrong operand type - error
    By Joshua_Cohen@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 0
    Last Post: August 25th, 08:04 PM
  4. Getting machine type
    By Mike in forum Mac Programming
    Replies: 3
    Last Post: October 11th, 05:41 AM
  5. Replies: 1
    Last Post: July 25th, 02:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139