W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2003

Re: compilation error

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 08 Apr 2003 19:51:08 +0200
To: aportal@univ-montp2.fr
Cc: html-tidy@w3.org
Message-ID: <3eeb0b57.308493229@smtp.bjoern.hoehrmann.de>

* 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:54 GMT