Compile error: wrong machine type

D

dpm

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.
 
M

Mark A. Odell

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

Since C is a portable language the machine/OS should not matter. If it
does you're probably off-topic.
/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)

Oh yeah, you're off-topic. This is a question about how a particular
tool-chain finds libraries and is not at all specified by the C language
which we discuss here.

You might try a newsgroup that discusses your tool-chain/platform.
 
T

Thomas Matthews

dpm said:
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.

By the way, libraries are not guaranteed to be portable across
platforms. The same with graphics.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top