nanogui: Compile errors 0.89pre7 for nano-x only on a redhat 6.2 distro
Subject:
Re: Compile errors 0.89pre7 for nano-x only on a redhat 6.2 distro
From:
Jordan Crouse ####@####.####
Date:
6 Mar 2001 20:15:31 -0000
Message-Id: <3AA54693.57615B48@censoft.com>
Two problems there -- you have multiple keyboard devices defined, and
you are not pulling in the math library as needed. The second is not
your fault, it is actually a problem with the Makefile that doesn't
include the math library. Alex: if you have the fix for that, send it
to Greg, otherwise I will make sure he gets it for the next release.
Jordan
Lee Van Dyke wrote:
>
> Perhaps I missed something, trying to compile the 0.89pre7 for nano-x
> only I get the following errors:
> Anything obvious??
> I've attached the config and make file output.
>
> Here are the errors: (from make.txt)
>
> .
> .
> .
>
> Creating library
> /home/lee/src/microwindows-0.89pre7/microwin/src/lib/libmwdrivers.a ...
> ar rs
> /home/lee/src/microwindows-0.89pre7/microwin/src/lib/libmwdrivers.a
> fblin8.o fblin16.o fblin24.o fblin32.o genmem.o fb.o fblin1.o fblin2.o
> vgaplan4.o memplan4.o genfont.o scr_fb.o fblin4.o vtswitch.o mou_gpm.o
> kbd_tty.o kbd_ttyscan.o Creating shared library
> /home/lee/src/microwindows-0.89pre7/microwin/src/lib/libmwdrivers.so ...
> ld -shared -o
> /home/lee/src/microwindows-0.89pre7/microwin/src/lib/libmwdrivers.so
> --whole-archive
> /home/lee/src/microwindows-0.89pre7/microwin/src/lib/libmwdrivers.a
> /home/lee/src/microwindows-0.89pre7/microwin/src/lib/libmwdrivers.a(kbd_ttyscan.o):
> In function `TTY_Open':
> /home/lee/src/microwindows-0.89pre7/microwin/src/drivers/kbd_ttyscan.c:91:
> multiple definition of `kbddev'
> /home/lee/src/microwindows-0.89pre7/microwin/src/lib/libmwdrivers.a(kbd_tty.o):/home/lee/src/microwindows-0.89pre7/microwin/src/drivers/kbd_tty.c:53:
> first defined here
> make[1]: ***
> [/home/lee/src/microwindows-0.89pre7/microwin/src/lib/libmwdrivers.so]
> Error 1
>
> .
> .
> .
>
> gcc -fpic -I.
> -I/home/lee/src/microwindows-0.89pre7/microwin/src/include -Wall -ggdb
> -L/home/lee/src/microwindows-0.89pre7/microwin/src/lib nsaver.o -o
> /home/lee/src/microwindows-0.89pre7/microwin/src/bin/nsaver -lnano-X
> -lmwengine -lmwdrivers -lmwfonts
> nsaver.o: In function `saver5_drawstar':
> /home/lee/src/microwindows-0.89pre7/microwin/src/demos/nanox/nsaver.c:298:
> undefined reference to `sin'
> /home/lee/src/microwindows-0.89pre7/microwin/src/demos/nanox/nsaver.c:299:
> undefined reference to `cos'
> nsaver.o: In function `saver5_animate':
> /home/lee/src/microwindows-0.89pre7/microwin/src/demos/nanox/nsaver.c:340:
> undefined reference to `sin'
> nsaver.o: In function `saver6_makefork':
> /home/lee/src/microwindows-0.89pre7/microwin/src/demos/nanox/nsaver.c:476:
> undefined reference to `sqrt'
> /home/lee/src/microwindows-0.89pre7/microwin/src/demos/nanox/nsaver.c:478:
> undefined reference to `atan'
> /home/lee/src/microwindows-0.89pre7/microwin/src/demos/nanox/nsaver.c:485:
> undefined reference to `sin'
> /home/lee/src/microwindows-0.89pre7/microwin/src/demos/nanox/nsaver.c:486:
> undefined reference to `cos'
> nsaver.o: In function `saver7_moveplanet':
> /home/lee/src/microwindows-0.89pre7/microwin/src/demos/nanox/nsaver.c:689:
> undefined reference to `sqrt'
> collect2: ld returned 1 exit status
> make[2]: ***
> [/home/lee/src/microwindows-0.89pre7/microwin/src/bin/nsaver] Error 1
>
> --
> Lee Van Dyke - Sr. Software Engineer
> Matsushita Avionics Systems Corporation
> 26200 Enterprise Way FAX: : (949)672-2657
> Lake Forest, CA 92630-8400 E-mail : ####@####.####
>
>
> ------------------------------------------------------------------------
> Name: make.txt.gz
> make.txt.gz Type: gzipped files (application/x-gzip)
> Encoding: base64
>
> Name: config.gz
> config.gz Type: gzipped files (application/x-gzip)
> Encoding: base64
>
> ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####