I am trying to install PJSIP on Mac from many days but i got succeeded today. Here are the steps to be executed as they are not mentioned in website.
Please have a look at the link
This link is the starting point to get the source code and the instructions to make PJSIP for android install.
- Do follow the sections Requirements, Build Preparation, Build PJSIP
- In the section “Building and running PJSUA sample application” if we do the following steps,
$ cd /path/to/your/pjsip/dir $ cd pjsip-apps/src/pjsua/android $ ndk-build
Android NDK: WARNING:jni/Android.mk:pjsua: non-system libraries in linker flags: - lpjsua-arm-unknown-linux-androideabi -lpjsip-ua-arm-unknown-linux-androideabi -lpjsip-simple-arm-unknown-linux-androideabi -lpjsip-arm-unknown-linux-androideabi -lpjmedia-codec-arm-unknown-linux-androideabi -lpjmedia-videodev-arm-unknown-linux-androideabi -lpjmedia-arm-unknown-linux-androideabi -lpjmedia-audiodev-arm-unknown-linux-androideabi -lpjmedia-arm-unknown-linux-androideabi -lpjnath-arm-unknown-linux-androideabi -lpjlib-util-arm-unknown-linux-androideabi -lresample-arm-unknown-linux-androideabi -lmilenage-arm-unknown-linux-androideabi -lsrtp-arm-unknown-linux-androideabi -lgsmcodec-arm-unknown-linux-androideabi -lspeex-arm-unknown-linux-androideabi -lilbccodec-arm-unknown-linux-androideabi -lg7221codec-arm-unknown-linux-androideabi -lpj-arm-unknown-linux-androideabi -lgcc -lgcc This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the current module Invoking SWIG... swig -c++ -o jni/pjsua_wrap.cpp -package org.pjsip.pjsua -outdir src/org/pjsip/pjsua -java jni/pjsua.i Compile++ thumb : pjsua <= pjsua_wrap.cpp SharedLibrary : libpjsua.so arm-linux-androideabi-g++: error: /home/hadi/Development/pjproject/pjsip- apps/build/output/pjsua-arm-unknown-linux-androideabi/pjsua_app.o: No such file or directory arm-linux-androideabi-g++: error: /home/hadi/Development/pjproject/pjsip-apps/build/output/pjsua-arm-unknown-linux-androideabi/pjsua_app_cli.o: No such file or directory arm-linux-androideabi-g++: error: /home/hadi/Development/pjproject/pjsip-apps/build/output/pjsua-arm-unknown-linux-androideabi/pjsua_app_common.o: No such file or directory arm-linux-androideabi-g++: error: /home/hadi/Development/pjproject/pjsip-apps/build/output/pjsua-arm-unknown-linux-androideabi/pjsua_app_config.o: No such file or directory arm-linux-androideabi-g++: error: /home/hadi/Development/pjproject/pjsip-apps/build/output/pjsua-arm-unknown-linux-androideabi/pjsua_app_legacy.o: No such file or directory make: *** [obj/local/armeabi/libpjsua.so] Error 1
In order to avoid the above error , do perform the following command " cd pjsip-apps/build " && "make pjsua"
after the successful execution, then perform ndk-build in /pjsip-apps/src/pjsua/android directory.
- This will result in the following output.
swig -c++ -o jni/pjsua_wrap.cpp -package org.pjsip.pjsua -outdir src/org/pjsip/pjsua -java jni/pjsua.i
[armeabi] Compile++ thumb: pjsua <= pjsua_wrap.cpp
[armeabi] SharedLibrary : libpjsua.so
[armeabi] Install : libpjsua.so => libs/armeabi/libpjsua.so
I got the above error when tried to get the output of jps command.
solution : It happens when we point to wrong version of jdk.
$ sudo update-alternatives –config jps
select the correct the version of jdk from the output displayed. and try again. problem should be solved.
One brutal incident which had led to death of DAMINI ( AMANAT) had changed the face of the country. Everyone is reacting right up to the point and making sincere efforts to prevent this from happening again.
Well this is fine, what about the accused ones?? Is Hanging is the correct and only one solution to make justice to the girl ? The accused ones are not cold blooded criminals nor they have any criminal history behind them. We don’t know what happened before and only we know is girl is severely hurt and she is no more today. This is a very pathetic situation.
We saw in many movies where the hero commits a crime initially and he realizes later and works for the welfare of the people in his society and takes care so that no one repeats the same mistake again in their lives. With the happened incident, are we sure that at least one of the accused will not change in the future?
Hanging is also one solution but not the only solution. One thing is pretty clear that the girl will never be back but its better to cultivate the good ideas in them rather than killing them. Who knows, the accused might work for the welfare of the women by realizing themselves.
A fruit can never the obtained on the day one when the seed is planted. Certain time is needed to change bad into good. Hope for the best.
Children should be brought up from childhood with good manners and should be far from the unwanted material in the internet and should be able to distinguish from good to bad, wrong to right, god to evil. India is a great country and we have given a great respect to the ladies from the childhood. Modern western culture, civilization, lack of responsible parents and schools are failing to teach the “ammathanam” towards a girl.
No one knows what the schools, colleges parents are trying to make students learn ? is it only subject printed in the books? subject can be available on internet but good manners should only be taught in home and from parents and elders.
If a teacher beats student in school & colleges, these days teachers are being kept in jail. How can a student know and distinguish between good & bad if he doesn’t accept scoldings from elders?? Media projects it in a way that teacher is killing students and protects the child for that day. This leaves the student in darkness for the whole life without any morals and on one day when the same student commit a crime like what happened today…again media only projects that “Only hanging is only solution”
I dont know how to conclude this presentation but i feel it leaves an idea to think upon.
When I am building Hadoop 0.23.1 on Mac, using Maven 3.0.3 and run this command.
> cd hadoop-mapreduce-project
> mvn clean install assembly:assembly -Pnative
received an error ” Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2.1:assembly (default-cli) on project hadoop-mapreduce: Error reading assemblies: No assembly descriptors found. -> [Help 1]”
run the command
> mvn package -Pdist -DskipTests=true -Dtar
Then build succeeded.
When i am reading few lines in Padma Purana, I came to know the importance of Rudhraksha, Amla & Tulasi. I am really thrilled and looked forward to spread among my friends.
A Rudraksha bead bears features of a Linga and yoni on its surface. One should not wear a rudraksha on which above mentioned features are absent. Similarly two joint beads should never be worn. All the mantras become doubly powerful when chanted with the help of rudraksha-rosary.During Satya Yuga, there lived a mighty demon named Tripurasur. He had conquered the deities and was capable of moving in the space. The deities sought help of Lord Shiva, who killed Tripurasur by the sight of his third-eye. In the process, few drops of sweat, emanating from Shiva’s body fell down on the earth. These sweat drops got transformed into a large Rudraksha-tree.
Amla is a very nutritious fruit and great religious significance has been attached to it. Amla fruit is very dear to Lord Vishnu and its use on the auspicious day of Ekadashi brings unmatched virtue. A person who regularly eats amla enjoys a long life.The following tale adequately describes the religious importance of amla —
Once upon a time, a chandala went into the forest for hunting. He hunted many deer and birds. Feeling hungry, he saw an amla tree and climbed up the tree. This way he satiated his hunger by eating sweet amla fruits. Unfortunately while he was climbing down the tree, he fell down and died.When the attendants of Yamaraj arrived to take back his soul, they could not do so even after repeated attempts. The attendants of Yamaraj became very surprised and went to the sages for clarification. The sages revealed to the attendants that they could not go near the chandala’s dead body, because he had eaten amla just before his death. Such is the glory of amla!
Once Kartikeya asked Lord Shiva about the holiest tree, which was capable of giving salvation. Lord Shiva replied—The Tulsi plant is supreme among all the vegetations. She is very dear to lord Vishnu and fulfills all the desires of a man. Lord Krishna dwells near the place where there is a Tulsi plant. Spirits and ghosts never dare to venture near the Tulsi plant. If a man attaches a Tulsi leaf to his Shikha at the time of his death, he is liberated from all his sins. One who worships Lord Vishnu by offering Tulsi-leaves attains salvation.
I am setting up Hadoop 0.23.1 in a pseudo distributed mode on Fedora 17, when I tried to format the namenode using “bin/hadoop namenode -format” I came across the following error.
“net.DNS (DNS.java:resolveLocalHostname(184)) – Unable to determine local hostname -falling back to “localhost”
This can be solved by the changing the hostname to localhost
check the hostname by the command
change the hostname to localhost
to permanently change the hostname
1) debian based systems( example : ubuntu)
etc/hostname and enter localhost in it and run
2) RedHat based systems
/etc/sysconfig/network to enter the new hostname and new hostname is preserved even on reboot also.
the same problem is occured in the following link.
Maitreya and me made up our minds to wind up for the day and so packed our bags and started walking to bus terminal after collecting some required printouts. As usual we went on laughing with some adult rated jokes and reached the terminal. After a 5 min wait, 188 bus arrived . we boarded it and luckily got seats. Maitreya started listening to his songs in his new LG Optimus 2X and i started looking outside window and started thinking about some thing. I thought of comparing the olden days education and present one. I still remember in my childhood days student walking long distances without basic amenities to get basic education. In our puranas we used to have gurukulam where parents used leave their children near their traditional gurus for education. Students used to serve their gurus and learn the hidden treasure from him. It means guru is more than parents in moulding a child into a responsible citizen. With this type of education, a student respected his parents, wife, siblings, relatives, friends, neighbours, customs, tradition etc. An individual used to lead a austere life by participating in all activities that happened around him in his community. An individual can able to lead a very balanced life by allotting his daily time to children, wife , society, sports, god etc. But what’s lacking is individuals tried to play a safe game in their lives and didn’t aimed for higher goals like driving his own Benz, living in his own bungalow , with unlimited money in bank accounts, lucrative assets, foreign trips etc …
But these days one need to spend thousands of rupees to get decent basic education with extra curricular activities at young age for a child. A child with all unlimited resources before him cannot able to decide useful and useless ones. He is provided with all resources but some are missing which are not taught in school. They are manners, sharing nature between two individuals, unexposed and inability to handle failure, neglecting basics of humanity, over exposing to technology which limits human thinking. In previous days one used to use his brain completely to find one unknown route to discover it but that thinking is replaced by google maps. Google Search has its own pros and cons. For example for a unknown information one who referred many books previously is directly provided with answer which limits ones dimensionality. If one is provided with direct answer he will not have possibility to think in other directions. A quality researcher cannot be born in a day. He must be provided with sufficient time to think in all directions and to come with a apt solution.
Reasons for this transformation is uncountable.Imbalanced and uncontrolled growth in population, parents negligence , media, ambitious minds, inflation , corruption and so on.
So it’s ones responsibility to take care in moulding him into complete responsible citizen. One must be selective in picking his resources to reach his aim and should not crave for everything which is ones out of reach. It’s my point of view in moulding a child into a responsible citizen and I may be wrong in many aspects as i am in midway in performing my assigned roles and I have still long way to go in my life. These are my experiences till now and still need to experience a lot in near future and my thinking may change because rules of the life game are never constant. Bye for now and thanks for reading this part of my blog.