Opened 18 years ago

Closed 17 years ago

Last modified 15 years ago

#135 closed Defect (worksforme)

Boinc failing to compile with both svn trunk and boinc_core_release_5_8a

Reported by: rcook@… Owned by:
Priority: Undetermined Milestone: Undetermined
Component: Undetermined Version:
Keywords: Cc:

Description

Boinc is failing to compile. Both from svn trunk and boinc_core_release_5_8a. Below is the error.

make[2]: Entering directory `/usr/src/boinc-svn/sched' /bin/sh ../libtool --tag=CXX --mode=link g++ -I../lib -I../api -I../db -I../client -I../tools -I../sched -I/usr/include/mysql -march=athlon-mp -pipe -DPIC -fPIC -DUSE_OLD_FUNCTIONS -pthread -march=athlon-mp -pipe -DPIC -fPIC -O3 -I/usr/include -I/usr/include/openssl -pthread -L../lib -z combreloc -L/usr/lib -L/usr/lib -L/usr/lib -z combreloc -L/usr/lib -o cgi handle_request.o main.o sched_array.o sched_hr.o sched_resend.o sched_send.o sched_locality.o sched_timezone.o server_types.o synch.o -L. -lsched -z combreloc -L/usr/lib -lmysqlclient -lz -lcrypt -lnsl -lm -L../lib -lboinc -lssl -lcrypto -ldl -lnsl -lz -lcurl -z combreloc -L/usr/lib -L/usr/lib -L/usr/lib -lpthread -lm -lgcc -lstdc++ -lgcc_eh -lc g++ -I../lib -I../api -I../db -I../client -I../tools -I../sched -I/usr/include/mysql -march=athlon-mp -pipe -DPIC -fPIC -DUSE_OLD_FUNCTIONS -march=athlon-mp -pipe -DPIC -fPIC -O3 -I/usr/include -I/usr/include/openssl -z combreloc -z combreloc -o cgi handle_request.o main.o sched_array.o sched_hr.o sched_resend.o sched_send.o sched_locality.o sched_timezone.o server_types.o synch.o -z combreloc -z combreloc -pthread -L/usr/src/boinc-svn/lib -L/usr/lib -L/usr/src/boinc-svn/sched -lsched /usr/lib/libmysqlclient.so -lcrypt -lboinc -lnsl /usr/lib/libcurl.so /usr/lib/libidn.so -lssh2 -lssl -lcrypto -ldl -lz -lpthread -lgcc /usr/lib/libstdc++.so -L/usr/src/gcc-4.1.2.bld/i686-pc-linux-gnu/libstdc++-v3/src -L/usr/src/gcc-4.1.2.bld/i686-pc-linux-gnu/libstdc++-v3/src/.libs -L/usr/src/gcc-4.1.2.bld/./gcc -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2 -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../.. -lm -lgcc_s -lgcc_eh -lc handle_request.o: In function `.L781': handle_request.C:(.text+0x317e): undefined reference to `fpops_to_credit(double, double)' handle_request.C:(.text+0x33ba): undefined reference to `fpops_to_credit(double, double)' sched_resend.o: In function `resend_lost_work(SCHEDULER_REQUEST&, SCHEDULER_REPLY&, PLATFORM&, SCHED_SHMEM&)': sched_resend.C:(.text+0x2f8): undefined reference to `DB_RESULT::mark_as_sent(int)' sched_send.o: In function `add_result_to_reply(DB_RESULT&, WORKUNIT&, SCHEDULER_REQUEST&, SCHEDULER_REPLY&, PLATFORM&, APP*, APP_VERSION*)': sched_send.C:(.text+0xe03): undefined reference to `DB_RESULT::mark_as_sent(int)' /usr/lib/libsched.a(sched_config.o): In function `SCHED_CONFIG::parse(char*)': sched_config.C:(.text+0x10b): undefined reference to `parse_int(char const*, char const*, int&)' sched_config.C:(.text+0x31f): undefined reference to `parse_int(char const*, char const*, int&)' sched_config.C:(.text+0x33b): undefined reference to `parse_int(char const*, char const*, int&)' sched_config.C:(.text+0x357): undefined reference to `parse_int(char const*, char const*, int&)' sched_config.C:(.text+0x373): undefined reference to `parse_int(char const*, char const*, int&)' /usr/lib/libsched.a(sched_config.o):sched_config.C:(.text+0x38f): more undefined references to `parse_int(char const*, char const*, int&)' follow /usr/lib/libsched.a(sched_config.o): In function `SCHED_CONFIG::parse(char*)': sched_config.C:(.text+0x481): undefined reference to `match_tag(char const*, char const*)' /usr/lib/libsched.a(db_base.o): In function `escape_string(char*, int)': db_base.C:(.text+0xb92): undefined reference to `safe_strncpy(char*, char const*, int)' collect2: ld returned 1 exit status make[2]: Leaving directory `/usr/src/boinc-svn/sched' make[2]: * [cgi] Error 1 make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/boinc-svn' make: * [all] Error 2

Change History (3)

comment:1 Changed 18 years ago by Christian Beer

I just compiled the trunk without problems. Perhaps you got an incomplete checkout?

comment:2 Changed 18 years ago by anonymous

Does it require the boinc-sample checkout to build? Otherwise I think I got the complete checkout.

comment:3 Changed 17 years ago by KSMarksPsych

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.