I said I had the file, and the compiler detected it. It knows where it is and how to access it.
Proof: It got the "BIGNUM" from the lib
User Profile
Collapse
-
OpenSSL BIGNUM lib
Hello,
I am using the OpenSSL BIGNUM lib for my program. I got rid of all the compiler errors/warnings about it's usage, and when I thought it would compile:
Code:rabler.c:(.text+0x1a8): undefined reference to `BN_CTX_new' rabler.c:(.text+0x1cc): undefined reference to `BN_mod_exp'
I guess I have to use some special GCC flags(like with math.h "-lm")?... -
Yes, that was it.
I'm surprised I didn't think about it :(
But still, a big thanks.Leave a comment:
-
Getting pixel colour in C
Hello,
I haven't asked If I wasn't really confused :)
OK, so I am just beginning SDL programming in C, and I was running fine, until I tried getting a pixel colour.
Basically, I am trying to run the code from this page:
http://www.libsdl.org/cgi/docwiki.cgi/Pixel_20Access
This is the cut down version of my code:
Code:[I]snip[/I] SDL_Color GetPixel ( SDL_Surface* Screen , int x
-
I have been wondering the same thing, you could give us(the ones who need it) a helping hand :)Leave a comment:
-
Arch Linux 0.8 with kernel 2.6.21-ARCH
Python 2.5.1
Editors: Bluefish and Eric3Leave a comment:
-
Thanks for your reply.
I started looking into it, and by some testing, I saw that python uses the filename as sys.argv[0](perl doesn't do this, so I wasn't expecting that), so that's the reason a = int(s) didn't work. I used sys.argv[1] and everything is working perfectly.
Thanks a lot :)Leave a comment:
-
integer from argument
Hello, I just started learning Python today. I already know Perl, and they have a veery similar syntax, so it's not really hard. But I cannot manage to get an integer from an argument.
If i use sys.argv, it only gets it as a "string". But I need it as an integer.
If I try to use it in a calculation, I get:
TypeError: cannot concatenate 'str' and 'int' objects
Help?
Thanks -
It is also unreachable from outside my local network. Maybe this has to do something with "bind". I am looking for information, but there isn't very much of it.
If you could give me any help on this, it would be very appreciated too :)Leave a comment:
-
SMTP honeypot
Ok, I wrote a Honeypot in perl. It listens on port 25 and acts as a crude SMTP server.
It responds to the most basic commands(helo, mail from, rcpt to, data) needed for sending mail.
It has no way of closing the socket from the client side, so it acts also as a tarpit by not allowing automatic spam mailers to disconnect from it.
It does not actually send any mail, but simulates the situation.
Problems I'm having:... -
wow, thx for such a detailed answer :)
Next time, I will do as you told me.
Thanks again.Leave a comment:
-
create copy, random filename of itself
Hello,
I am rather new at pearl, but I am a fast learner.
So, I have been sitting up here, all night, trying to make a script that:
Reads it's name, copies itself to the same folder, but with a random name with a .html suffix(I have my apache configure to handle .html as CGI).
My code is here, this is the small batch I left for you to see, and It doesn't work.
http://kura...
No activity results to display
Show More
Leave a comment: