Re: make error on Solaris 7

Jack Berkery (jf.berkery@pti-us.com)
Tue, 23 Feb 1999 16:49:22 -0500


At 09:26 PM 2/23/99 +0100, you wrote:
> dave@fly.cc.fer.hr writes:

>> > make[4]: Entering directory `/home/jfb/apps/abi-0.3.3/src/wp/main/unix'
>> > Building with [JavaScript:Off Debug:On].
>> > UnixMain.cpp:
>> > make[4]: *** No rule to make target
>> > `../../../../dist/SunOS_5.7_sparc64_DBG/lib/onfig/ab.',
>> > needed by `AbiWord'.
>
>I tried to find the cause of error, but failed. However, the solution is
>quite simple. After you see this error, find the Makefile which
>generated it. (IIRC, that would be .../abi-0.3.3/src/wp/main/unix/Makefile)
>There are two dependancies for the default target. The second is THE_LIBS,
>which expands to all AbiWord's libraries. Comment it out. Type `make'
>again. It will link now and produce usable binary.
>

Thanks Dave,

This does indeed fix the make problem on Solaris 7 for abi-0.3.3.
However, even though it makes all the way through I ended up with a core
dump as follows.

--------------------------------------------------------------------------

Build ID: dopey-jfb
Version:
Build Options: JavaScript:Off Debug:On
Build Target: SunOS_5.7_sparc64_DBG
Compile Date: Jan 12 1999
Compile Time: 09:34:33

DEBUG: Using font path of /home/jfb/apps/abi-0.3.3/src/wp/lib/unix/fonts.

DEBUG: File says 60 fonts should follow...
DEBUG: Read 60 fonts from directory
[/home/jfb/apps/abi-0.3.3/src/wp/lib/unix/f.
DEBUG: Found Fonts:
Can't open /usr/lib/ispell/american.hash
DEBUG: EV_Menu: Creating menu for [layout Main, language EnUS]

DEBUG: EV_Toolbar: Creating toolbar for [layout FileEditOps, language EnUS]

DEBUG: EV_Toolbar: Creating toolbar for [layout FormatOps, language EnUS]

DEBUG: fl_DocListener::populateStrux

DEBUG: fl_DocListener::populateStrux

DEBUG: BEGIN Formatting document: 0x1976b8

DEBUG: Found font [0] in table.

DEBUG: Found font [0] in table.

Segmentation Fault (core dumped)

-------------------------------------------------------------------------

next I decided to try building abi-0.3.4 on Solaris 7 and it fails on
the following (and it doesn't help to change png.h to ut_png.h)

ut_png.cpp:20: png.h: No such file or directory
ut_png.cpp:31: `png_structp' was not declared in this scope
ut_png.cpp:31: parse error before `,'
ut_png.cpp: In function `void _png_read(...)':
ut_png.cpp:33: `png_ptr' undeclared (first use this function)
ut_png.cpp:33: (Each undeclared identifier is reported only once
ut_png.cpp:33: for each function it appears in.)
ut_png.cpp:36: `data' undeclared (first use this function)
ut_png.cpp:36: `length' undeclared (first use this function)
ut_png.cpp: In function `unsigned char UT_PNG_getDimensions(const class
UT_Byte:
ut_png.cpp:42: `png_structp' undeclared (first use this function)
ut_png.cpp:42: parse error before `;'
ut_png.cpp:43: `png_infop' undeclared (first use this function)
ut_png.cpp:44: `png_uint_32' undeclared (first use this function)
ut_png.cpp:47: `png_ptr' undeclared (first use this function)
ut_png.cpp:47: warning: implicit declaration of function `int
png_create_read_s'
ut_png.cpp:47: `PNG_LIBPNG_VER_STRING' undeclared (first use this function)
ut_png.cpp:56: `info_ptr' undeclared (first use this function)
ut_png.cpp:56: warning: implicit declaration of function `int
png_create_info_s'
ut_png.cpp:59: warning: implicit declaration of function `int
png_destroy_read_'
ut_png.cpp:59: `png_infopp' undeclared (first use this function)
ut_png.cpp:59: parse error before `0'
ut_png.cpp:67: warning: implicit declaration of function `int setjmp(...)'
ut_png.cpp:70: parse error before `0'
ut_png.cpp:80: warning: implicit declaration of function `int
png_set_read_fn(.'
ut_png.cpp:85: warning: implicit declaration of function `int
png_read_info(...'
ut_png.cpp:87: warning: implicit declaration of function `int
png_get_IHDR(...)'
ut_png.cpp:87: `width' undeclared (first use this function)
ut_png.cpp:87: `height' undeclared (first use this function)
ut_png.cpp:91: parse error before `0'
gmake[3]: *** [SunOS_5.7_sparc64_DBG/ut_png.o] Error 1
gmake[3]: Leaving directory `/home/jfb/apps/abi-0.3.4/src/util/xp'
gmake[2]: *** [build] Error 2
gmake[2]: Leaving directory `/home/jfb/apps/abi-0.3.4/src/util'
gmake[1]: *** [build] Error 2
gmake[1]: Leaving directory `/home/jfb/apps/abi-0.3.4/src'
gmake: *** [abiword] Error 2



Jack Berkery, Computer System Analyst, Power Technologies Inc.
1482 Erie Blvd, Schenectady NY, 12301
tele (518) 395-5125, fax (518) 346-2777



This archive was generated by hypermail 1.03b2.