We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When compiling on Ubuntu 12.04, the last compile fails:
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
... gcc -g -O2 -L/usr/lib/x86_64-linux-gnu -lpcre -o pads pads.o storage.o identification.o packet.o monnet.o mac-resolution.o configuration.o util.o ../lib/bstring/libbstring.a output/liboutput.a -lpcap identification.o: In function parse_raw_signature': /home/edward/code/git/pads/src/identification.c:163: undefined reference topcre_compile' /home/edward/code/git/pads/src/identification.c:170: undefined reference to pcre_study' identification.o: In functionget_app_name': /home/edward/code/git/pads/src/identification.c:358: undefined reference to pcre_copy_substring' identification.o: In functionpcre_identify': /home/edward/code/git/pads/src/identification.c:292: undefined reference to `pcre_exec' collect2: ld returned 1 exit status make[1]: *** [pads] Error 1
parse_raw_signature': /home/edward/code/git/pads/src/identification.c:163: undefined reference to
pcre_study' identification.o: In function
pcre_copy_substring' identification.o: In function
To get it to compile is easy, but a hard one to find maybe if your not wondered in compiling land. Just move the "-lpcre" to the end, like:
$ gcc -g -O2 -L/usr/lib/x86_64-linux-gnu -o pads pads.o storage.o identification.o packet.o monnet.o mac-resolution.o configuration.o util.o ../lib/bstring/libbstring.a output/liboutput.a -lpcap -lpcre
And bob is your uncle!
A patch for a fix is welcome!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When compiling on Ubuntu 12.04, the last compile fails:
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
...
gcc -g -O2 -L/usr/lib/x86_64-linux-gnu -lpcre -o pads pads.o storage.o identification.o packet.o monnet.o mac-resolution.o configuration.o util.o ../lib/bstring/libbstring.a output/liboutput.a -lpcap
identification.o: In function
parse_raw_signature': /home/edward/code/git/pads/src/identification.c:163: undefined reference to
pcre_compile'/home/edward/code/git/pads/src/identification.c:170: undefined reference to
pcre_study' identification.o: In function
get_app_name':/home/edward/code/git/pads/src/identification.c:358: undefined reference to
pcre_copy_substring' identification.o: In function
pcre_identify':/home/edward/code/git/pads/src/identification.c:292: undefined reference to `pcre_exec'
collect2: ld returned 1 exit status
make[1]: *** [pads] Error 1
To get it to compile is easy, but a hard one to find maybe if your not wondered in compiling land. Just move the "-lpcre" to the end, like:
$ gcc -g -O2 -L/usr/lib/x86_64-linux-gnu -o pads pads.o storage.o identification.o packet.o monnet.o mac-resolution.o configuration.o util.o ../lib/bstring/libbstring.a output/liboutput.a -lpcap -lpcre
And bob is your uncle!
A patch for a fix is welcome!
The text was updated successfully, but these errors were encountered: