Bugs at the Sourcecode of BOINC

Message boards : BOINC Manager : Bugs at the Sourcecode of BOINC
Message board moderation

To post messages, you must log in.

AuthorMessage
d4d4

Send message
Joined: 1 Dec 05
Posts: 1
Germany
Message 1472 - Posted: 2 Dec 2005, 20:31:14 UTC

Dear Sir, Madam,

I'd like to announce a bug in the sourcecode of BOINC. I am trying to compile BOINC on my Mac, but I always get the same error, no matter if using BuildMacBOINC or XCode 2.2:
CompileC build/boinc.build/Deployment/gfxlibboinc.build/Objects-normal/ppc/gutil.o /Users/daviddreschner/boinc/mac_build/../api/gutil.C normal ppc c++ com.apple.compilers.gcc.3_3
cd /Users/daviddreschner/boinc/mac_build
setenv MACOSX_DEPLOYMENT_TARGET 10.3
setenv NEXT_ROOT /Developer/SDKs/MacOSX10.3.9.sdk
/usr/bin/gcc-3.3 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -Os -fmessage-length=0 -mtune=G4 -Wno-invalid-offsetof -Wp,-header-mapfile,/Users/daviddreschner/boinc/mac_build/build/boinc.build/Deployment/gfxlibboinc.build/boinc_graphics_api.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/daviddreschner/boinc/mac_build/build/Deployment -I/Users/daviddreschner/boinc/mac_build/build/Deployment/include -I../../jpeg-6b -I/Users/daviddreschner/boinc/mac_build/build/boinc.build/Deployment/gfxlibboinc.build/DerivedSources -DMAC_OS_X_VERSION_MIN_REQUIRED=1030 -fconstant-cfstrings -D__CONSTANT_CFSTRINGS__ -DMAC_OS_X_VERSION_MAX_ALLOWED=1030 -D_THREAD_SAFE -include ../clientgui/mac/config.h -isystem /Developer/SDKs/MacOSX10.3.9.sdk/usr/include/gcc/darwin/3.3 -I/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/gcc/darwin/3.3/c++ -I/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/gcc/darwin/3.3/c++/ppc-darwin -isystem /Developer/SDKs/MacOSX10.3.9.sdk/usr/include -c /Users/daviddreschner/boinc/mac_build/../api/gutil.C -o /Users/daviddreschner/boinc/mac_build/build/boinc.build/Deployment/gfxlibboinc.build/Objects-normal/ppc/gutil.o
/Users/daviddreschner/boinc/api/gutil.C:43:21: jpeglib.h: No such file or directory
/Users/daviddreschner/boinc/api/gutil.C:940: error: `jpeg_decompress_struct' was not declared in this scope
/Users/daviddreschner/boinc/api/gutil.C:940: error: `cinfo' was not declared in this scope
/Users/daviddreschner/boinc/api/gutil.C:940: error: parse error before `*' token
/Users/daviddreschner/boinc/api/gutil.C: In function `void DecodeJPG(...)':
/Users/daviddreschner/boinc/api/gutil.C:941: error: `cinfo' undeclared (first use this function)
/Users/daviddreschner/boinc/api/gutil.C:941: error: (Each undeclared identifier is reported only once for each function it appears in.)
/Users/daviddreschner/boinc/api/gutil.C:941: error: `jpeg_read_header' undeclared (first use this function)
/Users/daviddreschner/boinc/api/gutil.C:942: error: `jpeg_start_decompress' undeclared (first use this function)
/Users/daviddreschner/boinc/api/gutil.C:944: error: `pImageData' undeclared (first use this function)
/Users/daviddreschner/boinc/api/gutil.C:957: error: `jpeg_read_scanlines' undeclared (first use this function)
/Users/daviddreschner/boinc/api/gutil.C:960: error: `jpeg_finish_decompress' undeclared (first use this function)
/Users/daviddreschner/boinc/api/gutil.C: At global scope:
/Users/daviddreschner/boinc/api/gutil.C:964: error: field `pub' has incomplete type
/Users/daviddreschner/boinc/api/gutil.C:971: warning: ISO C++ forbids declaration of `METHODDEF' with no type
/Users/daviddreschner/boinc/api/gutil.C: In function `int METHODDEF()':
/Users/daviddreschner/boinc/api/gutil.C:971: error: parse error before `(' token
/Users/daviddreschner/boinc/api/gutil.C:971: error: parse error before `)' token
/Users/daviddreschner/boinc/api/gutil.C:972: warning: ISO C++ forbids declaration of `my_error_exit' with no type
/Users/daviddreschner/boinc/api/gutil.C: In function `tImageJPG* LoadJPG(const char*)':
/Users/daviddreschner/boinc/api/gutil.C:979: error: aggregate `jpeg_decompress_struct cinfo' has incomplete type and cannot be defined
/Users/daviddreschner/boinc/api/gutil.C:989: error: 'struct my_error_mgr' has no member named 'pub'
/Users/daviddreschner/boinc/api/gutil.C:989: error: `jpeg_std_error' undeclared (first use this function)
/Users/daviddreschner/boinc/api/gutil.C:990: error: 'struct my_error_mgr' has no member named 'pub'
/Users/daviddreschner/boinc/api/gutil.C:992: error: `jpeg_destroy_decompress' undeclared (first use this function)
/Users/daviddreschner/boinc/api/gutil.C:997: error: `jpeg_create_decompress' undeclared (first use this function)
/Users/daviddreschner/boinc/api/gutil.C:998: error: `jpeg_stdio_src' undeclared (first use this function)
/Users/daviddreschner/boinc/api/gutil.C: In member function `int TEXTURE_DESC::CreateTexturePPM(const char*)':
/Users/daviddreschner/boinc/api/gutil.C:1068: warning: invalid conversion from `unsigned int*' to `GLuint*'
/Users/daviddreschner/boinc/api/gutil.C:1162: confused by earlier errors, bailing out
{standard input}:5189:FATAL:.abort detected. Assembly stopping.
** BUILD FAILED **

In addition to the error the programm "cc1plus" crashes at the same time when the error was shown. Here the crash-report:
Date/Time: 2005-12-02 21:30:35.391 +0100
OS Version: 10.4.3 (Build 8F46)
Report Version: 3

Command: cc1plus
Path: /usr/libexec/gcc/darwin/ppc/3.3/cc1plus
Parent: gcc-3.3 [7297]

Version: ??? (???)

PID: 7298
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000100

Thread 0 Crashed:
0 cc1plus 0x00010958 0x1000 + 63832
1 cc1plus 0x0001ad04 0x1000 + 105732
2 cc1plus 0x000903a8 0x1000 + 586664
3 cc1plus 0x000b122c 0x1000 + 721452
4 cc1plus 0x000d1fa4 0x1000 + 855972
5 cc1plus 0x000d7444 0x1000 + 877636
6 cc1plus 0x000d7570 0x1000 + 877936
7 cc1plus 0x00002300 0x1000 + 4864
8 cc1plus 0x000021a8 0x1000 + 4520

Thread 0 crashed with PPC Thread State 64:
srr0: 0x0000000000010958 srr1: 0x000000000200f930 vrsave: 0x0000000000000000
cr: 0x24000442 xer: 0x0000000000000004 lr: 0x0000000000010950 ctr: 0x0000000000000000
r0: 0x0000000000010950 r1: 0x00000000bfffd950 r2: 0x0000000000000000 r3: 0x0000000000000268
r4: 0x0000000000000000 r5: 0x0000000000000001 r6: 0x0000000000000000 r7: 0x0000000000000000
r8: 0x0000000000000030 r9: 0x000000000043b6f8 r10: 0x000000004062a15c r11: 0x0000000044000442
r12: 0x00000000007172b8 r13: 0x00000000000000c8 r14: 0x00000000bfffdbf0 r15: 0x0000000000000055
r16: 0x0000000000000000 r17: 0x0000000000000001 r18: 0x0000000000410000 r19: 0x00000000bfffda60
r20: 0x0000000000000000 r21: 0x0000000000380000 r22: 0x0000000000000000 r23: 0x0000000000410000
r24: 0x0000000000410000 r25: 0x0000000000000000 r26: 0x0000000000410000 r27: 0x0000000000410000
r28: 0x00000000404b5980 r29: 0x0000000000717244 r30: 0x00000000004123a0 r31: 0x0000000000717244

Binary Images Description:
0x1000 - 0x411fff cc1plus /usr/libexec/gcc/darwin/ppc/3.3/cc1plus
0x8fe00000 - 0x8fe54fff dyld 44.2 /usr/lib/dyld
0x90000000 - 0x901b3fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x9020b000 - 0x9020ffff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x92cff000 - 0x92dedfff libiconv.2.dylib /usr/lib/libiconv.2.dylib

Model: PowerMac3,1, BootROM 4.2.8f1, 1 processors, PowerPC G4 (2.9), 400 MHz, 896 MB
Graphics: ATY,Rage128Pro, ATY,Rage128Pro, AGP, 16 MB
Memory Module: DIMM1/J22, 128 MB, SDRAM, PC133-333
Memory Module: DIMM2/J23, 256 MB, SDRAM, PC133-322
Memory Module: DIMM3/J24, 512 MB, SDRAM, PC133-333
Modem: Spring, Euro, V.90, 3.0F, APPLE VERSION 0004, 5/21/1999
Network Service: Ethernet (integriert), PPP (PPPoE), ppp0
PCI Card: pci9004,7850, sppci_scsi_bus, SLOT-C
Parallel ATA Device: QUANTUM FIREBALLP KX10.2, 9.57 GB
Parallel ATA Device: Maxtor 54098U8, 38.17 GB
Parallel ATA Device: HL-DT-ST DVDRAM GSA-4163B,
USB Device: Hub in Apple USB Keyboard, Alps Electric, Up to 12 Mb/sec, 500 mA
USB Device: M4848, Logitech, Up to 1.5 Mb/sec, 100 mA
USB Device: Apple USB Keyboard, Alps Electric, Up to 1.5 Mb/sec, 250 mA

I hope that you can fix that fast. If possible, I'd like to be informed, when the error ist fixed. And I will say, much files are at the XCode-Project, but not at the server. :( It's that normaly?

I would also like to know how to compile BOINC in Linux because I don't understand the manual very well. My Mac is a PowerMac G4 with Mac OS X 10.4.3.

Sincerely,
d4d4
ID: 1472 · Report as offensive

Message boards : BOINC Manager : Bugs at the Sourcecode of BOINC

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.