Skip to content

Instantly share code, notes, and snippets.

@ricardochimal
Created March 14, 2009 03:33
Show Gist options
  • Save ricardochimal/78912 to your computer and use it in GitHub Desktop.
Save ricardochimal/78912 to your computer and use it in GitHub Desktop.
g++ -Wall -O3 -ldb -I/usr/local/include \
-I/usr/local/include/db44 \
-L/usr/local/lib/db44 \
-L/usr/local/lib \
-o dumpHTTP dumpHTTP.cpp
In file included from dumpHTTP.cpp:10:
address.hpp: In function ‘std::string ethernetToText(const char*)’:
address.hpp:36: error: ‘memcpy’ was not declared in this scope
address.hpp: In function ‘std::pair<unsigned int, unsigned int> cidrToRange(std::string)’:
address.hpp:72: error: ‘strtoul’ was not declared in this scope
make: *** [dumpHTTP] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment