> i'm getting an error:
> 
>   gcc -o ohs `gtk-config --libs` -lncurses -lcdk -L/usr/local/lib callback.o
>   main.o content.o pfunctions.o GTKmain.o NCURSESmain.o
>   NCURSESmain.o: In function `NCURSESmain':
>   NCURSESmain.o(.text+0x37): undefined reference to `initCDKScreen'
>   NCURSESmain.o(.text+0x44): undefined reference to `initCDKColor'
>   NCURSESmain.o(.text+0x118): undefined reference to `newCDKLabel'
>   NCURSESmain.o(.text+0x147): undefined reference to `newCDKMenu'
>   NCURSESmain.o(.text+0x164): undefined reference to `setCDKMenuPostProcess'
>   ...
> 

I think you need to put the -L<where to find it> before the -l<name>
param, but that's from memory.

Reply via email to