Welcome! Log In Create A New Profile

Advanced

How to solve the "undefined reference to `MAJOR' MINOR" problem?

Posted by kernelnewbiesxin 
How to solve the "undefined reference to `MAJOR' MINOR" problem?
September 19, 2017 03:50AM
When I compile some C code in linux . A fault "undefined reference to `MAJOR'" happened . Where is the MAJOR macro defined? The code file includes head file list :
#include <stdio.h> /* fprintf */
#include <string.h>
#include <stdlib.h> /* contains exit */
#include <sys/types.h> /* unistd.h needs this */
#include <sys/stat.h>
#include <linux/fs.h>
#include <unistd.h> /* contains read/write */
#include <fcntl.h>
Obviously all head files above do not contain the MAJOR defination.
printable calendar template
September 24, 2017 05:59AM
If you are going to out side you home and make journey then this website will be very helpful.
december 2017 calendar in pdf,excel[/url
Author:

Your Email:


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 7 plus 12?
Message: