'Make' command error in olsr


 
Thread Tools Search this Thread
Top Forums Programming 'Make' command error in olsr
# 1  
Old 10-21-2013
Display 'Make' command error in olsr

Hi guys..i'm a newbie here and i really need your help urgently..currently i want to run a 'make' command in Ubuntu..But this error occurs:

Code:
gcc -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Waggregate-return -Wmissing-noreturn -Wmissing-format-attribute -Wno-multichar -Wno-deprecated-declarations -Wendif-labels -Wwrite-strings -Wbad-function-cast -Wpointer-arith -Wcast-qual -Wshadow -Wsequence-point -Wpointer-arith -Wcast-align -Wnested-externs -Winline -Wdisabled-optimization -finline-functions-called-once -funit-at-a-time -fearly-inlining -finline-limit=350 -fPIC -ggdb -Wno-sign-compare -Isrc -pthread  -DUSE_FPM -Dlinux -DLINUX_NETLINK_ROUTING -DDEBUG   -Isrc/cfgparser -DYY_NO_INPUT  -c -o src/cfgparser/oscan.o src/cfgparser/oscan.c
src/cfgparser/oscan.lex:56:20: fatal error: oparse.h: No such file or directory
compilation terminated.
make: *** [src/cfgparser/oscan.o] Error 1

do any of u guys have any idea on how to solve this and what this error is about..please help me..T.T

Last edited by naz1406; 10-21-2013 at 03:14 AM.. Reason: Add required CODE tags.
# 2  
Old 10-21-2013
Well it means what it says -- it can't find a file named oparse.h... The error has no particular meaning beyond that, what it means depends on what you're building. What are you trying to build?

Last edited by Corona688; 10-21-2013 at 12:29 PM..
# 3  
Old 10-21-2013
Quote:
Originally Posted by Corona688
Well it means what it says -- it can't find a file named oparse.h... The error has no particular meaning beyond that, what it means depends on what you're building. What are you trying to build?
I'm trying to build olsrd 0.6.0... do u know how to solve this error?
# 4  
Old 10-22-2013
Is there a file named oparse.h anywhere in that folder? Maybe it's in the wrong place.
# 5  
Old 10-22-2013
Quote:
Originally Posted by Corona688
Is there a file named oparse.h anywhere in that folder? Maybe it's in the wrong place.
nope..i think there's a problem with the bison file that i have downloaded to build the olsrd as oparse.h should be included in it
# 6  
Old 10-23-2013
Quote:
Originally Posted by naz1406
nope..i think there's a problem with the bison file that i have downloaded to build the olsrd as oparse.h should be included in it
Okay, this is useful to know.

Are you using bison to process this file first, to turn it into a C file and header file and such? How do you do so? What files does it produce?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to make df command?

in RHEL 6.10, how can we make the the df -k return the output without wrapping. And wihout using the df -Pk option. After we patched a Linux server from 6.5 to 6.10: The df -k on RHAT 6.10 it wraps the line for ex: 6.10: /dev/mapper/vgapp01-vendor ... (2 Replies)
Discussion started by: mrn6430
2 Replies

2. IP Networking

OLSR simulation in ns2

# Create the simulator object that we need in order to run NS set ns # Set the parameters that we will use for wireless communications set val(chan) Channel/WirelessChannel ;# channel type set val(prop) Propagation/TwoRayGround ;# radio-propagation model set... (0 Replies)
Discussion started by: amithkhandakar
0 Replies

3. Homework & Coursework Questions

Using the Make command

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: File hello.h #include <stdio.h> File main.c #include "hello.h" main() { printhello(); ... (4 Replies)
Discussion started by: lilbo4231
4 Replies

4. Shell Programming and Scripting

make Fatal error: Command failed for target 'exp_inter.o'

I am trying to install Expect 5.43 on my Solaris 10 x86 PC. When I run the make file I get - Command failed for target 'exp_inter.o'. I tried to find the file (find / -name exp_inter.o -print 2>/dev/null) but could not. Where can I get this file from? (2 Replies)
Discussion started by: pazzy
2 Replies

5. Solaris

Gani Network Driver Won't Install - make: Fatal error: Don't know how to make targ...

I attached a README file that I will refer to. I successfully completed everything in the README file until step 4. # pwd /gani/gani-2.4.4 # ls COPYING Makefile.macros gem.c Makefile Makefile.sparc_gcc gem.h Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies

6. Linux

Error in issuing a make and make install

Hi, Recently I install a package and try to do a make and make install. However, in the make it gives me below error:- make:Nothing to be done for 'install-exec-am' make:Nothing to be done for 'install-data-am' Can anyone please explain to me what does this mean? I have been trying... (1 Reply)
Discussion started by: ahjiefreak
1 Replies

7. UNIX for Dummies Questions & Answers

Solaris 9: make: Fatal error:Command failed for target

Hi everyone first of all you should know that I've been working with solaris for a few days only. :) I need to install some programs and I have had the following troubles: 1. When I used /.configure it showed the following message: "no acceptable C compiler found in $PATH" I included... (2 Replies)
Discussion started by: eldiego
2 Replies

8. UNIX for Dummies Questions & Answers

make command

hi i tried to search for the "make" command but to no avail. this is what happens: when i try to type the "make" command, it prompt me the error " csh:make:not found ***error code 1 make:Fatal error: command fail for target 'all' " i have just freshly install solaris 9 on my server.... (8 Replies)
Discussion started by: legato
8 Replies

9. UNIX for Dummies Questions & Answers

make command

Dear Guys , Kindly note that i have sun solaries 8 intel machine . i installed apache and it is working fine . i am installing perl5 , MD5 and CGI . but whenever i execute the commands , make , make test and make install i get error message : not found # make make: not found also i... (2 Replies)
Discussion started by: tamemi
2 Replies

10. UNIX for Advanced & Expert Users

Error when running the make command

Hi, Not really sure whether this question should go to this forum but am giving it a shot. I have compiled a simple C program test.c. #include <stdio.h> #include <stdlib.h> #include <string.h> static int a; int test() { a=a+1; return a; } When I run a make command, I get this: ... (2 Replies)
Discussion started by: nattynatty
2 Replies
Login or Register to Ask a Question