1

Once again this error: error: expected ‘,’ or ‘;’ before ‘{’ token

view story
linux-howto

http://ubuntuforums.org – Hi everyone. I wanted to compilate one file, but it gives me an error... Code: root@Collateral:/home/zoltan/Desktop/kaffeine-sc-plugin-0.4.0# gcc -O -fbuiltin -fomit-frame-pointer -fPIC -shared -o ca.so ca.c -ldl ca.c:107:1: error: expected ‘,’ or ‘;’ before ‘{’ token ca.c: In function ‘cactl’: ca.c:276:9: warning: too few arguments for format ca.c:289:13: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result root@Collateral:/home/zoltan/Desktop/kaffeine-sc-plugin-0.4.0# As you can see, I want to compile one file to make "ca.so" (Hardware)