Current time: 11-23-2024, 12:15 PM Hello There, Guest! (LoginRegister)


Post Reply 
Error lr_syntax.c:19 FreeBSD 8.0 i386
Author Message
outbackdingo Offline
Newbie
*

Posts: 9
Joined: Dec 2008
Reputation: 0
Post: #8
RE: Error lr_syntax.c:19 FreeBSD 8.0 i386
(04-26-2010 08:49 AM)spork Wrote:  
(12-21-2009 12:34 AM)agshekeloh Wrote:  The simple fix is to change line 19 in lr_syntax.c to:

ssize_t readlink(const char * __restrict, char * __restrict, size_t);

(thanks to Outback Dingo)

ispCP compiles for me now on 9.0, but dumps core immediately. I'm running 9.0 diskless off of an OpenSolaris ZFS array, so I'm not sure if the core dump is me or them.

Realistically, lr_syntax.c needs some sort of versioning to detect different FreeBSD versions.

I found 1.0.5 failing at the same spot today. It looks like it needs to be changed to:

Code:
ssize_t readlink(const char * __restrict, char * __restrict, ssize_t);

Note the "ssize_t" (two s's) at the end of the line. This might break on things other than FreeBSD based on some of my googling...

Odd i just did an install on FreeBSD 8x and didnt have this problem
(This post was last modified: 04-28-2010 12:51 PM by outbackdingo.)
04-28-2010 12:51 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Error lr_syntax.c:19 FreeBSD 8.0 i386 - outbackdingo - 04-28-2010 12:51 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)