Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F frama-c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 209
    • Issues 209
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #2253

Closed
Open
Created Jan 21, 2011 by mantis-gitlab-migration@mantis-gitlab-migration

Error during plugin compilation

ID0000681: This issue was created automatically from Mantis Issue 681. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0000681 Frama-C Kernel > Makefile public 2011-01-21 2011-01-24
Reporter CFaure Assigned To signoles Resolution won't fix
Priority normal Severity block Reproducibility have not tried
Platform - OS - OS Version -
Product Version Frama-C Boron-20100401 Target Version - Fixed in Version -

Description :

I made a custom install of Frama-C with DESTDIR=/home/faure/frama-c/frama-c-install.

I tries to compile a plugin with a Makefile built as described in the manual. But I got errors and nothing got compiled.

Then I modified the makefile as described in additional information: I mainly added modified the values of FRAMAC_SHARE and FRAMAC_LIBDIR because the paths where wrong.

The make got further but I finally got a link error: Linking frama-c-Saferiver.byte Cannot find file /usr/local/lib/frama-c/boot.cmo make: *** [frama-c-Saferiver.byte] Error 2

Additional Information :

Frama-c should be properly installed with "make install

before any use of this makefile

DESTDIR=/home/faure/frama-c/frama-c-install FRAMAC_BIN=$(DESTDIR)/usr/local/bin

FRAMAC_SHARE :=$(shell $(FRAMAC_BIN)/frama-c.byte -print-path) FRAMAC_LIBDIR :=$(shell $(FRAMAC_BIN)/frama-c.byte -print-libpath) PLUGIN_NAME = Saferiver PLUGIN_CMO = register

FRAMAC_SHARE := $(DESTDIR)/$(FRAMAC_SHARE) FRAMAC_LIBDIR := $(DESTDIR)/$(FRAMAC_LIBDIR)

include $(FRAMAC_SHARE)/Makefile.dynamic

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking