Search:

Type: Posts; User: Bachstelze; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.06 seconds.

  1. [SOLVED] Re: How to download OpenSSL debug symbols?

    See here for how to install debugging symbols. You will probably need package libssl-dbg or something similar.
  2. [SOLVED] Re: Invalid date.timezone value 'singapore', we selected the timezone 'UTC' for now

    "singapore" is not a valid value for date.timezone. What you want is


    date.timezone = "Asia/Singapore"

    The list of valid timezones is here: http://php.net/manual/en/timezones.php
  3. [server] Re: Upgrade from 16.04 to 18.04 forbidden 403 error on apache

    If you see nothing in your logs, it means your logs are not "sensitive" enough, so you should increase your LogLevel. By the way, I recommed setting separate logs for each vhost for better...
  4. Re: What was the last command you entered into Terminal?

    Guess what I'm doing... Yes, procrastinating, that's why I'm here!
  5. [SOLVED] Re: Cannot figure out this bug for the life of me!

    In addition to what Vaphell said, two don'ts to keep in mind:

    1. Don't use scanf().
    2. Don't write comments which just paraphrase the code. Code should be commented if and only if its meaning is...
  6. Thread: Learning C

    by Bachstelze
    Replies
    10
    Views
    1,120

    Re: Learning C

    I suppose one has to start somewhere, but be advised that "making your own OS" is a very long shot from where you seem to be now. Being a good programmer is necessary but very very far from...
  7. [SOLVED] Re: unable to get memory map during stack smashing

    Is that what you want to do?


    firas@itsuki ~ % cat test.c
    #include<stdio.h>
    #include <string.h>

    int check_password(char *password){
    int flag = 0;
    char buffer[20];
  8. [SOLVED] Re: unable to get memory map during stack smashing

    What else could it be?
  9. Re: ld wont link when -m32 is specified on 64bit system.

    You need to install the 32-bit versions of those libraries. Try appending :i386 to the package names in apt-get install.
  10. [SOLVED] Re: unable to get memory map during stack smashing

    I have no idea what you mean by that...
  11. Replies
    1
    Views
    526

    Re: EIP is not incrementing

    Hmm, it shouldn't do that, and I can't run the Live CD right now as my laptop's drive seems broken... In any case, as you said the version of Ubuntu in the provided Live CD is very old, so if I were...
  12. [SOLVED] Re: unable to get memory map during stack smashing

    The "memory map" printed is not very useful anyway. Much better is to run the program in gdb and use the examine command.
  13. Re: Map a file directly into memory using C

    If you are running your program on Windows, then you probably need rb indeed. In Linux (or other POSIX-compliant systems), it has no effet (r and rb are equivalent).
  14. Replies
    9
    Views
    531

    [SOLVED] Re: simple c problem

    Looks like Trent woke up on the wrong side of bed this morning. :D What he said is true of course but you can feel free to disregard it for now and continue experimenting with pointers and stuff...
  15. Replies
    9
    Views
    531

    [SOLVED] Re: simple c problem

    array and &array are not the same thing. (This is subtle, on a common system they have the same value, but not the same type.) You want array+6 and not &array+6.
  16. Replies
    12
    Views
    2,697

    Re: Help with Asm in C code (GCC)

    Yes, but not for the reason you are probbly thinking of: it's just completely irrelevant to the problem here.
  17. Replies
    12
    Views
    2,697

    Re: Help with Asm in C code (GCC)

    What is %a supposed to represent?
  18. Replies
    4
    Views
    769

    Re: g++ scons libraries installation

    You want to do


    sudo apt-get install scons libboost-all-dev libsundials-serial-dev subversion libblas-dev liblapack-dev
  19. Replies
    4
    Views
    769

    Re: g++ scons libraries installation

    You very much need to review how to install software. ;)

    (What you want here is probably apt-get.)
  20. Replies
    5
    Views
    377

    [SOLVED] Re: how float variable store in memory

    There is no special storage area in memory for floating-point variables, they are stored in exactly the same way as any other variable.
  21. Replies
    19
    Views
    1,572

    [SOLVED] Re: trouble using sed

    sed is overkill here, use cut (or maybe awk).
  22. Replies
    1
    Views
    524

    Re: Build a binary Deb from a Github clone

    Basically, no. checkinstall is the quick and dirty way, but if it doesn't work I think your only option is to follow the packaging guide.
  23. Replies
    2
    Views
    557

    Re: [C99] A question about malloc()

    Yes... assuming randomnumber >= 2. ;)
  24. [SOLVED] Re: Help getting started in x86 assembly (or x86_64)

    Study this book.

    But to answer your questions...



    See above.
  25. Re: How to make binary compatibile with different distribution

    the easiest way is to link the libraries statically, but you need to be careful about the license terms of the libraries you use (for example if you use a GPL library, then you can't distribute your...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4