Search Results

Search: Posts Made By: jose_spain
Forum: Programming 04-21-2018
14,869
Posted By jose_spain
Thanks, but I want to understand pointers use and...
Thanks, but I want to understand pointers use and this is the reason that I do it with a pointer.

I have done new tests with this program and I have found that:

1) If tmp is declared and...
Forum: Programming 04-21-2018
14,869
Posted By jose_spain
Segmentation fault when I pass a char pointer to a function in C.
I am passing a char* to the function "reverse" and when I execute it with gdb I get:

Program received signal SIGSEGV, Segmentation fault.
0x000000000040083b in reverse (s=0x400b2b "hello") at...
Forum: Programming 04-16-2018
2,323
Posted By jose_spain
Thanks, I have excuted: export...
Thanks,

I have excuted:

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:[FULL PATH TO .so FILE]

where:
[FULL_PATH_TO .so FILE] = /home/jose/.../hello_program

But if I execute the command: ldd...
Forum: Programming 04-15-2018
2,323
Posted By jose_spain
C/C++ shared libraries on Linux.
This is the first time that I created a dynamic library in linux and although the program works, I do not get the correct information about the library when executing ldd.

I explain the details:
...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 11:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy