Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: For a simple hello world module program, ".ko" file not created !

    Your Makefile is not correct. Try this Makefile.

    Note the := (colon equal) for obj-m and KDIR and PWD

    Note that there is a tab (not spaces) at the begining of the command under all:
    and a tab...
  2. Replies
    4
    Views
    1,673

    Re: Driver Hello World example in Ubuntu

    The folder's path contains spaces. Create a folder with no spaces in the path:
    /home/johann/drivers/hello
  3. Replies
    1
    Views
    347

    Re: using as command to assemble a PIC object

    It's not just about finding a command-line option.

    To write Position Independent Code in assembly you'll to need to know almost as much as the GCC tools know about PIC. Which means you'll need to...
  4. Re: Need Help - Error while compiling a simple C program

    Remove the semicolons from your macros

    #define IN_WORD 1
    #define NOT_IN_WORD 0
  5. Replies
    10
    Views
    1,610

    Re: What is the purpose of lisp

    This got me to wondering just how pervasive the JVM is on PC's. The extermes I found using a simple google search are 70% and 90%. Even if it's 'only' 70% I'm a little suprised it's that high.
  6. Replies
    10
    Views
    1,610

    Re: What is the purpose of lisp

    That is a valid question if your goal is to be a working, professional developer.

    If so, I suggest that you pick an area of development you are interested in and then find its most popular...
  7. Replies
    56
    Views
    5,188

    Re: Best programming language to learn next?

    I think this is a common misconception.

    Learning assembly programming will not necessarily teach you how a machine works. I've met many people that know how to write assembly but know next to...
  8. Replies
    4
    Views
    401

    Re: programming hardware

    You should check out the family of PIC Microcontrollers sold by Microchip Technology. You are sure to find a PIC microcontroller that supports what you need, and ONLY what you need. To get you...
  9. Re: Why aren't more Linux applications written in Java?

    There are others that are also cross platform. Python is my current favorite.
  10. Replies
    9
    Views
    971

    Re: How to do C Math Programming ?

    To compile 4.1.c and link it to the math library, remove the -c option from your build command.
    The -c option causes the build to not link, it only compiles.

    You need to link to create an...
  11. Replies
    9
    Views
    971

    Re: How to do C Math Programming ?

    Add -lm to your link options, since pow() is from the math library:


    gcc myprogram.c -lm
  12. Replies
    4
    Views
    2,033

    Re: [ASSEMBLY LANGUAGE] Little-endian problem

    Endianess problems are sometimes the result of looking at word data as bytes or byte data as words.

    A word viewed in 16-bit word form looks like this: 67FEh

    That same word viewd in 8-bit byte...
  13. Replies
    2
    Views
    765

    Re: Python 3.2 & Tkinter Problems

    Try the command using a small t on tkinter instead of the capital T:

    python3 -m tkinter

    From
    http://docs.python.org/2/library/tkinter.html

    "Note: Tkinter has been renamed to tkinter in...
  14. Replies
    17
    Views
    25,283

    Re: What is the 'best' IDE for python development?

    I've tried many Python IDE's.

    I like Wingware's Wing IDE 101. It's a free version of their professional product. It works on both Linux and Windows and with any version of Python, 2.x.x or 3.x.x....
  15. Replies
    13
    Views
    4,740

    Re: error in fprintf: should be struct

    try changing


    fprintf( OUTD , "%s" , SPARAM[ i ] );

    to

    fprintf( OUTD , "%s" , (char *)(SPARAM+i) );
  16. Replies
    9
    Views
    2,023

    Re: variable return type in C

    I would be interested to know why somebody might ever want to do this, other than for a 'bad code' contest.

    Think about the maintenance nightmare.
  17. Replies
    9
    Views
    597

    Re: Header file problem ..

    Try something like this, replacing the linux version with the one you have:

    gcc -Wall -D__KERNEL__ -DMODULE -I/usr/src/linux-2.6.28-11-generic/include -O -g -I.. -c -o trendchip.o trendchip.c

    ...
  18. Replies
    10
    Views
    1,551

    Re: Null terminated file names and UTF-8

    Yes, here is an idea:

    Follow the link that Bachstelze took the time to find for you.
  19. Re: Once again this error: error: expected , or ; before { token

    Try moving the attribute __wur to the beginning of the line.

    __wur ssize_t write (int __fd, __const void *__buf, size_t __n)

    This compiles with gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
  20. Re: Once again this error: error: expected , or ; before { token

    Look at line 106.
  21. Replies
    7
    Views
    4,032

    Re: Ubuntu & Programming in Python/Java

    One thing to keep in mind: if your instructor uses Windows to teach this class, and grade your homework, you can run into differences from Linux. So keep Windows available just in case.
  22. Thread: C++ on Ubuntu?

    by xb12x
    Replies
    13
    Views
    900

    Re: C++ on Ubuntu?

    I'm sorry to hear that. You have my sympathies.
  23. Thread: C++ on Ubuntu?

    by xb12x
    Replies
    13
    Views
    900

    Re: C++ on Ubuntu?

    If your reasons for learning C++ are career based, then stick with Windows for now. You're much more likely to have opportunities to work in a Windows environment than a Linux environment.

    But if...
  24. Replies
    4
    Views
    6,487

    Re: fflush (stdin): Another reason I dislike MS

    Another reason I dislike MS

    Rather than the exhibiting the popular knee-jerk reaction when confronted with something like this, you should view it as an opportunity. This is the type of knowledge...
  25. Re: address bus or data bus? / "my computer is 32 bit"

    Well, the easiest answer is that on a Linux system it's done for you. Read the Linux Programmer's Manual pages for msr and cpuid (by entering man msr and man cpuid on your Linux system). Or Google...
Results 1 to 25 of 94
Page 1 of 4 1 2 3 4