Search results

  1. K

    gdb without main()

    Hello, i writed a plugin for compiz named dockp. i compiled it with -g options in Makefile to debbug it. Now i want to find with gdb the core dump error. To run dockp plugin i run into a x-Terminal compiz, but compiz was compied without -g option and i don't want to rebuild and rewrite...
  2. K

    I don't understand ??? about void *

    solved sorry, it was a stupid question. It's not *(g + sizeof(void *)), but *(g + 1)
  3. K

    I don't understand ??? about void *

    Hello, struct Exp_ { struct Exp_ *a; struct Exp_ *b; } Exp int main(void) { Exp *n; init_exp(n, a, b); printf("line 1 : %p %p\n", &(n->a), &(n->b)); void **g; g = n; printf("line 2 : %p %p\n", g, sizeof(void *), g + sizeof(void *)); return 0 } result : line 1 ...
  4. K

    Installing Xorg without connection

    an idea To build Xorg without internet, you can copy all distfiles from ftp.FreeBSD.org/pub.../distfiles to an external disk on a computer with ftp command. And for your computer, copy archive by archive from external disk to the computer in your distfiles. Be patient. :r In my case i...
  5. K

    build openoffice

    Hello, I'm building now openoffice-3 on my freebsd 7.2 . Well, it's borring, i can't compil ooo without problems. And when i start again from "make clean", it's new problems. It's strange ? x( To start building again from a module i put "--from module_x" in the Makefile. ;) Can you...
  6. K

    pkg_add and ports

    thanks Thanks for this variables. I will put it now.
  7. K

    pkg_add and ports

    Hello, How to configure pkg_add to install same versions as ports ? Because i want to mix pkg_add and install ports without warnings or errors like "bidule-3.0.1 is installed but this version need bidule-3.1.3" Thanks :P
  8. K

    build with QT

    solved Thanks, It was made with qt3. I'm made to build it with all qt3 toolkit then. I wanted to install only moc and qmake for a light dependences Makefile, but i can't. It's ok now. Thanks :P
  9. K

    build with QT

    Hello, I writed an old program with QT. Now i want build it but without installing all QT. Then i installed qmake4-qt, and qt4-uic. but i read a message like this : "program.uic is too old for uic-qt4" Then i installed qmake, but i can't find moc and uic for my old program in ports...
  10. K

    about >> in C

    solved yes; it's solved. And it was verry simple. x(
  11. K

    about >> in C

    Hello whell i have unsigned int width = 1024 printf("%f\n", (float)(width >> 1)); result 512 it's OK. But unsigned int width = 1024 printf("%f\n", (float)(-(width >> 1))); Result a big number ??? Whay ??? Thanks
  12. K

    $HOME or ~ in C

    Solved Solved, thanks.
  13. K

    $HOME or ~ in C

    Hello, how to open file like "/home/toto/file.alx" with "$HOME/file.alx" or "~/file.alx" in C language ? Attention i don't want to part arguments into main ! Thanks
  14. K

    ports through ssh

    ho thanks Thanks, I will try sysutils/screen for next ports. thanks DutchDaemon
  15. K

    ports through ssh

    HELLO I'm building openoffice through ssh at home. ssh mon-adresse.org cd /usr/ports/editors/openoffice-3 make install clean My connection broke but it works now. But i can't watch logs compilation and it's running. How to watch logs ? Thanks
  16. K

    Accelerated rendering crashes Xorg

    what's your driver ? Your driver, is it the private archive from nvidia ? I don't like private archives, but with 3D, the nvidia driver works perfectly and fast.
  17. K

    permissions on tty

    Yes Yes you are right. I wanted to execute a X program from ttyv1 to X with. It was stupid. Because the solution was setenv DISPLAY :0.0 in ttyv1.
  18. K

    permissions on tty

    Hello, I want open /dev/ttyv9 in c, with toto login. d = open("/dev/ttyv9", O_RDWR); With root login my program works perfectly, but toto don't have permissions. What's can i do to execute my program without bad security ? ls -lai ttyv9 : crw-------- 1 root wheel à, 78 5 avr 10:12...
  19. K

    view ttyv1 with ssh

    Hello, At home, programs write logs to the screen on ttyv1. But i'm not at home and i want to view the ttyv1 screen. I'm connected with ssh on my computer. How to pipe ttyv1 to a file like /dev/ttyv1 > /home/totoro/log ? Thanks
  20. K

    simple question about executing a command

    solved It was a stupid problem sorry. I removed with accident a line in my .cshrc : set path = ... Thanks everybody.
Back
Top