Hi !

I was wondering if there are any guidelines how to write code in FreeBSD. I 
have taken a look at several code of FreeBSD but each is written 
differently? Problem is I don't know which is preferred way.

Reason I am asking this is that I am trying to add some code to kernel. 
Compile is OK, no error, no warning, but on link all variables defined with 
extern are marked as : undefined reference to 'variable', variable is 
extern and .h file which has it defined is included... Where can be the 
problem?? Another problem is that I get multiple definition error...how can 
I get over this.

Please help
Andy


**************************************************************************
*  Aleksander Rozman - Andy  * Fandoms:  E2:EA, SAABer, Trekkie, Earthie *
*     [EMAIL PROTECTED]     * Sentinel, BH 90210, True's Trooper,       *
*    [EMAIL PROTECTED]   * Heller's Angel, Questie, Legacy, PO5,     *
* Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender    *
*     ICQ-UIC: 4911125       *********************************************
*     PGP key available      *    http://www.atechnet.dhs.org/~andy/     *
**************************************************************************


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to