Mailing list archive (omnetpp-l at omnetpp.org)
[
Date Prev][
Date Next][
Thread Prev][Thread Next][
Date Index][
Thread Index]
Re: [Omnetpp-l] INET-20061020: installation problem
Thank you very much for your reply.
I have tried: "make depend". Below is what I have:
$ make depend
opp_makedep -Y --objdirtree -I. -- *.cc
opp_makedep: warning: no input files
# opp_makedep -Y --objdirtree -I. -fMakefile.in -- *.cc
for i in Applications Base Mobility Network NetworkInterfaces Nodes
Transport Util World bin; do (cd $i && make depend) || exit 1; done
make[1]: Entering directory `/c/omnetpp/INET/Applications'
opp_makedep -Y --objdirtree -I. -- *.cc
opp_makedep: warning: no input files
# opp_makedep -Y --objdirtree -I. -fMakefile.in -- *.cc
for i in Ethernet Generic PingApp TCPApp UDPApp; do (cd $i && make
depend) || exit 1; done
make[2]: Entering directory `/c/omnetpp/INET/Applications/Ethernet'
opp_makedep -Y --objdirtree -I. -I../../Transport/Contract
-I../../Network/Contract -I../../NetworkInterfaces/Contract
-I../../Base -I../../Util -I../../NetworkInterfaces/Ethernet -- *.cc
# opp_makedep -Y --objdirtree -I. -I../../Transport/Contract
-I../../Network/Contract -I../../NetworkInterfaces/Contract
-I../../Base -I../../Util -I../../NetworkInterfaces/Ethernet
-fMakefile.in -- *.cc
for i in ; do (cd $i && make depend) || exit 1; done
/bin/sh.exe: -c: line 1: syntax error near unexpected token `;'
/bin/sh.exe: -c: line 1: `for i in ; do (cd $i && make depend) || exit 1; done'
make[2]: *** [depend] Error 2
make[2]: Leaving directory `/c/omnetpp/INET/Applications/Ethernet'
make[1]: *** [depend] Error 1
make[1]: Leaving directory `/c/omnetpp/INET/Applications'
make: *** [depend] Error 1
I have checked the file "Applications/Ethernet/Makefile" and I found
that this line creates error:
"generateheaders: $(GENERATEDHEADERS)
for i in $(SUBDIRS); do (cd $$i && $(MAKE) generateheaders) || exit 1; done"
This is because $SUBDIRS is empty. Am I using the correct shell to compile INET?
Could you please help?
-Long
On Mon, Jul 21, 2008 at 5:35 PM, Andras Varga <andras at xxx> wrote:
> Hi Long,
>
> Almost there. In step 3, the command is just plain "make depend" and "make".
> Makefile.vc files are for compiling with Microsoft Visual C++. The Wiki page
> you found forgets to mention that...
>
> Andras
>
>> -----Original Message-----
>> From: omnetpp-l-bounces at xxx [mailto:omnetpp-l-bounces at xxx]
>> On Behalf Of Long Vu
>> Sent: Monday, July 21, 2008 8:57 PM
>> To: omnetpp-l at xxx
>> Subject: [Omnetpp-l] INET-20061020: installation problem
>>
>> Hello,
>>
>> I have installed omnetpp-3.4b2 in my Windows machine (c:\omnetpp),
>> using Mingw and MSYS. After I installed, I try "rundemo &" in samples
>> directory, everything works fine as i can see the graphic interface of
>> all examples. Then, I try to run "./dyna" in directory "samples/dyna",
>> it works with graphic interface. I also test the dyna's network
>> configuration and everything seems ok. I suppose omnet is installed
>> correctly.
>>
>> Then, I change to INET directory (c:\omnetpp\INET) and perform the
>> followings:
>>
>> 1. I change the "inetconfig" file so that I have:
>> ROOT=/c/omnetpp/INET
>> include $(ROOT)/omnetppconfig
>>
>> 2. Then, I run the command "./makemake". This script try to create
>> make files of subdirs inside "INET". Here is one small part of the
>> output of makemake:
>>
>> cd NetworkInterfaces/MF80211/phyLayer/decider && opp_makemake -f -N -b
>> /c/omnetpp/INET -c /c/omnetpp/INET/inetconfig -I. -n
>> -I/c/omnetpp/INET/Transport/Contract
>> -I/c/omnetpp/INET/Network/Contract
>> -I/c/omnetpp/INET/NetworkInterfaces/Contract -I/c/omnetpp/INET/Base
>> -I/c/omnetpp/INET/Util -I../../../MFCore -I../../macLayer
>> Makefile created, adding dependencies...
>> Done.
>>
>> When it finishes, makemake creates the file "INET/omnetppconfig"
>>
>> This is makemake's final lines in the output screeen:
>>
>> cd Transport/TCP/queues && opp_makemake -f -N -b /c/omnetpp/INET -c
>> /c/omnetpp/INET/inetconfig -I. -n -r
>> -I/c/omnetpp/INET/Transport/Contract
>> -I/c/omnetpp/INET/Network/Contract
>> -I/c/omnetpp/INET/NetworkInterfaces/Contract -I/c/omnetpp/INET/Base
>> -I/c/omnetpp/INET/Util -I..
>> Makefile created, adding dependencies...
>> Done.
>> cd Util/HeaderSerializers && opp_makemake -f -N -b /c/omnetpp/INET -c
>> /c/omnetpp/INET/inetconfig -I. -n -I/c/omnetpp/INET/Transport/Contract
>> -I/c/omnetpp/INET/Network/Contract
>> -I/c/omnetpp/INET/NetworkInterfaces/Contract -I/c/omnetpp/INET/Base
>> -I/c/omnetpp/INET/Util -I/c/omnetpp/INET/Network/IPv4
>> -I/c/omnetpp/INET/Network/AutoRouting -I/c/omnetpp/INET/Network/Queue
>> -I/c/omnetpp/INET/Network/Quagga -I/c/omnetpp/INET/Network/OSPFv2
>> -I/c/omnetpp/INET/Network/OSPFv2/Interface
>> -I/c/omnetpp/INET/Network/OSPFv2/MessageHandler
>> -I/c/omnetpp/INET/Network/OSPFv2/Neighbor
>> -I/c/omnetpp/INET/Network/OSPFv2/Router
>> -I/c/omnetpp/INET/Transport/TCP
>> -I/c/omnetpp/INET/Transport/TCP/flavours
>> -I/c/omnetpp/INET/Transport/TCP/queues -I/c/omnetpp/INET/Transport/UDP
>> -I/c/omnetpp/INET/NetworkInterfaces -I/c/omnetpp/INET/Network/ARP
>> -I/c/omnetpp/INET/NetworkInterfaces/Ethernet
>> -I/c/omnetpp/INET/NetworkInterfaces/EtherSwitch
>> -I/c/omnetpp/INET/NetworkInterfaces/PPP
>> -I/c/omnetpp/INET/Applications/Generic
>> -I/c/omnetpp/INET/Applications/Ethernet
>> -I/c/omnetpp/INET/Applications/TCPApp
>> -I/c/omnetpp/INET/Applications/UDPApp
>> -I/c/omnetpp/INET/Applications/PingApp
>> -I/c/omnetpp/INET/Util/HeaderSerializers -I/c/omnetpp/INET/Nodes/INET
>> -I/c/omnetpp/INET/Nodes/Wireless -I/c/omnetpp/INET/Nodes/Adhoc
>> -I/c/omnetpp/INET/Network/IPv6 -I/c/omnetpp/INET/Network/ICMPv6
>> -I/c/omnetpp/INET/Nodes/IPv6 -I/c/omnetpp/INET/Network/MPLS
>> -I/c/omnetpp/INET/Network/LDP -I/c/omnetpp/INET/Network/RSVP_TE
>> -I/c/omnetpp/INET/Network/TED -I/c/omnetpp/INET/Network/Extras
>> -I/c/omnetpp/INET/Nodes/MPLS -I/c/omnetpp/INET/World
>> -I/c/omnetpp/INET/Mobility -I/c/omnetpp/INET/NetworkInterfaces/MFCore
>> -I/c/omnetpp/INET/NetworkInterfaces/MF80211
>> -I/c/omnetpp/INET/NetworkInterfaces/MF80211/macLayer
>> -I/c/omnetpp/INET/NetworkInterfaces/MF80211/phyLayer
>> -I/c/omnetpp/INET/NetworkInterfaces/MF80211/phyLayer/decider
>> -I/c/omnetpp/INET/NetworkInterfaces/MF80211/phyLayer/snrEval
>> -I/c/omnetpp/INET/NetworkInterfaces/Ieee80211
>> -I/c/omnetpp/INET/NetworkInterfaces/Ieee80211/Mac
>> -I/c/omnetpp/INET/NetworkInterfaces/Ieee80211/Mgmt
>> -I/c/omnetpp/INET/NetworkInterfaces/Radio
>> Makefile created, adding dependencies...
>> Done.
>>
>> Regenerating nedfiles.lst...
>> Done
>>
>>
>> 3. Then, I follow the instructions here
>> (http://www.omnetpp.org/pmwiki/index.php?n=Main.INETFramework) and
>> run:
>>
>> nmake -f makefile.vc depend
>>
>> However, there is no "makefile.vc" in "INET" directory and I receive this
>> error:
>>
>> $ nmake -f makefile.vc depend
>> Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
>> Copyright (C) Microsoft Corporation. All rights reserved.
>> NMAKE : fatal error U1052: file 'makefile.vc' not found
>> Stop.
>>
>>
>> Could you please help?
>>
>> Thank you,
>> -Long
>> _______________________________________________
>> Omnetpp-l mailing list
>> Omnetpp-l at xxx
>> http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
>
>
_______________________________________________
Omnetpp-l mailing list
Omnetpp-l at xxx
http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
Home |
Main Index |
Thread Index