Episodes
Monday Jun 11, 2007
client denied by server configuration
Monday Jun 11, 2007
Monday Jun 11, 2007
Got the following error in Apache22 client denied by server configuration Add "AllowOverride Limit" in vhost directory fixed the error.
Friday May 25, 2007
undefined reference to "function name"
Friday May 25, 2007
Friday May 25, 2007
If you get the error messge -- undefined reference to "function name"-- when you compile a program. This means the compiler can not find the object file which hosts the function during the link stage. You probably forgot put the object file in Makefile. If Myclass.cpp has the "function". Change your Makefile and add MyClass.o as following, it will compile properly. MyProgram: HelloWorld.o MyClass.o $(CCLINKER) $(CFLAGS) -o myProgram helloWorld.o MyClass.o
Friday May 25, 2007
expected unqualified-id before using
Friday May 25, 2007
Friday May 25, 2007
When I comiled my C++ code, I got the following error. "expected unqualified-id before using" Checked my code again, found that I missed ";" after a class definition in one of my header files. Conclusion: The problem is caused by an incorrect line ending in the source file before the "using namespace std;" line
Thursday Mar 29, 2007
How to install xpi addon in Firefox Mozilla
Thursday Mar 29, 2007
Thursday Mar 29, 2007
Simply do following in Firefox : In File menu, open the xpi file . Firefox will automatically install it.
Wednesday Mar 14, 2007
CVER set up issues
Wednesday Mar 14, 2007
Wednesday Mar 14, 2007
Recently, I tried to set up CVER in our lab. However, I keep getting compile errors. Finally, I figured out the problem is caused by our 64bit Ubuntu does not work well with CVER. Currently, I set up CVER on Gentoo 32-bit linux machines. The good thing about this setting is that I may move the code to CLUMEQ for parallel and distributed Verilog simulation testing.
Thursday Jan 25, 2007
Computer Languages History
Thursday Jan 25, 2007
Thursday Jan 25, 2007
A great computer languages history graph at http://www.levenez.com/lang/history.html
Thursday Jan 11, 2007
WinCVS installation steps
Thursday Jan 11, 2007
Thursday Jan 11, 2007
1. install Python 2. run wincvs_setup.exe, this will install cvsnt as well. 3. Set system enviornment value : CVSROOT to be d:\cvsroot (change to the actual directory that you use) 4. Create the cvs repository (also known as a tree). * create an empty directory which will hold the tree. mkdir ~/mycvsroot * Set the CVSROOT environment variable. setenv CVSROOT ~/mycvsroot * Create the repository: cvs init * If you now look in ~/mycvsroot, you'll find the basic files which constitute a repository. 5. Adding your project to the repositoryIf the files you want to install in CVS reside in `wdir', and you want them to appear in the repository as `$CVSROOT/myproject', you can do this: $ cd wdir $ cvs import -m "Imported sources" myproject MyBrand start Unless you supply a log message with the `-m' flag, CVS starts an editor and prompts for a message. The string `MyBrand' is a vendor tag, and `start' is a release tag. They may fill no purpose in this context, but since CVS requires them they must be present. You can now verify that it worked, and remove your original source directory. $ cd .. $ cvs checkout myproject $ diff -r wdir myproject $ rm -r wdir Erasing the original sources is a good idea, to make sure that you do not accidentally edit them in wdir, bypassing CVS. Of course, it would be wise to make sure that you have a backup of the sources before you remove them.
Thursday Jan 11, 2007
WinCvs could not find Python 2.1 installed
Thursday Jan 11, 2007
Thursday Jan 11, 2007
After I installed WinCVS on my PC and started it first time. I got error msg: "WinCVS could not find Python 2.1 installed on your system" . However, I did install Python2.5 in my system. I added python25.dll in WinCVS setting at Admin->preference->WinCVS->Python (see hereafter). It works then.