[ee122] MNLDaemon fails to compile on c199

Drew Lustro drewlustro at gmail.com
Sat Dec 8 21:44:40 PST 2007

Hm weird. Compiling the MNLDaemon required gmake instead of make?  
using make just reports errors with the .o files....

Anyhow solved now. Thanks.


On Dec 8, 2007, at 9:29 PM, vern at cs.berkeley.edu wrote:

>> library path and stuff is set... any help?
> It works fine for me, per the appended.  This is from freshly  
> unpacking it.
> 		Vern
> c199 9 % make -f Makefile.MNL
> gcc -g   -c -o TestSend.o TestSend.c
> gcc -g   -c -o MNLClient.o MNLClient.c
> gcc -g -lsocket -lnsl -lresolv -o TestSend TestSend.o MNLClient.o
> gcc -g   -c -o TestRecv.o TestRecv.c
> gcc -g -lsocket -lnsl -lresolv -o TestRecv TestRecv.o
> c199 10 % ls
> DATE.txt       MNLClient.o    README.txt     TestRecv.o     TestSend.o
> MNLClient.c    MNL_src_0_1b/  TestRecv*      TestSend*      samplecfg/
> MNLClient.h    Makefile.MNL   TestRecv.c     TestSend.c
> c199 11 % cd MNL_src_0_1b/
> c199 12 % make
> g++  -g  -c -o TimeFns.o TimeFns.cpp
> g++  -g  -c -o PacketDropper.o PacketDropper.cpp
> g++  -g  -c -o SpecificPacketDropper.o SpecificPacketDropper.cpp
> g++  -g  -c -o PeriodicPacketDropper.o PeriodicPacketDropper.cpp
> g++  -g  -c -o ProbabilisticPacketDropper.o  
> ProbabilisticPacketDropper.cpp
> g++  -g  -c -o SendQueue.o SendQueue.cpp
> g++  -g  -c -o PacketBuf.o PacketBuf.cpp
> g++  -g  -c -o PacketBufComparator.o PacketBufComparator.cpp
> g++  -g  -c -o MNLDaemon.o MNLDaemon.cpp
> g++ -g -lsocket -lnsl -lresolv -o MNLDaemon main.cpp TimeFns.o  
> PacketDropper.o SpecificPacketDropper.o PeriodicPacketDropper.o  
> ProbabilisticPacketDropper.o SendQueue.o PacketBuf.o  
> PacketBufComparator.o MNLDaemon.o
> g++ -g -g  -c -o TestSend.o TestSend.c
> g++ -g -g  -c -o MNLClient.o MNLClient.c
> g++ -g -lsocket -lnsl -lresolv -o TestSend TestSend.o MNLClient.o
> g++ -g -g  -c -o TestRecv.o TestRecv.c
> g++ -g -lsocket -lnsl -lresolv -o TestRecv TestRecv.o

More information about the ee122 mailing list