[OT] Linker Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>My guess, you've copied the declaration
>   cAutoGroups AutoGroups;
>into the header file. If you want to declare global variables in a
>header file, you have to declare
>   extern cAutoGroups AutoGroups;
>in the .h file (for import and forward declaration) and another
>   cAutoGroups AutoGroups;
>in the .c file (the actual declaration).

direct hit

thank you very much

         Thorsten



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux