[olug] xmcd Makefile problems

Matthew G. Marsh mgm at midwestlinux.com
Wed Mar 12 19:00:50 UTC 2003


On Tue, 11 Mar 2003, Brian Wiese wrote:

> On Sat, 8 Mar 2003 08:49:50 -0600
> Dave Thacker <dthacker9 at cox..net> wrote:
>
> |I'm trying to compile xmcd on my RH 7.3 box.  I know just enough about
> |makefiles to open one. The xmcd compile is complaining about a rule for
> |this target:
> |
> |make: *** No rule to make target `../labelh_d/libLabelH.a', needed by
> |`xmcd'.  Stop.

Mmmm - .a is the suffix for static libraries (as opposed to .so shared
object libraries)

Sounds like the library is made first (ala most programs these days -
watch a compile closely sometime).

> Try modifing the makefile and replace that ".a" on the end with ".c" ... I
> imagine it is a typo.  The .c files are your C source code, the .h are the
> header files.  hth.

No. Please don't. The makefile below is showing that this library needs
imake to be run first and it probably is missing either imake or imake is
not in the path. imake is typically in /usr/X11R6/bin on most Linux
systems.

> |The OBJS section of the Makefile contains this entry
> |../labelh_d./libLabelH.a
> |
> |The labelh_d subdirectory is there:
> |-r--r--r--    1 1851     sys          1403 Nov 22 20:56 COPYRIGHT
> |-r--r--r--    1 1851     sys           836 Nov 22 20:56 Imakefile
> |-r--r--r--    1 1851     sys         10499 Nov 22 20:56 LabelH.c
> |-r--r--r--    1 1851     sys          1926 Nov 22 20:56 LabelH.h
> |-r--r--r--    1 1851     sys          2229 Nov 22 20:56 LabelHP.h
> |-r--r--r--    1 1851     sys           636 Nov 22 20:56 Makefile.std
> |-r--r--r--    1 1851     sys           338 Nov 22 20:56 Makevms.com
> |-r--r--r--    1 1851     sys           389 Nov 22 20:56 README

Have you read the README in this directory?

> |What should I stuff in the Makefile and where should I stuff it to get
> |this .a file compiled?
> |
> |TIA
> |
> |DT
> |
> |_______________________________________________
> |OLUG mailing list
> |OLUG at olug.org
> |http://lists.olug.org/mailman/listinfo/olug
> |
>
>
>   Brian Wiese | bwiese at cotse.com | aim: unolinuxguru
> ------------------------------------------------------
>   GnuPG/PGP key 0x1E820A73 | "FREEDOM!" - Braveheart
> ------------------------------------------------------
> This is not about Napster or DVDs. It's about your Freedom.
>   I'll see your DMCA and raise you a First Amendment.
>               http://www.anti-dmca.org
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>

--------------------------------------------------
Matthew G. Marsh,  President
Paktronix Systems LLC
1506 North 59th Street
Omaha  NE  68104
Phone: (402) 553-2288
Email: mgm at paktronix.com
WWW:  http://www.paktronix.com
--------------------------------------------------


More information about the OLUG mailing list