Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7773807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:13:12+00:00 2026-06-01T17:13:12+00:00

I am doing a little programming exercise in Modula2. I am using the gm2

  • 0

I am doing a little programming exercise in Modula2. I am using the gm2 compiler
on Ubuntu Linux (10.04).

I have gotten some code to compile but I am unable to import certain
modules which, to my understanding, should be included in the compiler distribution.
For example, if I try to import from the TimeDate module

FROM TimeDate IMPORT Time, GetTime;

which is documented here, I get the error:

$ gm2 -flibs=pim -c SortUtil.mod

failed to find definition module TimeDate.def

According to the documentation, the option -flibs=pim should give access to
the TimeDate module (which is part of the PIM libraries).

Does anyone have any experience with this compiler? Do I need some extra command-line
parameters or do I need to install some extra packages?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:13:13+00:00Added an answer on June 1, 2026 at 5:13 pm

    I set up a test system and was able to duplicate your problem. Use “-flibs=pim,logitech”… That worked for me and let me compile a basic test app without throwing the error about a missing definition file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Okay, so I'm doing a little blowfish implementation in PHP as a programming exercise
I have been doing a little reading on Flow Based Programming over the last
I unfortunately was doing a little code archeology today (while refactoring out some old
I'm doing some programming and I'm also reading some code at the same time
I'm actually translating some C++ code (which I know very little about, and have
I have little programming experience so the jump from basic php to using classes,
I'm creating a game with points for doing little things, so I have a
I've been making some progress with audio programming for iPhone. Now I'm doing some
After years of doing a little programming on the side (Classic ASP for 12
I've been programming in Java for a little while now but have never really

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.