LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 03-19-2016, 01:16 PM   #1
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Error compiling daq from Slackbuild


I'm attempting to build daq from the Slackbuild
https://slackbuilds.org/repository/14.1/libraries/daq/

I realize the slackbuilds are not generally for ARM/pi but so far everything I've built works.

In this case I'm getting the following:
Code:
bison -y -p sfbpf_ -d ./grammar.y
Makefile:787: recipe for target 'sf_grammar.c' failed
make: *** [sf_grammar.c] Broken pipe
I did try and download daq from the snort site and manually configure and make with the same error.

My searching is not finding much so I thought I'd try here and then register on their forum and ask.

Anyone seen this before?
 
Old 03-21-2016, 04:54 AM   #2
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 634
Blog Entries: 20

Rep: Reputation: 81
Not in that particular situation but I've had builds brake dew to broken pipes. I run most of my ARM devices swapless (conservative choice for preserving flash device life) and I've had broken pipe happen dew to not having enough ram to compile stuff (but that does not mean you're on the same issue).

Pipes generally brake when the reader part suddenly stops reading unexpectedly... not just pausing because that would fill the buffer and the writer would then pause too until the reader starts reading again.
Try to find out who was supposed to be reading ... it will help you debug why it died.
 
Old 03-21-2016, 01:02 PM   #3
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
From what I found the broken pipe is just the symptom of something else, in this case its line prior recipe for target 'sf_grammar.c' failed

I started thinking it was due to the minirootfs not having all the Slackware packages so I started installing packages. emacs was the one that fixed it. It must be calling something in that package to process that file.
 
Old 03-22-2016, 02:36 AM   #4
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 634
Blog Entries: 20

Rep: Reputation: 81
In that case the pipe probably broke because reader failed to start ... still fits pretty well in
Quote:
Try to find out who was supposed to be reading ... it will help you debug why it died.
I chose that sentence carefully because I had someone get offended wen told that he might be missing build dependencies ... glad you were able to solve your issue regardless of whether my post was of any help.
 
Old 10-23-2016, 04:28 PM   #5
sparkytheslacker
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: 0
m4-1.4.17-arm-3

I had the same issue compiling DAQ while working on building Snort.

Some kinda flex / bison issue, failed while doing something with an sf_grammar.c file.

After trying multiple things, including installing emacs based on the posts above (and then removing it, hoping my little raspberry pi wouldn't feel too violated over having emacs installed, if only temporarily), I realized it was missing m4.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] err msg: System Error! gcc DAQ orcaja Linux - Software 3 02-13-2012 06:18 AM
[SOLVED] Error compiling Thunderbird 8.0 from source using 7.0.1 SlackBuild-script mats_b_tegner Slackware 2 11-11-2011 01:00 PM
weird error compiling enlightenment slackbuild Cultist Slackware 9 07-23-2011 10:07 AM
daq-0.4 error while untaring. WHY ???? anvin Linux - Newbie 1 01-11-2011 03:43 AM
error compiling lablgtk on Slack 11 using SlackBuild from slackbuilds.org BCarey Slackware 1 02-22-2008 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 10:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration