bug-cppi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-cppi] cppi-1.14 fails to compile on Solaris 10


From: Bob Friesenhahn
Subject: [Bug-cppi] cppi-1.14 fails to compile on Solaris 10
Date: Thu, 4 Mar 2010 10:23:07 -0600 (CST)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

With Solaris 10 (x86), GCC 4.4.3, flex 2.5.35, I am seeing this compilation failure:

gcc-4.4.3 -std=gnu99  -I. -I../lib  -I../lib    -O2 -MT cppi.o -MD -MP -MF 
.deps/cppi.Tpo -c -o cppi.o cppi.c
./cppi.l:48:21: error: obstack.h: No such file or directory
./cppi.l: In function 'kth_entry':
./cppi.l:200: warning: implicit declaration of function 'obstack_base'
./cppi.l:201: warning: implicit declaration of function 'obstack_object_size'
./cppi.l: In function 'pop':
./cppi.l:210: warning: implicit declaration of function 'obstack_blank'
./cppi.l: In function 'push':
./cppi.l:220: warning: implicit declaration of function 'obstack_grow'
./cppi.l: In function 'cpp_i':
./cppi.l:382: warning: implicit declaration of function 'obstack_init'
./cppi.l: In function 'cpp_indent':
./cppi.l:625: warning: implicit declaration of function 'obstack_free'
gmake[3]: *** [cppi.o] Error 1

I see that a header with the name obstack.h is part of GCC and coreutils, but is not included with cppi. Maybe it was forgotten to be included? If I bring in obstack.h from GCC, then this is the result:

  CC       cppi.o
  CCLD     cppi
Undefined                       first referenced
 symbol                             in file
_obstack_begin                      cppi.o
_obstack_newchunk                   cppi.o
obstack_free                        cppi.o

What is required for a successful compile?

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]