Re: compilation error

* Alain PORTAL wrote:
>Le Mardi 8 Avril 2003 17:30, Bjoern Hoehrmann a écrit :
>> You need to change the libtidy_la_SOURCES and HFILES symbols in
>> build/gnuauto/src/Makefile.am to include attrsdict.c attrsdict.h.
>
>I made the changes you tell me, after cleanup all the files and made a new 
>"installation" of the sources. Unfortunately, there is a new error:

Are you sure your Makefile.am looks like this:

  CFLAGS = @CFLAGS@ @WARNING_CFLAGS@
  
  INCLUDES = -I$(top_srcdir)/include
  
  lib_LTLIBRARIES = libtidy.la
  
  libtidy_la_SOURCES = \
  	access.c	attrs.c		istack.c	parser.c \
  	tags.c		entities.c	lexer.c		pprint.c \
  	clean.c		localize.c	config.c	alloc.c \
  	attrask.c	attrget.c	buffio.c	fileio.c \
  	streamio.c	tagask.c	tmbstr.c	utf8.c \
  	tidylib.c       attrdict.c
  #                     ^^^^^^^^^^

  libtidy_la_LDFLAGS = \
  	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
  	-release $(LT_RELEASE) -no-undefined -export-dynamic
  
  HFILES = \
  	access.h	attrs.h		clean.h		config.h \
  	entities.h	forward.h	lexer.h		message.h \
  	parser.h	pprint.h	streamio.h	tags.h \
  	tmbstr.h	utf8.h		tidy-int.h      attrdict.h
  #                                                     ^^^^^^^^^^
  
  EXTRA_DIST = $(HFILES)

This does work on my Debian Stable installation.

>During compilation, I often have this warning:
>attrdict.h:122:27: warning: no newline at end of file

Maybe I should add one...

Received on Tuesday, 8 April 2003 13:51:22 UTC