[sword-devel] (Fwd) Bug#103732: sword_1.5.2-1(unstable): can't compile on bi

Daniel Glassey sword-devel@crosswire.org
Fri, 6 Jul 2001 17:17:03 +0100

Problem here on sparc. The file sys/pctypes.h doesn't exist on 
debian sparc. I guess it may only be in solaris? We had this before 
so I guess it wasn't completely sorted then. Does anyone know what 
leshort etc do? Maybe we could write a version ourselves and put them 
in an #ifdef? 


------- Forwarded message follows -------
Subject:        	Bug#103732: sword_1.5.2-1(unstable): can't compile on big endian architectures
Send reply to:  	James Troup <james@nocrew.org>, 103732@bugs.debian.org
Forwarded by:   	James Troup <james@nocrew.org>
Forwarded to:   	debian-bugs-dist@lists.debian.org
Date forwarded: 	Fri, 06 Jul 2001 16:03:01 GMT
To:             	submit@bugs.debian.org
From:           	James Troup <james@nocrew.org>
Date sent:      	06 Jul 2001 16:50:56 +0100

Package: sword
Version: 1.5.2-1
Severity: serious

Looks like someone did some FUBAR MacOS changes in src/modules/common
and hosed compilation on non-MacOS BE architectures...

| Automatic build of sword_1.5.2-1 on vore by sbuild/sparc 1.159
| Build started at 20010705-1640
| ******************************************************************************


| ** Using build dependencies supplied by package:
| Build-Depends: debhelper, autoconf, libz-dev


| gcc -I../../../include/ -D_GNU_SOURCE -DNDEBUG -DUNIX -D_GNU_SOURCE -DNDEBUG -DUNIX -pipe -Wall -Wno-format -pedantic -pedantic  -fomit-frame-pointer -s -O3 -DBIGENDIAN -DUSBINARY -c -o rawstr.o rawstr.cpp
| rawstr.cpp:27: sys/pctypes.h: No such file or directory
| rawstr.cpp: In method `void RawStr::getidxbuf(long int, char **)':
| rawstr.cpp:156: `lelong' undeclared (first use this function)
| rawstr.cpp:156: (Each undeclared identifier is reported only once
| rawstr.cpp:156: for each function it appears in.)
| rawstr.cpp: In method `char RawStr::findoffset(const char *, long int *, short unsigned int *, long int = 0, long int * = 0)':
| rawstr.cpp:256: `leshort' undeclared (first use this function)
| make[4]: *** [rawstr.o] Error 1

A complete build log can be found at

------- End of forwarded message -------

Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com