Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

[root@test myhttp_engine-0.4]# make install
Making install in src
make[1]: Entering directory `/root/myhttp_engine-0.4/src'
/bin/sh ../libtool --preserve-dup-deps --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DMYSQL_DYNAMIC_PLUGIN -DUNIV_MUST_NOT_INLINE -DFORCE_INIT_OF_VARS -I/usr/lib/mysql/sql -I/usr/lib/mysql/include -I../include -I/usr/include/libxml2 -g -O2 -fno-implicit-templates -fno-exceptions -fno-rtti -MT ha_myhttp.lo -MD -MP -MF .deps/ha_myhttp.Tpo -c -o ha_myhttp.lo ha_myhttp.cc
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I.. -DMYSQL_DYNAMIC_PLUGIN -DUNIV_MUST_NOT_INLINE -DFORCE_INIT_OF_VARS -I/usr/lib/mysql/sql -I/usr/lib/mysql/include -I../include -I/usr/include/libxml2 -g -O2 -fno-implicit-templates -fno-exceptions -fno-rtti -MT ha_myhttp.lo -MD -MP -MF .deps/ha_myhttp.Tpo -c ha_myhttp.cc -fPIC -DPIC -o .libs/ha_myhttp.o
ha_myhttp.cc:29:19: error: brian.h: No such file or directory
ha_myhttp.cc:30:24: error: mysql_priv.h: No such file or directory
In file included from ha_myhttp.cc:31:
ha_myhttp.h:25:26: error: mysql/plugin.h: No such file or directory
ha_myhttp.h:68: error: 'THR_LOCK' does not name a type
ha_myhttp.h:75: error: expected class-name before '{' token
ha_myhttp.h:76: error: 'THR_LOCK_DATA' does not name a type
ha_myhttp.h:81: error: 'String' does not name a type
ha_myhttp.h:83: error: 'String' has not been declared
ha_myhttp.h:83: error: 'String' has not been declared
ha_myhttp.h:84: error: 'Field' has not been declared
ha_myhttp.h:85: error: 'Field' has not been declared
ha_myhttp.h:85: error: 'String' has not been declared
ha_myhttp.h:86: error: 'Field' has not been declared
ha_myhttp.h:86: error: 'String' has not been declared
ha_myhttp.h:89: error: expected `)' before '*' token
ha_myhttp.h:105: error: 'ulonglong' does not name a type
ha_myhttp.h:166: error: 'uchar' has not been declared
ha_myhttp.h:169: error: 'uchar' has not been declared
ha_myhttp.h:170: error: 'uchar' has not been declared
ha_myhttp.h:170: error: 'uchar' has not been declared
ha_myhttp.h:171: error: expected ',' or '...' before '*' token
ha_myhttp.h:171: error: ISO C++ forbids declaration of 'uchar' with no type
ha_myhttp.h:172: error: expected ',' or '...' before '*' token
ha_myhttp.h:172: error: ISO C++ forbids declaration of 'uchar' with no type
ha_myhttp.h:173: error: 'uchar' has not been declared
ha_myhttp.h:173: error: expected ',' or '...' before '*' token
ha_myhttp.h:174: error: ISO C++ forbids declaration of 'uchar' with no type
ha_myhttp.h:175: error: 'uchar' has not been declared
ha_myhttp.h:176: error: expected ',' or '...' before '*' token
ha_myhttp.h:178: error: ISO C++ forbids declaration of 'key_range' with no type
ha_myhttp.h:180: error: 'ha_rows' does not name a type
ha_myhttp.h:183: error: expected ',' or '...' before '*' token
ha_myhttp.h:183: error: ISO C++ forbids declaration of 'uchar' with no type
ha_myhttp.h:186: error: 'TABLE' has not been declared
ha_myhttp.h:187: error: 'HA_CREATE_INFO' has not been declared
ha_myhttp.h:189: error: ISO C++ forbids declaration of 'THR_LOCK_DATA' with no type
ha_myhttp.h:189: error: expected ';' before '*' token
ha_myhttp.h: In member function 'ulong ha_myhttp::index_flags(uint, uint, bool) const':
ha_myhttp.h:123: error: 'HA_ONLY_WHOLE_INDEX' was not declared in this scope
ha_myhttp.h: In member function 'uint ha_myhttp::max_supported_record_length() const':
ha_myhttp.h:145: error: 'HA_MAX_REC_LENGTH' was not declared in this scope
ha_myhttp.h: In member function 'int ha_myhttp::index_next(int*)':
ha_myhttp.h:175: error: 'HA_ERR_END_OF_FILE' was not declared in this scope
ha_myhttp.cc: At global scope:
ha_myhttp.cc:40: error: expected initializer before '*' token
ha_myhttp.cc:46: error: 'HASH' does not name a type
ha_myhttp.cc: In function 'size_t my_curl_write_callback(void*, size_t, size_t, void*)':
ha_myhttp.cc:61: error: 'String' was not declared in this scope
ha_myhttp.cc:61: error: 'str' was not declared in this scope
ha_myhttp.cc:64: error: expected primary-expression before ')' token
ha_myhttp.cc:64: error: expected `;' before 'data'
ha_myhttp.cc: At global scope:
ha_myhttp.cc:88: error: expected initializer before '*' token
ha_myhttp.cc: In function 'int myhttp_init_func(void*)':
ha_myhttp.cc:97: error: 'DBUG_ENTER' was not declared in this scope
ha_myhttp.cc:99: error: 'handlerton' was not declared in this scope
ha_myhttp.cc:99: error: 'myhttp_hton' was not declared in this scope
ha_myhttp.cc:99: error: expected primary-expression before ')' token
ha_myhttp.cc:99: error: expected `;' before 'p'
ha_myhttp.cc:103: error: 'MY_MUTEX_INIT_FAST' was not declared in this scope
ha_myhttp.cc:103: error: 'pthread_mutex_init' was not declared in this scope
ha_myhttp.cc:103: error: 'VOID' was not declared in this scope
ha_myhttp.cc:104: error: 'myhttp_open_tables' was not declared in this scope
ha_myhttp.cc:104: error: 'system_charset_info' was not declared in this scope
ha_myhttp.cc:105: error: 'hash_get_key' was not declared in this scope
ha_myhttp.cc:105: error: 'hash_init' was not declared in this scope
ha_myhttp.cc:107: error: 'SHOW_OPTION_YES' was not declared in this scope
ha_myhttp.cc:108: error: 'myhttp_create_handler' was not declared in this scope
ha_myhttp.cc:109: error: 'HTON_CAN_RECREATE' was not declared in this scope
ha_myhttp.cc:111: error: 'DBUG_RETURN' was not declared in this scope
ha_myhttp.cc: In function 'int myhttp_done_func(void*)':
ha_myhttp.cc:117: error: 'DBUG_ENTER' was not declared in this scope
ha_myhttp.cc:121: error: 'myhttp_open_tables' was not declared in this scope
ha_myhttp.cc:123: error: 'myhttp_open_tables' was not declared in this scope
ha_myhttp.cc:123: error: 'hash_free' was not declared in this scope
ha_myhttp.cc:124: error: 'pthread_mutex_destroy' was not declared in this scope
ha_myhttp.cc:126: error: 'DBUG_RETURN' was not declared in this scope
ha_myhttp.cc: At global scope:
ha_myhttp.cc:134: error: 'TABLE' has not been declared
ha_myhttp.cc: In function 'MYHTTP_SHARE* get_share(const char*, int*)':
ha_myhttp.cc:140: error: 'pthread_mutex_lock' was not declared in this scope
ha_myhttp.cc:143: error: 'myhttp_open_tables' was not declared in this scope
ha_myhttp.cc:144: error: 'uchar' was not declared in this scope
ha_myhttp.cc:145: error: 'hash_search' was not declared in this scope
ha_myhttp.cc:143: error: expected primary-expression before '*' token
ha_myhttp.cc:143: error: expected primary-expression before ')' token
ha_myhttp.cc:143: error: expected `)' before 'hash_search'
ha_myhttp.cc:723: error: expected `)' at end of input
ha_myhttp.cc:723: error: expected statement at end of input
ha_myhttp.cc:723: error: expected `}' at end of input
make[1]: *** [ha_myhttp.lo] Error 1
make[1]: Leaving directory `/root/myhttp_engine-0.4/src'
make: *** [install-recursive] Error 1