That usually happens when I add something after #include.

for example


#include "TychoEvent.hh".
#include "TychoEvent.hh" ;



Simply remove . or ;!
신고

'Computer > linux' 카테고리의 다른 글

how to add group  (0) 2009.09.30
warning: extra tokens at end of #include directive  (0) 2009.07.12
add a user to a specific group  (0) 2009.06.29
cdrecord that is a command line cd recording tool (Linux)  (0) 2009.06.25
블로그 이미지

citadel

memory, life, and logs

Tag gcc, warning

This will be the solution of the following error message when the external usb device is attached on the Linux.

Error org.freedesktop.DBus.Error.AccessDenied.



type groups in the xterminal,

userid audio video

where userid is your user id.


As root
usermod -a -G cdrom userid
usermod -a -G plugdev userid
usermod -a -G powerdev userid

reference http://forums.debian.net/viewtopic.php?p=209366&sid=e101ea755847bc7f4cd84db9c0b033f8
신고
블로그 이미지

citadel

memory, life, and logs

First scan bus
cdrecord -scanbus

scsibus1:
        1,0,0   100) 'Optiarc ' 'DVD+-RW AD-7200S' '102A' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *


Blank cdrw
cdrecord --dev=1,0,0 --blank=fast

Burn cd from iso file
cdrecord -v -eject speed=4 dev=1,0,0 debian-501-amd64-CD-1.iso





신고

'Computer > linux' 카테고리의 다른 글

add a user to a specific group  (0) 2009.06.29
cdrecord that is a command line cd recording tool (Linux)  (0) 2009.06.25
Red Hat Enterprise Linux (RHEL) 5.3  (0) 2009.06.15
Removing annoying console beeps  (0) 2009.06.12
블로그 이미지

citadel

memory, life, and logs

Tag cdrecord, CDRW

티스토리 툴바