palaniyappanBala / klish

Automatically exported from code.google.com/p/klish
Other
0 stars 0 forks source link

Compile error on OpenBSD 5 #108

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
./configure
make install

What is the expected output? What do you see instead?
Installed succesfully :-)

What version of the product are you using? On what operating system?
klish-1.5.3, OpenBSD 5

Please provide any additional information below.
sh_la-shell_tinyrl.Tpo -c clish/shell/shell_tinyrl.c  -fPIC -DPIC -o 
clish/shell/.libs/libclish_la-shell_tinyrl.o
clish/shell/shell_tinyrl.c: In function 'clish_shell_execline':
clish/shell/shell_tinyrl.c:470: error: 'EBADMSG' undeclared (first use in this 
function)
clish/shell/shell_tinyrl.c:470: error: (Each undeclared identifier is reported 
only once
clish/shell/shell_tinyrl.c:470: error: for each function it appears in.)
*** Error code 1

Stop in /root/klish-1.5.3 (line 2322 of Makefile).

BEWARE: I just compiled and installed clish without any errors

Keep up the good work, I'm strugling hard to create an opensource OpenBSD 
firewall with the help of klish.

Original issue reported on code.google.com by Morten.b...@gmail.com on 27 Feb 2012 at 1:10

GoogleCodeExporter commented 8 years ago
Hi

The known issue is OpenBSD lacks some POSIX.1 errno codes.
Can you send me an list of possible errno codes on OpenBSD? In my Linux I can 
get this list from "man errno" or headers.
I will choose another code to replace EBADMSG

Original comment by serj.kalichev@gmail.com on 27 Feb 2012 at 1:47

GoogleCodeExporter commented 8 years ago
Sorry I don't understand half the stuff, provide me with a command to run on 
OpenBSD and I'll provide you with the output. I'm not a programmer just a fool 
with a silly vision of making OpenBSD firewall/network appliance available to 
more people.

Original comment by Morten.b...@gmail.com on 27 Feb 2012 at 2:40

GoogleCodeExporter commented 8 years ago
Ok.
I have made some changes due to internet versions of errno manual pages for 
different systems. Probably all BSD systems has ENOEXEC.

So, try compile it from Subversion. Last revision.

# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://klish.googlecode.com/svn/trunk/ klish 

You need the subversion package to be installed

Original comment by serj.kalichev@gmail.com on 27 Feb 2012 at 5:51

GoogleCodeExporter commented 8 years ago
Yep everything works now using latest svn version. Thanks

Original comment by Morten.b...@gmail.com on 28 Feb 2012 at 7:48

GoogleCodeExporter commented 8 years ago

Original comment by serj.kalichev@gmail.com on 28 Feb 2012 at 8:16