Advanced search
Log In
New Account
  
 
Home My Page Project Tree Code Snippets Project Openings OpenVAS
 
 
Summary Tracker Lists News SCM Files
 

Bugs: Browse | Download .csv

[#917] openvas-libnasl fails to compile if bison++ is present

Please login

State:
Open
Date:
2009-03-25 08:57
Priority:
3
Submitted By:
Michael Wiegand (mwiegand)
Assigned To:
Michael Wiegand (mwiegand)
Summary:
openvas-libnasl fails to compile if bison++ is present

Detailed description
During the build process, the openvas-libnasl Makefile calls the "bison" executable to generate
the nasl_grammar.tab.c file. This works if the executable is provided by the bison package, but fails in Debian (and
possibly other distributions) if it is provided by bison++.

The bug leads to the following error message:
   /usr/share/bison++/bison.cc: In function 'naslparse':
   /usr/share/bison++/bison.cc:730: error: too few arguments to function 'nasllex'
   make[1]: *** [nasl_grammar.tab.o] Error 1
   make[1]: Leaving directory `/root/openvas-libnasl-1.0.1/nasl'
   make: *** [all] Error 2

As a workaround, openvas-libnasl should check for the correct bison executable during configuration and alert the user
if bison++ is found.

If compatibility with bison++ is desired, the incompatibilities prevent the build should be addressed.

This bug was first described by Sven Wurth.

Followup

No Followups Have Been Posted

Attached Files:

Name Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item


This site is hosted by the Intevation GmbH