Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build on Arch #56

Open
ronasimi opened this issue Apr 2, 2014 · 4 comments
Open

Fails to build on Arch #56

ronasimi opened this issue Apr 2, 2014 · 4 comments

Comments

@ronasimi
Copy link

ronasimi commented Apr 2, 2014

I'm sure it's probably distro specific, but it looks like the include in ulatency.h should look like this on Arch:

ifndef ulatency_h

define ulatency_h

include <glib.h>

include <gio/gio.h>

include <lua5.1/lua.h>

include <lua5.1/lualib.h>

include <lua5.1/lauxlib.h>

include <time.h>

include <stdint.h>

include "proc/procps.h"

include "proc/readproc.h"

lua headers are under /usr/include/lua5.1

@ronasimi ronasimi closed this as completed Apr 2, 2014
@ronasimi ronasimi reopened this Apr 2, 2014
@CameronNemo
Copy link
Contributor

Should they be ulatency_h or ulatency_h?

@ronasimi
Copy link
Author

ronasimi commented Apr 2, 2014

Sorry, apparently there was clipboard fail, should read:

#ifndef ulatency_h
#define ulatency_h
#include <glib.h>
#include <gio/gio.h>
#include <lua5.1/lua.h>
#include <lua5.1/lualib.h>
#include <lua5.1/lauxlib.h>
#include <time.h>
#include <stdint.h>
#include "proc/procps.h"
#include "proc/readproc.h"

same for lbc.c in src/bc:

#include <lua5.1/lua.h>
#include <lua5.1/lualib.h>
#include <lua5.1/lauxlib.h>

As I said, probably Arch linux specific...

EDIT: It's not showing the code properly after I comment...

screenshot from 2014-04-02 12 43 12

@CameronNemo
Copy link
Contributor

You need to escape your __'s, like so: __.

@k2s
Copy link

k2s commented Apr 14, 2014

compilation on Arch Linux this seams to be solved, see https://aur.archlinux.org/packages/ulatencyd-git/ recipe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants