Programming :: Compiling Sample LDAP Plug-in On RHDS?

Feb 24, 2010

I am writing an sample LDAP Plug-in on RHDS. While compiling plug-in file, i am getting an error related to missing header files(prtypes.h, prprf.h etc..) 'slapi-plugin.h' file is generated in the path /usr/include/dirsrv. But inside this file, they are using some other header files like prtypes.h, prprf.h, etc. But there is no files generated with this names. Because of this i am getting "No such file or directory" error for these files. I can get these header files from Netscape coporation(Thirdpary), but can we use the same header files for Redhat or is there any separate header files are there for RHDS.

View 1 Replies


ADVERTISEMENT

Red Hat / Fedora :: Compiling Sample LDAP Plug-in On RHDS?

Feb 24, 2010

I am writing an sample LDAP Plug-in on RHDS. While compiling plug-in file, i am getting an error related to missing header files(prtypes.h, prprf.h etc..).

'slapi-plugin.h' file is generated in the path /usr/include/dirsrv. But inside this file, they are using some other header files like prtypes.h, prprf.h, etc. But there is no files generated with this names. Because of this i am getting "No such file or directory" error for these files. I can get these header files from Netscape coporation(Thirdpary), but can we use the same header files for Redhat or is there any separate header files are there for RHDS.

View 1 Replies View Related

Server :: Compiling Sample LDAP Plug-in On RHDS

Feb 24, 2010

I am writing an sample LDAP Plug-in on RHDS. While compiling plug-in file, i am getting an error related to missing header files(prtypes.h, prprf.h etc..).

'slapi-plugin.h' file is generated in the path /usr/include/dirsrv. But inside this file, they are using some other header files like prtypes.h, prprf.h, etc. But there is no files generated with this names. Because of this i am getting "No such file or directory" error for these files. I can get these header files from Netscape coporation(Thirdpary), but can we use the same header files for Redhat or is there any separate header files are there for RHDS.

View 1 Replies View Related

General :: Compiling 32 Bit Sample Program On 64 Bit Fedora Using - M32 Option

Oct 7, 2009

I have Fedoara 11 install on my PC. I want to compile program as 32 by g++ option -m32. I have 32 bit library install on my machine which present in path

When i compile my sample program with -c & -m32 option it compile correctly

Then it gives linking error as:

View 2 Replies View Related

Programming :: Ubuntu Hardy - Php-ldap - Can't Contact LDAP Server

Nov 28, 2008

I'm checking with a sniffer and there's activity going on between the client and the LDAP server... as a matter of fact, the sniffer shows that the search is producing one ldap item, however, php says it can't contact the ldap server (after it has bound and everything):

The script is working beautifully on another host with debian.

View 7 Replies View Related

Programming :: Calculate The Time Taken For A Sample Program To Run?

Apr 24, 2011

i have the example code below, i want to calculate the time taken for a sample program to run. but i keep getting undefined reference error.

#include <sys/time.h>
#include <iostream>
int main(int argc, char **argv) {
struct timeval startTime;
struct timeval endTime;

[Code]...

View 9 Replies View Related

Programming :: How To Compile Libipq Sample Program

Feb 26, 2010

I want to capture the ip packets, so i installed

I am getting the following errors.

View 7 Replies View Related

Programming :: Sample Program To Record Audio Through Microphone Connected To P

Jul 14, 2010

Can i find sample program to record audio through microphone connected to PC.

View 9 Replies View Related

Server :: Rhds Uses Login To Windows?

Jan 3, 2011

i have my directory server user as dn = sunil.kumarinfotech.com i want to make this user to login into my windows xp in client edition.its wking fine in linux client even we get the whole profile .so similar i want with xp m/c also please suggest the only way is to intigrate it with samba or wtever it is?also my mc is in workgoup i have my dns [URL] wan to add my m/c on this domain.

View 3 Replies View Related

Software :: RHDS A Alternative To AD In World?

Apr 12, 2011

A couple years ago I tried to enable LDAP/Kerberos sign-on from Active Directory 2003. Ran into a whole bunch of issues (mostly related to our Red Hat ES3 servers). I'm going to start looking into this again. We still have our old Red Hat ES3 servers (along with AS4 and 5.5).

So my options are basically this:
- Try again to integrate with Active Directory
- Setup an RHDS server (completely separate from AD)
- Setup an RHDS server and sync with AD

I'm looking for a simple method that is reliable. Integrating with AD left a bad taste because of all the weird issues we ran into but I was trying to integrate using LDAP and Kerberos (and as I understand it we can authenticate using LDAP only) . I need to be able to restrict access to groups of users and groups of servers which I know is possible in RHDS. I've read a few documents from Red Hat about RHDS and it sounds like a good product, but there aren't many impressions from actual users on the internet.

View 4 Replies View Related

Programming :: C/C++ Plug-in Programming ?

Feb 2, 2010

How to read the content of a shared object inside my c/c++ source code. Let me explain more.

Imagine i have a main.c file and it can get 2 int numbers and add them, then i compile this file using gcc and then i have an executable file.

After a while i notice that i like to add subtraction ability(function) to my simple program. there are 4 major way to do it:

1) adding the code inside to source file (main.c) and recompiling it.

2) creating another source file and implementing the new function into it, then compiling it as an static or shared object and the recompiling the main.c against this object file

3) using and embedding an scripting language, say perl or lua, to add the new functionality as scripts files into our executable program. this approach is useful in some situation, but here you have to force the end user to download another program (perl, lua, ...) to be able to run your app correctly, or it would lack a lot of functionalities, though you won't need to recompile your app.

4) embedding a peace of code, i mean new function into main.c to read and deal with the content of a directory, say "./plugin" at runtime and checking if there is any shared library within the directory, if any, reading their contents and adding the extra functionality to the main program on the fly.

How can we implement the fourth approach? in other words, how can we read the content of shared objects on the fly?

View 2 Replies View Related

Programming :: Compiling Lex Output As C++?

Apr 6, 2011

Lex's (actually Flex) output contains this:

Code:
#ifdef __cplusplus
extern "C" int yywrap (void );

[code]...

View 8 Replies View Related

Programming :: NASM Compiling With An IDE?

Sep 21, 2010

I am searching for the IDE that can compile and debug a NASM code. I am using ubuntu 10.04 and I can make compile via terminal but I must view registers for educational purposes.

View 4 Replies View Related

Debian Programming :: Cross Compiling With Qt

Dec 11, 2014

I am trying to cross-compile my Qt application for armhf on Jessie, so what I did was install qt5-default:armhf, but when I tried running qmake I found out that it contains also an armhf version of qmake so I was not able to run it.Then I installed the amd64 version to have at least a runnable version of qmake, but it was only to find out that qmake contains only hardcoded paths, so I could not use it for the armhf libraries, well I could but I had to run qmake (amd64 version) and afterwards open the makefile and change all paths from amd64 to armhf.

But as this is not so convenient I was wondering if there is a normal way to do this, I know you can compile the source yourself but I had quite a lot of problems with dependencies there. Is it possible with the standard repository binaries or should I just go back to compiling the source myself? Maybe I can compile only the building tools without building all the libraries I already got from the repository.

View 0 Replies View Related

Programming :: Compiling The Library + Application?

Nov 28, 2010

I'm trying to learn how to cross-compile libraries (static and shared) and executables for the Blackfin + uClinux environment.At this point, I can successfully compile a stand-alone "Hello, world" but fail when trying to add a (static) library to the mix.Here's the source code I wrote:

Code:

#========== bar.h
void mytestfunc(void);
#========== bar.c
#include <stdio.h>

[code]...

Googling for this returns talks about "name mangling", but I don't know if this is what it is, and how to change the source/command to solve it.

View 1 Replies View Related

Programming :: Compiling The Poppler Pdf Library?

Jul 29, 2011

I am trying to use the QT4 frontend of poppler library in my application so I need to compile the library.In its main directory ./configure can be run but I got

Code:

checking which font configuration to use... fontconfig
checking for FONTCONFIG... no
configure: error: Package requirements (fontconfig >= 2.0.0) were not met:
No package 'fontconfig' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
and FONTCONFIG_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.

I have fontconfig installed (ubuntu):

2.8.0-2.1ubuntu3 (fontconfig)

However I have no idea where those flags are and what to set them to.

View 11 Replies View Related

Programming :: Meaning Of Compiling A Program?

Aug 17, 2010

I have been using gcc to compile C programs.
I want to know what exactly is the meaning of Compiling a C program.
I checked
cc -S prog.c
will give an .S file and if you analyze the hexdump I saw some assembly instructions.
So what does the compiler do which is not required in case of interpreted languages?

View 13 Replies View Related

Programming :: Perl Net- LDAP - Why Don't Work Any Error Handling

Nov 12, 2010

i have some perl codes for using ldap,but i don't know why don't work any error handling When i use msg->code for sample. an example:

[Code],,,,

In this case,if $msg->code return zero(or null) every thing work correctly but if it not zero don't give any message(eg."error result").What is problem?

View 1 Replies View Related

Debian Programming :: LMMS Not Compiling With VST Support

May 22, 2015

I did see another topic on this forum regarding VSTs in LMMS, but it didn't solve my problem. I am running using the 64-bit testing branch of debian, which may be causing some of my problems. I tried compiling LMMS myself, but I ran into an issue with wine when it tried to compile RemoteVstPlugin.

It seems as though wine didn't install winegcc or any other tools like that. After a while, I did manage to find winegcc and some of the other tools in /usr/lib/x86_64-linux-gnu/wine/bin. I decided to add some symlinks in /usr/local/bin to point to winegcc, wineg++, winecpp, and winebuild. After that, it seemed to give a different error message, but still failed to compile. It now gives me the following error:

Code: Select all[ 83%] Generating RemoteVstPlugin
/usr/bin/ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/lib/x86_64-linux-gnu/wine/wine/libwinecrt0.a(exe_entry.o)) to format elf32-i386 (RemoteVstPlugin.Azfbf1.o) is not supported
winebuild: /usr/bin/ld failed with status 1

[Code] ....

I may be missing some dependencies because I couldn't run build-dep without removing skype but I don't think that's the problem. I thought the above problem may have something to do with wine, so I was going to try compiling wine to. I ran into problems with that, and ditched that idea. I really don't know what to do anymore. I can't just disable VST support, because that's why I tried to compile LMMS by myself to begin with!

View 1 Replies View Related

Programming :: Cross-Platform Compiling -m32 Flag

May 14, 2010

I have an odd thing. And thats the following:

I entered: gcc raw.c -m32 -g -static -o raw

And I got:

I installed all bin32 libs I am on a x64 system.

View 6 Replies View Related

Programming :: Basic Cross Compiling Tutorial?

Feb 4, 2010

I have written a program that I would like to cross compile for x86 and x86_64 architectures. I have tried google and the search function here to no success, most information I find is too specific (instructions for a specific program), or dealing with cross compiling for windows on linux.Does anyone know of a tutorial dealing with straight making a 32 bit binary on a 64 bit processor (both are intel)?

View 2 Replies View Related

Programming :: Compiling A C++ Program Using G++ With X86 Settings On X86_64?

Jan 25, 2010

How can I compile a C++ application using g++ with x86 platform settings on a x86_64 machine ? What are the possible negative side-effects of compiling a C++ application with x86 settings on a x86_64 platform ?

View 6 Replies View Related

Programming :: Compiling And Linking Multiple Files Using Gcc?

Mar 13, 2011

compiling and linking using gcc: What does a file name with a suffix '.a' represent? If I have multiple .c and .h files, how can I link them together? How can I create the .a file?

View 6 Replies View Related

Programming :: Compiling Binaries With Static Linkers

Sep 3, 2010

I am trying to compile certain Linux general utilities like ls, lsof, ping, netstat with static linkers and not sure how do that. Does any one aware how to compile the application with statically rather than dynamically.

View 4 Replies View Related

Programming :: Compiling Kernel Module Using (/asm/system.h)

Apr 3, 2011

I`m trying to compile sources of kernel module which has been written for kernel 2.6.9. There were many changes in kernel headers since then in current kernel sources. I`ve found that old /asm/system.h was moved under architecture dedicated directory /arch/*/include/asm/system.h. Anyway during sources compilation I`m having errors related to kernel sources. It looks like there is something wrong with this /asm/system.h

Code:

../asm/system.h: In function �__cmpxchg�:
../asm/system.h:248: error: expected string literal before �LOCK_PREFIX�
../asm/system.h:254: error: expected string literal before �LOCK_PREFIX�

[code]....

View 3 Replies View Related

Programming :: Compiling Libusb C++ Program To Run Without It's Dependencies?

Aug 6, 2010

I've built a piece of hardware that communicates using usb. I was wondering could I make a libusb based program run on it's own without gcc/ libusb

View 10 Replies View Related

Programming :: Compiling C Program For HPUX On IA/PA 64 Bits?

May 17, 2011

I had developed a C program on linux (x86). Now I need to port it to HP-UX OS on IA/PA 64 bit arch. What are the options to be used with cc compiler, on linux (x86), so that this could be done, if at all.

View 1 Replies View Related

Programming :: Error Compiling C++ Program Using C Library

May 8, 2010

I've created 3 files: swap.h and swap.c then make static library from it

Code:

Then I write 2 program to test this library: test_swap.c and test_swap.cpp

I compile

Code:

What's wrong with this in C++? And how can I make a library that can work both for any C and C++ program?

Here the source code

Code:

Code:

Code:

View 2 Replies View Related

Programming :: G++ Fails Compiling New Program / Make It Possible?

Jul 16, 2009

I am trying to compile systemc. Configuration is done OK and Makefiles are created. As soon as the "make" command i issue, recursively reaches the "utils" directory, errors are produced -declaration and include errors.

The files referenced by the errors DO exist and i hava managed to give g++ "-I ${LD_INCLUDE_PATH}, ie the variable, where all header dirs are listed. Libraries and compilers for gcc3.3 and g++3.3, i believe, are installed OK. code...

View 4 Replies View Related

Programming :: Getting Error While Compiling In Gambas On Ubuntu

Sep 5, 2010

Geting the following error while compiling in gambas on ubuntu. What is a secret key ?

[code]...

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved