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

cannot compile it in nethunter chroot android 7.1.2 #10

Open
papuruth opened this issue Aug 6, 2018 · 6 comments
Open

cannot compile it in nethunter chroot android 7.1.2 #10

papuruth opened this issue Aug 6, 2018 · 6 comments

Comments

@papuruth
Copy link

papuruth commented Aug 6, 2018

please tell me how to compile it i have tried many times but failed as i have to use in kali nethunter chrooted for running postgresql

@darksty
Copy link

darksty commented Sep 4, 2018

same questions

@Anonymous1p
Copy link

same here

@kianoosh21
Copy link

is some one knows that please tell us

@kianoosh21
Copy link

😢😢

@Reno-Axel
Copy link

Reno-Axel commented Mar 8, 2020

You have to compile it in Linux with the compiler that you need, for example:

My phone use armv7 processor so I need to compile with armhf compiler in Kali Linux

To compile just do:
./build.sh

PD: to use it in PostgreSQL server on a nethunter, you need to change the code, setting the key to IPC_PRIVATE in shmget function, line 115, before the if statement

/* Get shared memory segment.  */
int shmget (key_t key, size_t size, int flags)
{
	char buf[256];
	int idx;
	DBG ("%s: key %d size %zu flags 0%o (flags are ignored)", __PRETTY_FUNCTION__, key, size, flags);
	key=IPC_PRIVATE;
	if (key != IPC_PRIVATE)
	...
}

But I don’t know the implications of this change

@m1kuwu
Copy link

m1kuwu commented Jul 21, 2021

You have to compile it in Linux with the compiler that you need, for example:

My phone use armv7 processor so I need to compile with armhf compiler in Kali Linux

To compile just do:
./build.sh

PD: to use it in PostgreSQL server on a nethunter, you need to change the code, setting the key to IPC_PRIVATE in shmget function, line 115, before the if statement

/* Get shared memory segment.  */
int shmget (key_t key, size_t size, int flags)
{
	char buf[256];
	int idx;
	DBG ("%s: key %d size %zu flags 0%o (flags are ignored)", __PRETTY_FUNCTION__, key, size, flags);
	key=IPC_PRIVATE;
	if (key != IPC_PRIVATE)
	...
}

But I don’t know the implications of this change

What to change everything is same

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

6 participants