From: Michael Norton <mnorton@cisco.com>
To: linuxppc-dev@lists.linuxppc.org
Subject: Mesa Application Makefile
Date: Sat, 21 Oct 2000 22:21:21 -0700 (PDT) [thread overview]
Message-ID: <200010220521.WAA05528@cisco.com> (raw)
hi,
I am trying to get a program I wrote on Linux (Intel) to compile on my LinuxPPC G4 machine.
Here is my Makefile:
CC = gcc
CFLAGS = -g
INCLUDE = -I/usr/X11R6/include -I/usr/include/GL
GLUT = /usr/lib/libglut.so.3.7.0
LIBPATH = -L/usr/X11R6/lib -L/usr/local/lib
XLIBS = -L/usr/X11R6/lib -lXext -lX11
GLLIBS = -lMesaGLU -lMesaGL $(XLIBS)
PROG = gameCon
SRCS = glConsole.c
OBJS = glConsole.o
$(PROG) : $(OBJS)
$(CC) $(INCLUDE) -o $(PROG) $(OBJS) $(GLLIBS) $(GLUT)
I see thois error form the linker:
[mnorton@b9 console]#make
gcc -I/usr/X11R6/include -I/usr/include/GL -o gameCon glConsole.o -lMesaGLU -lMesaGL -L/usr/X11R6/lib -lXext -lX11 /usr/lib/libglut.so.3.7.0
/usr/bin/ld: cannot find -lMesaGLU
collect2: ld returned 1 exit status
make: *** [gameCon] Error 1
What am I doing wrong? What is missing from my Makefile?
thanks,
Mike
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next reply other threads:[~2000-10-22 5:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-22 5:21 Michael Norton [this message]
2000-10-22 16:10 ` Mesa Application Makefile Michael Schmitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200010220521.WAA05528@cisco.com \
--to=mnorton@cisco.com \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).