Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. g++ -c main.cc
  2. main.cc:8: warning: this decimal constant is unsigned only in ISO C90
  3. main.cc:9: warning: this decimal constant is unsigned only in ISO C90
  4. main.cc:9: warning: this decimal constant is unsigned only in ISO C90
  5. main.cc:10: warning: this decimal constant is unsigned only in ISO C90
  6. g++ -c iplookup.cc
  7. g++ -c iproute.cc
  8. g++ main.o iplookup.o iproute.o -o main
  9. iplookup.o: In function `iplookup::show_gateway(unsigned int)':
  10. iplookup.cc:(.text+0x1c4): undefined reference to `iproute::getMask()'
  11. iplookup.cc:(.text+0x1dc): undefined reference to `iproute::getAddr()'
  12. iplookup.cc:(.text+0x206): undefined reference to `iproute::getMask()'
  13. iplookup.cc:(.text+0x290): undefined reference to `iproute::getGw()'
  14. iplookup.o: In function `iplookup::update_entry(iproute, iproute)':
  15. iplookup.cc:(.text+0x316): undefined reference to `iproute::getAddr()'
  16. iplookup.cc:(.text+0x32f): undefined reference to `iproute::setAddr(unsigned int)'
  17. iplookup.cc:(.text+0x33a): undefined reference to `iproute::getMask()'
  18. iplookup.cc:(.text+0x353): undefined reference to `iproute::setMask(unsigned int)'
  19. iplookup.cc:(.text+0x35e): undefined reference to `iproute::getGw()'
  20. iplookup.cc:(.text+0x377): undefined reference to `iproute::setGw(unsigned int)'
  21. iplookup.o: In function `iplookup::entries_match(iproute, iproute)':
  22. iplookup.cc:(.text+0x3e6): undefined reference to `iproute::getAddr()'
  23. iplookup.cc:(.text+0x3f3): undefined reference to `iproute::getAddr()'
  24. iplookup.cc:(.text+0x402): undefined reference to `iproute::getMask()'
  25. iplookup.cc:(.text+0x40f): undefined reference to `iproute::getMask()'
  26. iplookup.cc:(.text+0x41e): undefined reference to `iproute::getGw()'
  27. iplookup.cc:(.text+0x42b): undefined reference to `iproute::getGw()'
  28. collect2: ld returned 1 exit status
  29. make: *** [main] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement