Erlang/OTP Forums

Author Message

<  Erlang bugs mailing list  ~  snmp release build

asergey
Posted: Thu Jun 16, 2005 4:58 pm Reply with quote
User Joined: 12 Mar 2005 Posts: 313
Hi,

When I include an SNMP applicaiton in a release under R10B-5, I am
getting a bunch of compilation warnings:

proxy.rel:
{release, {"proxy","1.0"}, {erts, "100.100.100"},
[{kernel,"2.10.7"},
{stdlib,"1.13.7"},
{snmp, "4.1.4"},
{proxy, "1.0"}]}.

>erlc -pa ../ebin -o ../ebin -d proxy.rel
*WARNING* snmp: Source code not found: snmp.erl
*WARNING* snmp: Source code not found: snmp_app.erl
*WARNING* snmp: Source code not found: snmp_app_sup.erl
*WARNING* snmp: Source code not found: snmpa.erl
*WARNING* snmp: Source code not found: snmpa_acm.erl
*WARNING* snmp: Source code not found: snmpa_agent.erl
*WARNING* snmp: Source code not found: snmpa_agent_sup.erl
*WARNING* snmp: Source code not found: snmpa_app.erl
*WARNING* snmp: Source code not found: snmpa_authentication_service.erl
*WARNING* snmp: Source code not found: snmpa_error.erl
*WARNING* snmp: Source code not found: snmpa_error_io.erl
*WARNING* snmp: Source code not found: snmpa_error_logger.erl
*WARNING* snmp: Source code not found: snmpa_error_report.erl
*WARNING* snmp: Source code not found: snmpa_general_db.erl
...

I traced this to the systools_make:make_script() that cannot guess the
location of SNMP's source files because they haven't been stored using
conventional directories:

>ls -al /usr/local/lib/erlang/lib/snmp-4.1.4/src
total 28
drwxr-xr-x 7 root root 4096 Jun 15 16:10 .
drwxr-xr-x 9 serge devlp 4096 Jun 15 16:10 ..
drwxr-xr-x 2 root root 4096 Jun 15 16:10 agent
drwxr-xr-x 2 root root 4096 Jun 15 16:10 app
drwxr-xr-x 2 root root 4096 Jun 15 16:10 compiler
drwxr-xr-x 2 root root 4096 Jun 15 16:10 manager
drwxr-xr-x 2 root root 4096 Jun 15 16:10 misc

I think it can be considered a bug in the SNMP. I don't see a good way
of hiding these warning messages ("+silent" option given to erlc doesn't
quite help).

Serge




Post generated using Mail2Forum (http://m2f.sourceforge.net)
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum