Actually, I have all the linux header files, now all I have to do
is get autoconf to include them.  Anyone with more familiarity with
autoconf know how to do this?  Include files from more than two
directories, in the Makefile.in I have now I have these two lines that
tell the compiler to include another dir.

includedir = @includedir@
oldincludedir = /usr/include

so maybe another line like:
linuxincludedir = /usr/compat/linux/usr/include/

any better ideas?

Matt Rose at his FUN e-mail address, and remember folks,
   "There are no Stupid Questions, just Stupid People"

On Fri, 22 May 1998, Jules Bean wrote:

:On Fri, 22 May 1998, Matthew Rose wrote:
:
:> 
:>      Anyone done this yet?  If not, here's problem # 1
:> 
:> [root@folkwolf esound]# gmake
:> gcc -DHAVE_CONFIG_H -I. -I. -I.   -g -O2 -c esdlib.c
:> esdlib.c: In function `esd_send_auth':
:> esdlib.c:15: `NAME_MAX' undeclared (first use this function)
:> esdlib.c:15: (Each undeclared identifier is reported only once
:> esdlib.c:15: for each function it appears in.)
:> esdlib.c:15: size of array `auth_filename' has non-integer type
:> 
:>      Which looks rather funny, because it is an integer.
:> 
:> Anyway here's the pertinent code for anyone on this list who's better at C
:> 
:> {
:>     int auth_fd = -1, i = 0;
:>     char auth_filename[NAME_MAX+1] = "", auth_key[ESD_KEY_LEN];
:>     char *home = NULL;
:>     char tumbler = '\0';
:> 
:
:Well, NAME_MAX is undefined, and hence not an integer :-)
:
:Looks like a header file is missing - you could grep through your header
:files to find the definition.
:
:But that's not really a good idea - to properly port esd, you should learn
:atuoconf (ouch!)
:
:Jules
:
:/----------------+-------------------------------+---------------------\
:|  Jelibean aka  | [EMAIL PROTECTED]         |  6 Evelyn Rd               |
:|  Jules aka     |                               |  Richmond, Surrey   |
:|  Julian Bean   | [EMAIL PROTECTED]        |  TW9 2TF *UK*       |
:+----------------+-------------------------------+---------------------+
:|  War doesn't demonstrate who's right... just who's left.             |
:|  When privacy is outlawed... only the outlaws have privacy.          |
:\----------------------------------------------------------------------/
:

-
To unsubscribe from this list send mail to: [EMAIL PROTECTED]
with the message contents: unsubscribe e-develop

Reply via email to