[erlang-questions] Dialyzer PLT & unknown Erlang/OTP functions

Olivier BOUDEVILLE olivier.boudeville@REDACTED
Tue Aug 30 11:24:45 CEST 2011


Hello Stavros,

Thanks again for your answer; indeed --add_to_plt was the way to go, it 
then worked like a charm.

On a side note, making the PLT for the full Erlang distro exhibits the 
following remarks:
"""
eunit_test.erl:242: Call to missing or unexported function 
eunit_test:nonexisting_function/0
xrc.erl:124: Call to missing or unexported function wxXmlResource:reload/2
Unknown functions:
  wxWindows:'Destroy'/1
  wx_core:quit/0
Unknown types:
  gen_sctp:assoc_id/0
  gen_sctp:sctp_socket/0
"""

Thanks again,
Best regards,

Olivier.
---------------------------
Olivier Boudeville

EDF R&D : 1, avenue du Général de Gaulle, 92140 Clamart, France
Département SINETICS, groupe ASICS (I2A), bureau B-226
Office : +33 1 47 65 59 58 / Mobile : +33 6 16 83 37 22 / Fax : +33 1 47 
65 27 13



aronisstav@REDACTED 
Envoyé par : erlang-questions-bounces@REDACTED
29/08/2011 19:43
Veuillez répondre à
erlang-programming@REDACTED


A
erlang-programming@REDACTED
cc
erlang-questions@REDACTED
Objet
Re: [erlang-questions] Dialyzer PLT & unknown Erlang/OTP functions






This command:

 ${prefix}/bin/dialyzer --plt ${prefix}/Erlang-R14B03.plt  --output_plt 
./common.plt  src/utils/basic_utils.beam  --build_plt 

is wrong. You should not pass the --build_plt option again, as it will 
make Dialyzer generate everything from scratch (ignoring anything within 
the supplied PLT).

To add some of your own code to the PLT use the --add_to_plt option 
instead, after you have the initial with the OTP modules. In this way 
Dialyzer will use the supplied PLT to generate a new one with all the old 
and new information.

Stavros_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://erlang.org/mailman/listinfo/erlang-questions




Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.

Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.

Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________

This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.

If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.

E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110830/d7feb122/attachment.htm>


More information about the erlang-questions mailing list