I'm including my_config.h from our assimilator/validator code (because it also 
needs to use mysql).

--Travis


On Jan 4, 2012, at 7:33 PM, David Anderson wrote:

> I don't think it will cause a problem.
> But where is my_config.h being included from?
> I can't find this anywhere in the BOINC source code.
> -- David
> 
> On 04-Jan-2012 1:49 PM, Travis Desell wrote:
>> I'm getting the following warning when compiling the validator/assimilator:
>> 
>> g++ -Wall -g -O -I/boinc/src/boinc -I/boinc/src/boinc/db
>> -I/boinc/src/boinc/api -I/boinc/src/boinc/lib -I/boinc/src/boinc/tools
>> -I/boinc/src/boinc/sched -I/usr/include/mysql -DGMLE_BOINC -I/usr/include -g
>> -L/boinc/src/boinc/lib -L/boinc/src/boinc/sched -L/usr/local/lib
>> -finline-functions -fomit-frame-pointer -fno-strict-aliasing --param
>> max-inline-insns-single=1800 -DDSFMT_MEXP=19937 -o milkyway_validator
>> /boinc/src/boinc/lib/util.cpp /boinc/src/boinc/sched/credit.cpp
>> /boinc/src/boinc/sched/validator.cpp /boinc/src/boinc/sched/validate_util.cpp
>> ../daemons/ea_validation_policy.cpp -L/local/lib/mysql -lmysqlclient -lm
>> -pthread -lm -lsched -lboinc -lboinc_crypt ../mersenne_twister/dSFMT.c
>> 
>> ...
>> 
>> /usr/include/mysql/my_config.h:1167:0: warning: "PACKAGE" redefined [enabled
>> by default] /boinc/src/boinc/config.h:521:0: note: this is the location of
>> the previous definition /usr/include/mysql/my_config.h:1173:0: warning:
>> "PACKAGE_NAME" redefined [enabled by default]
>> /boinc/src/boinc/config.h:527:0: note: this is the location of the previous
>> definition /usr/include/mysql/my_config.h:1176:0: warning: "PACKAGE_STRING"
>> redefined [enabled by default] /boinc/src/boinc/config.h:530:0: note: this is
>> the location of the previous definition
>> /usr/include/mysql/my_config.h:1179:0: warning: "PACKAGE_TARNAME" redefined
>> [enabled by default] /boinc/src/boinc/config.h:533:0: note: this is the
>> location of the previous definition /usr/include/mysql/my_config.h:1182:0:
>> warning: "PACKAGE_VERSION" redefined [enabled by default]
>> /boinc/src/boinc/config.h:539:0: note: this is the location of the previous
>> definition /usr/include/mysql/my_config.h:1298:0: warning: "VERSION"
>> redefined [enabled by default] /boinc/src/boinc/config.h:578:0: note: this is
>> the location of the previous definition
>> 
>> 
>> Is this going to be a problem?
>> 
>> --Travis
>> 
>> ---------------------------------------------------------------------------
>> Travis Desell,  Assistant Professor University of North Dakota - Dept. of
>> Computer Science [email protected] - cell: 518-867-1054 Streibel Hall
>> Room 220 - office: 777-701-3477 3950 Campus Road Stop 9015 Grand Forks, North
>> Dakota 52802-9015
>> 
>> Homepage ( http://people.cs.und.edu/~tdesell/ ) MilkyWay@Home (
>> http://milkyway.cs.rpi.edu/ ) DNA@Home ( http://dnahome.cs.rpi.edu/ )
>> Worldwide Computing Laboratory ( http://wcl.cs.rpi.edu/ )
>> ----------------------------------------------------------------------------
>> 
>> _______________________________________________ boinc_dev mailing list
>> [email protected]
>> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe,
>> visit the above URL and (near bottom of page) enter your email address.
> _______________________________________________
> boinc_dev mailing list
> [email protected]
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address.

---------------------------------------------------------------------------
Travis Desell,  Assistant Professor
University of North Dakota - Dept. of Computer Science 
[email protected] - cell: 518-867-1054
Streibel Hall Room 220 - office: 777-701-3477
3950 Campus Road Stop 9015
Grand Forks, North Dakota 52802-9015

Homepage ( http://people.cs.und.edu/~tdesell/ )
MilkyWay@Home ( http://milkyway.cs.rpi.edu/ )
DNA@Home ( http://dnahome.cs.rpi.edu/ )
Worldwide Computing Laboratory ( http://wcl.cs.rpi.edu/ )
----------------------------------------------------------------------------

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to