help compiling this C++ code
Hi,
I am trying to compile code with the Click software router which is in c++. I am getting the following errors: Code:
g++-3.2.1 -DHAVE_CONFIG_H -I../include -I../include -I. -I.. -DCLICK_USERLEVEL -g -O2 -c ../elements/local/cmp.cc http://www.rafb.net/paste/results/Wsytav71.html and gmp.h: http://www.rafb.net/paste/results/LSCP9670.html Thanks! George |
Hi George,
Your links don't seem to work, I can't read the source files. Basically the error means that gmpz_cmp is using different sets of exceptions... Were the two files distributed together? If they were not distributed in one package, then it might be a version incompatibility. Otherwise, you could always try editing one of the two source files so that the 'throw' statements are the same. Good luck. - Dave |
ahhh, i got it working... there was an #ifdef that was breaking things... the function prototype was not matching the function being compiled.
Thank you very much :) - George |
All times are GMT -5. The time now is 07:00 AM. |