Comments (5)
Why is ossec trying to set a compiler variable in the first place (https://github.com/ossec/ossec-hids/blob/master/install.sh#L814)? Should we not trust the operating system to give us a appropriate ${CC} environment variable?
I once succeed to compile ossec with clang, look at https://bitbucket.org/cgzones/ossec-hids/commits/1aa1d8b786d0ab730458626754b4666e4b7eb19d
from ossec-hids.
FreeBSD 10 only has clang. Gcc is not installed and must be added as pkg/port.
Clang can build everything in ossec correctly other then sha1 https://github.com/ossec/ossec-hids/tree/master/src/os_crypto/sha1 this bit of code uses inline asm that is not supported by clang. You can still build the .o with gcc and link it with clang which is what happens when you run "make clang".
What we need to do is fix that inline asm or require gcc. I think we should fix the inline asm myself.
Sent from my iPhone
On Mar 2, 2014, at 5:48 AM, "cgzones" [email protected] wrote:
Why is ossec trying to set a compiler variable in the first place (https://github.com/ossec/ossec-hids/blob/master/install.sh#L814)? Should we not trust the operating system to give us a appropriate ${CC} environment variable?
I once succeed to compile ossec with clang, look at https://bitbucket.org/cgzones/ossec-hids/commits/1aa1d8b786d0ab730458626754b4666e4b7eb19d—
Reply to this email directly or view it on GitHub.
from ossec-hids.
can you test my branch https://github.com/cgzones/ossec-hids/tree/clang?
from ossec-hids.
@cgzones in quick testing it fixed this issue for freebsd. We are gonna need larger testing to make this work. Could you create a pull request for this?
from ossec-hids.
Thanks #132 this works and compiles on freebsd without issue.
Thank you @cgzones
from ossec-hids.
Related Issues (20)
- syslog_output on Solaris 11.4 (SPARC), OSSEC 3.7.0
- Change OSSEC_GROUP HOT 2
- OSSEC Version migration HOT 2
- Issues with File Integrity Monitoring (Syscheck) HOT 4
- Some vulnerabilities are not fixed since 2020 HOT 4
- It does not work in `Amazon Linux 2023` HOT 6
- Better error message for "ossec-testrule: currently_rule not set!" HOT 4
- Custom Rules HOT 1
- Null
- syscheck HOT 1
- incorect layout for debian bookworm and bullseye repos HOT 3
- ERROR: SSL read (unable to receive message) OSSEC HOT 1
- sslv3 alert handshake failure
- Missing repo data for Ubuntu Jammy HOT 1
- /var/ossec/etc/ossec.conf and Ansible community.general.xml
- [HELP]
- Problem with decoders HOT 1
- ossec-analysisd leaks memory.
- Journald read in 1001 seconds bursts HOT 8
- Link doesn't exists
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ossec-hids.