Skip site navigation (1) Skip section navigation (2)

General Bug Report: enabling USE_SYSLOG breaks compile of src/backend/utils/misc/trace.c

From: Unprivileged user <nobody>
To: pgsql-bugs(at)postgreSQL(dot)org
Subject: General Bug Report: enabling USE_SYSLOG breaks compile of src/backend/utils/misc/trace.c
Date: 1999-07-22 13:35:14
Message-ID: 199907221335.JAA61506@hub.org (view raw or flat)
Thread:
Lists: pgsql-bugs
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name               : Jim Mercer
Your email address      : jim(at)reptiles(dot)org

Category                : install: compile
Severity                : serious

Summary: enabling USE_SYSLOG breaks compile of src/backend/utils/misc/trace.c

System Configuration
--------------------
  Operating System   : FreeBSD 2,3

  PostgreSQL version : 6.5.1

  Compiler used      : gcc

Hardware:
---------
Pentium

Versions of other tools:
------------------------


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

Problem Description:
--------------------
the USE_SYSLOG define is in "config.h", which is not included when trace.c tries to include <syslog.h>


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

Test Case:
----------
enable USE_SYSLOG in include/config.h
compile

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

Solution:
---------
move the #ifdef/#include <syslog.h>/#endif
to below the #include local include files"


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


Responses

pgsql-bugs by date

Next:From: Unprivileged userDate: 1999-07-22 13:38:48
Subject: General Bug Report: enabling USE_(revised) SYSLOG breaks compile of src/backend/utils/misc/trace.c
Previous:From: Unprivileged userDate: 1999-07-22 12:36:57
Subject: General Bug Report: difficulty enabling USE_SYSLOG

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group