bug-zile
[Top][All Lists]
Advanced

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

[Bug-zile] zile 2.3.20: program_name missing


From: Christian Weisgerber
Subject: [Bug-zile] zile 2.3.20: program_name missing
Date: Sun, 10 Oct 2010 20:37:50 +0200
User-agent: Mutt/1.4.2.3i

zile 2.3.20 fails to build here on OpenBSD:

...
../lib/libgnu.a(error.o)(.text+0x320): In function `error':
: undefined reference to `program_name'
../lib/libgnu.a(error.o)(.text+0x4f0): In function `error_at_line':
: undefined reference to `program_name'
...

As lib/error.c says:

/* The calling program should define program_name and set it to the
   name of the executing program.  */
extern char *program_name;

Currently src/main.c defines only

char *prog_name = PACKAGE;

-- 
Christian "naddy" Weisgerber                          address@hidden



reply via email to

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