anyone get it to work on Solaris 2.5?

gcc taildir.c 
Undefined                       first referenced
 symbol                             in file
alphasort                           /var/tmp/cca001nR1.o
scandir                             /var/tmp/cca001nR1.o
ld: fatal: Symbol referencing errors. No output written to a.out

On Thu, May 13, 1999 at 02:26:47PM -0400, Adam D. McKenna wrote:
# It compiled fine for me with no warnings on Debian 2.1.  Maybe your headers
# are outdated.
# 
# --Adam
# 
# ----- Original Message -----
# From: Jeff Hayward <[EMAIL PROTECTED]>
# To: <[EMAIL PROTECTED]>
# Sent: Thursday, May 13, 1999 12:33 PM
# Subject: Re: taildir won't compile...
# 
# 
# : On Thu, 13 May 1999, Marlon Anthony Abao wrote:
# :
# :    mail:~$ cc taildir.c
# :    taildir.c:15: conflicting types for `sys_errlist'
# :    /usr/include/errno.h:31: previous declaration of `sys_errlist'
# :    taildir.c: In function `newest':
# :    taildir.c:65: warning: passing arg 3 of `scandir' from incompatible
# pointer
# :    type
# :    taildir.c:65: warning: passing arg 4 of `scandir' from incompatible
# pointer
# :    type
# :
# :    am using linux... is there a problem with it?
# :
# : It compiles with 1 warning (which can be ignored) for me.  Which
# : Linux are you using?  I've got RH 6.0
# :
# : % uname -v -s -r -m
# : Linux 2.2.5-15 #1 Mon Apr 19 23:00:46 EDT 1999 i686
# :
# : % cc -o taildir taildir.c
# : taildir.c: In function `newest':
# : taildir.c:65: warning: passing arg 3 of `scandir' from incompatible
# : pointer type
# :
# : % ./taildir . & (sleep 1; echo "Hello, world" >>@0000000002; sleep 3)
# : [2] 1380
# : Hello, world
# :
# :
# : -- Jeff
# :
# :
# :
# 
# 

-- 
/- [EMAIL PROTECTED] --------------- [EMAIL PROTECTED] -\
|Justin Bell  NIC:JB3084| Time and rules are changing.         |
|Pearson                | Attention span is quickening.        |
|Developer              | Welcome to the Information Age.      |
\-------- http://www.superlibrary.com/people/justin/ ----------/

Reply via email to