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 4588042
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T21:51:59+00:00 2026-05-21T21:51:59+00:00

I am learning one opensource project, the homepage is here: https://github.com/kevsmith/gen_nb_server , I found

  • 0

I am learning one opensource project, the homepage is here: https://github.com/kevsmith/gen_nb_server , I found that the project structure is

src/
  gen_nb_server.erl
priv/
  example
    src/
      example.erl

when I am going into example folder and run “make”, and run the example module by “example:start_link().”, it can not find gen_nb_server module, I want to know how to call the module which does not be laid in the same folder ? thanks!

  • 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-05-21T21:52:00+00:00Added an answer on May 21, 2026 at 9:52 pm

    You can use -pa (or -pz) to add the top-level ebin and priv/example/ebin directories to the front (or end) of your code path.

    # erl -pa gen_nb_server/ebin -pa gen_nb_server/priv/example/ebin
    [...]
    1> example:start_link().
    {ok,<0.33.0>}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I`m reading the code of some open source project. I see that in one
I've been learning ruby by solving project euler problems and in one solution to
I have recently started learning Perl and one of my latest assignments involves searching
I'm learning ASP.NET MVC and bugged by one issue. In the HomeController, the Index
I am learning to use polymorphism in C#, but cannot figure out this one.
In Jesse Liberty's Learning C# book, he says "Objects of one type can be
Learning WPF nowadays. Found something new today with .Net dependency properties. What they bring
I mean, this is Sakai , the open source project of a learning management
I've been reading/learning more about Spring lately, and how one would use Spring in
Can any one share some information about the sample application using hibernate for learning.

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.