LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Pound 1.8 (https://www.linuxquestions.org/questions/red-hat-31/pound-1-8-a-280513/)

depdiver 01-21-2005 10:19 AM

Pound 1.8
 
I am interested in testing/understanding pound reverse proxy to see if it solves a problem we are experiencing. I am running RHEL 3 and I'm having problems installing. I have not been able to find a rpm for the application. I was able to find what I thought was a src rpm. I installed it and follow the instructions in in the readme. the ./configure seemed to work fine. When I ran make errors filled the screen buffer. I am very new to Linux and I have no idea what to do next to solve this problem. Can someone point me in the correct direction?

Here is the error messages

openssl is version 0.9.7a Feb 19,2003

[root@o00143 Pound-1.8]# make
cc -DF_CONF=\"/usr/local/etc/pound.cfg\" -g -O2 -pthread -DAEMON -DUPER -DNEED_STACK -D_REENTRANT -D_THREAD_SAFE -Wstrict-prototypes -pipe -c -o pound.o pound.c
In file included from pound.c:205:
pound.h:181:2: #error "Pound needs openssl/ssl.h"
In file included from pound.c:205:
pound.h:345: syntax error before "SSL"
pound.h:345: warning: no semicolon at end of struct or union
pound.h:346: warning: data definition has no type or storage class
pound.h:463: syntax error before '*' token
pound.h:463: warning: function declaration isn't a prototype
pound.c: In function `verify_cert':
pound.c:341: `X509_V_ERR_CERT_CHAIN_TOO_LONG' undeclared (first use in this function)
pound.c:341: (Each undeclared identifier is reported only once
pound.c:341: for each function it appears in.)
pound.c: In function `main':
pound.c:370: `SSL_CTX' undeclared (first use in this function)
pound.c:370: `ctx' undeclared (first use in this function)
pound.c:512: syntax error before ')' token
pound.c:512: syntax error before ')' token
pound.c:571: `SSL_FILETYPE_PEM' undeclared (first use in this function)
pound.c:584: `SSL_VERIFY_NONE' undeclared (first use in this function)
pound.c:588: `SSL_VERIFY_PEER' undeclared (first use in this function)
pound.c:588: `SSL_VERIFY_CLIENT_ONCE' undeclared (first use in this function)
pound.c:592: `SSL_VERIFY_FAIL_IF_NO_PEER_CERT' undeclared (first use in this function)
pound.c:596: `SSL_MODE_AUTO_RETRY' undeclared (first use in this function)
pound.c:597: `SSL_OP_ALL' undeclared (first use in this function)
pound.c:608: warning: assignment makes pointer from integer without a cast
pound.c: At top level:
pound.c:624: warning: data definition has no type or storage class
pound.c:625: syntax error before "for"
pound.c:625: `i' undeclared here (not in a function)
pound.c:625: conflicting types for `http'
pound.c:220: previous declaration of `http'
pound.c:625: warning: data definition has no type or storage class
pound.c:625: syntax error before '++' token
pound.c:628: `i' undeclared here (not in a function)
pound.c:628: conflicting types for `https'
pound.c:221: previous declaration of `https'
pound.c:628: warning: data definition has no type or storage class
pound.c:628: syntax error before '++' token
pound.c:633: syntax error before numeric constant
pound.c:633: warning: function declaration isn't a prototype
pound.c:633: conflicting types for `exit'
/usr/include/stdlib.h:612: previous declaration of `exit'
pound.c:633: warning: data definition has no type or storage class
pound.c:635: warning: data definition has no type or storage class
pound.c:636: syntax error before "for"
pound.c:636: `i' undeclared here (not in a function)
pound.c:636: conflicting types for `http'
pound.c:625: previous declaration of `http'
pound.c:636: warning: data definition has no type or storage class
pound.c:636: syntax error before '++' token
pound.c:639: `i' undeclared here (not in a function)
pound.c:639: conflicting types for `https'
pound.c:628: previous declaration of `https'
pound.c:639: warning: data definition has no type or storage class
pound.c:639: syntax error before '++' token
pound.c:649: syntax error before numeric constant
pound.c:649: warning: function declaration isn't a prototype
pound.c:649: warning: data definition has no type or storage class
pound.c:651: `pw' undeclared here (not in a function)
pound.c:651: warning: data definition has no type or storage class
pound.c:652: syntax error before '}' token
pound.c:660: syntax error before numeric constant
pound.c:660: warning: function declaration isn't a prototype
pound.c:660: warning: data definition has no type or storage class
pound.c:662: `gr' undeclared here (not in a function)
pound.c:662: warning: data definition has no type or storage class
pound.c:663: syntax error before '}' token
pound.c:671: syntax error before numeric constant
pound.c:671: warning: function declaration isn't a prototype
pound.c:671: warning: data definition has no type or storage class
pound.c:672: syntax error before numeric constant
pound.c:672: warning: function declaration isn't a prototype
pound.c:672: warning: data definition has no type or storage class
pound.c:677: syntax error before numeric constant
pound.c:677: warning: function declaration isn't a prototype
pound.c:677: warning: data definition has no type or storage class
pound.c:684: syntax error before string constant
pound.c:687: warning: parameter names (without types) in function declaration
pound.c:687: warning: data definition has no type or storage class
pound.c:688: syntax error before '}' token
pound.c:695: syntax error before numeric constant
pound.c:695: warning: function declaration isn't a prototype
pound.c:695: warning: data definition has no type or storage class
pound.c:699: syntax error before numeric constant
pound.c:699: warning: function declaration isn't a prototype
pound.c:699: warning: data definition has no type or storage class
pound.c:706: syntax error before numeric constant
pound.c:706: warning: function declaration isn't a prototype
pound.c:706: warning: data definition has no type or storage class
pound.c:711: syntax error before numeric constant
pound.c:711: warning: function declaration isn't a prototype
pound.c:711: warning: data definition has no type or storage class
pound.c:722: syntax error before '}' token
pound.c:722: warning: data definition has no type or storage class
pound.c:722: syntax error before '.' token
pound.c:723: syntax error before '}' token
pound.c:723: warning: data definition has no type or storage class
pound.c:723: syntax error before '.' token
pound.c:724: syntax error before '}' token
pound.c:724: warning: data definition has no type or storage class
pound.c:724: syntax error before '.' token
pound.c:725: syntax error before '}' token
pound.c:725: warning: data definition has no type or storage class
pound.c:725: syntax error before '.' token
pound.c:732: syntax error before '&' token
pound.c:732: warning: function declaration isn't a prototype
pound.c:732: warning: data definition has no type or storage class
pound.c:738: syntax error before numeric constant
pound.c:738: warning: function declaration isn't a prototype
pound.c:738: warning: data definition has no type or storage class
pound.c:745: syntax error before numeric constant
pound.c:745: warning: function declaration isn't a prototype
pound.c:745: warning: data definition has no type or storage class
pound.c:751: syntax error before numeric constant
pound.c:751: warning: function declaration isn't a prototype
pound.c:751: warning: data definition has no type or storage class
pound.c:758: syntax error before numeric constant
pound.c:758: warning: function declaration isn't a prototype
pound.c:758: warning: data definition has no type or storage class
pound.c:762: syntax error before numeric constant
pound.c:762: warning: function declaration isn't a prototype
pound.c:762: conflicting types for `sleep'
/usr/include/unistd.h:390: previous declaration of `sleep'
pound.c:762: warning: data definition has no type or storage class
pound.c:768: `i' undeclared here (not in a function)
pound.c:768: syntax error before '.' token
pound.c:774: `i' undeclared here (not in a function)
pound.c:774: conflicting types for `http'
pound.c:636: previous declaration of `http'
pound.c:774: warning: data definition has no type or storage class
pound.c:774: syntax error before '++' token
pound.c:778: syntax error before "__uint8_t"
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before '}' token
pound.c:778: conflicting types for `__u'
pound.c:725: previous declaration of `__u'
pound.c:778: syntax error before "switch"
pound.c:778: conflicting types for `__u'
pound.c:778: previous declaration of `__u'
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before "case"
pound.c:778: warning: initialization makes integer from pointer without a cast
pound.c:778: initializer element is not constant
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before "case"
pound.c:778: redefinition of `__u'
pound.c:778: `__u' previously defined here
pound.c:778: warning: initialization makes integer from pointer without a cast
pound.c:778: initializer element is not constant
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before "case"
pound.c:778: redefinition of `__u'
pound.c:778: `__u' previously defined here
pound.c:778: warning: initialization makes integer from pointer without a cast
pound.c:778: initializer element is not constant
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before '->' token
pound.c:778: redefinition of `__u'
pound.c:778: `__u' previously defined here
pound.c:778: warning: initialization makes integer from pointer without a cast
pound.c:778: initializer element is not constant
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before "case"
pound.c:778: redefinition of `__u'
pound.c:778: `__u' previously defined here
pound.c:778: warning: initialization makes integer from pointer without a cast
pound.c:778: initializer element is not constant
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before "case"
pound.c:778: redefinition of `__u'
pound.c:778: `__u' previously defined here
pound.c:778: warning: initialization makes integer from pointer without a cast
pound.c:778: initializer element is not constant
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before "case"
pound.c:778: redefinition of `__u'
pound.c:778: `__u' previously defined here
pound.c:778: warning: initialization makes integer from pointer without a cast
pound.c:778: initializer element is not constant
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before "case"
pound.c:778: redefinition of `__u'
pound.c:778: `__u' previously defined here
pound.c:778: warning: initialization makes integer from pointer without a cast
pound.c:778: initializer element is not constant
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before "case"
pound.c:778: redefinition of `__u'
pound.c:778: `__u' previously defined here
pound.c:778: warning: initialization makes integer from pointer without a cast
pound.c:778: initializer element is not constant
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before "case"
pound.c:778: redefinition of `__u'
pound.c:778: `__u' previously defined here
pound.c:778: warning: initialization makes integer from pointer without a cast
pound.c:778: initializer element is not constant
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before "case"
pound.c:778: redefinition of `__u'
pound.c:778: `__u' previously defined here
pound.c:778: warning: initialization makes integer from pointer without a cast
pound.c:778: initializer element is not constant
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before "case"
pound.c:778: redefinition of `__u'
pound.c:778: `__u' previously defined here
pound.c:778: warning: initialization makes integer from pointer without a cast
pound.c:778: initializer element is not constant
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before "case"
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before '}' token
pound.c:778: syntax error before '\x0'
pound.c:778: warning: data definition has no type or storage class
pound.c:778: syntax error before '}' token
pound.c:779: `clnt_addr' undeclared here (not in a function)
pound.c:779: warning: data definition has no type or storage class
pound.c:780: syntax error before "if"
pound.c:786: warning: parameter names (without types) in function declaration
pound.c:786: warning: data definition has no type or storage class
pound.c:787: syntax error before '}' token
pound.c:792: warning: parameter names (without types) in function declaration
pound.c:792: warning: data definition has no type or storage class
pound.c:793: syntax error before '}' token
pound.c:796: syntax error before "__uint8_t"
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before '}' token
pound.c:796: conflicting types for `__u'
pound.c:778: previous declaration of `__u'
pound.c:796: redefinition of `__c'
pound.c:778: `__c' previously defined here
pound.c:796: syntax error before "switch"
pound.c:796: conflicting types for `__u'
pound.c:796: previous declaration of `__u'
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before "case"
pound.c:796: warning: initialization makes integer from pointer without a cast
pound.c:796: initializer element is not constant
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before "case"
pound.c:796: redefinition of `__u'
pound.c:796: `__u' previously defined here
pound.c:796: warning: initialization makes integer from pointer without a cast
pound.c:796: initializer element is not constant
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before "case"
pound.c:796: redefinition of `__u'
pound.c:796: `__u' previously defined here
pound.c:796: warning: initialization makes integer from pointer without a cast
pound.c:796: initializer element is not constant
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before '->' token
pound.c:796: redefinition of `__u'
pound.c:796: `__u' previously defined here
pound.c:796: warning: initialization makes integer from pointer without a cast
pound.c:796: initializer element is not constant
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before "case"
pound.c:796: redefinition of `__u'
pound.c:796: `__u' previously defined here
pound.c:796: warning: initialization makes integer from pointer without a cast
pound.c:796: initializer element is not constant
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before "case"
pound.c:796: redefinition of `__u'
pound.c:796: `__u' previously defined here
pound.c:796: warning: initialization makes integer from pointer without a cast
pound.c:796: initializer element is not constant
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before "case"
pound.c:796: redefinition of `__u'
pound.c:796: `__u' previously defined here
pound.c:796: warning: initialization makes integer from pointer without a cast
pound.c:796: initializer element is not constant
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before "case"
pound.c:796: redefinition of `__u'
pound.c:796: `__u' previously defined here
pound.c:796: warning: initialization makes integer from pointer without a cast
pound.c:796: initializer element is not constant
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before "case"
pound.c:796: redefinition of `__u'
pound.c:796: `__u' previously defined here
pound.c:796: warning: initialization makes integer from pointer without a cast
pound.c:796: initializer element is not constant
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before "case"
pound.c:796: redefinition of `__u'
pound.c:796: `__u' previously defined here
pound.c:796: warning: initialization makes integer from pointer without a cast
pound.c:796: initializer element is not constant
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before "case"
pound.c:796: redefinition of `__u'
pound.c:796: `__u' previously defined here
pound.c:796: warning: initialization makes integer from pointer without a cast
pound.c:796: initializer element is not constant
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before "case"
pound.c:796: redefinition of `__u'
pound.c:796: `__u' previously defined here
pound.c:796: warning: initialization makes integer from pointer without a cast
pound.c:796: initializer element is not constant
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before "case"
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before '}' token
pound.c:796: syntax error before '\x0'
pound.c:796: warning: data definition has no type or storage class
pound.c:796: syntax error before '}' token
pound.c:797: syntax error before '[' token
pound.c:801: warning: parameter names (without types) in function declaration
pound.c:801: conflicting types for `free'
/usr/include/stdlib.h:569: previous declaration of `free'
pound.c:801: warning: data definition has no type or storage class
pound.c:802: warning: parameter names (without types) in function declaration
pound.c:802: warning: data definition has no type or storage class
pound.c:803: syntax error before '}' token
pound.c:808: `i' undeclared here (not in a function)
pound.c:808: conflicting types for `https'
pound.c:639: previous declaration of `https'
pound.c:808: warning: data definition has no type or storage class
pound.c:808: syntax error before '++' token
pound.c:812: syntax error before "__uint8_t"
pound.c:812: warning: data definition has no type or storage class
pound.c:812: syntax error before '}' token
pound.c:812: conflicting types for `__u'
pound.c:796: previous declaration of `__u'
pound.c:812: redefinition of `__c'
pound.c:796: `__c' previously defined here
pound.c:812: syntax error before "switch"
pound.c:812: conflicting types for `__u'
pound.c:812: previous declaration of `__u'
pound.c:812: warning: data definition has no type or storage class
pound.c:812: syntax error before "case"
pound.c:812: warning: initialization makes integer from pointer without a cast
pound.c:812: initializer element is not constant
pound.c:812: warning: data definition has no type or storage class
pound.c:812: syntax error before "case"
pound.c:812: redefinition of `__u'

bunch nore of the pound.C:812: errors

pound.c:812: syntax error before '}' token
pound.c:813: redefinition of `clnt_length'
pound.c:779: `clnt_length' previously defined here
pound.c:813: `clnt_addr' undeclared here (not in a function)
pound.c:813: warning: data definition has no type or storage class
pound.c:814: syntax error before "if"
pound.c:820: warning: parameter names (without types) in function declaration
pound.c:820: warning: data definition has no type or storage class
pound.c:821: syntax error before '}' token
pound.c:826: warning: parameter names (without types) in function declaration
pound.c:826: warning: data definition has no type or storage class
pound.c:827: syntax error before '}' token
pound.c:830: syntax error before "__uint8_t"
pound.c:830: warning: data definition has no type or storage class
pound.c:830: syntax error before '}' token
pound.c:830: conflicting types for `__u'
pound.c:812: previous declaration of `__u'
pound.c:830: redefinition of `__c'
pound.c:812: `__c' previously defined here
pound.c:830: syntax error before "switch"
pound.c:830: conflicting types for `__u'
pound.c:830: previous declaration of `__u'
pound.c:830: warning: data definition has no type or storage class
pound.c:830: syntax error before "case"
pound.c:830: warning: initialization makes integer from pointer without a cast
pound.c:830: initializer element is not constant
pound.c:830: warning: data definition has no type or storage class
pound.c:830: syntax error before "case"

bunch more of the pound.c:830: errors

pound.c:831: syntax error before '[' token
pound.c:834: warning: parameter names (without types) in function declaration
pound.c:834: warning: data definition has no type or storage class
pound.c:835: warning: parameter names (without types) in function declaration
pound.c:835: warning: data definition has no type or storage class
pound.c:836: syntax error before '}' token
pound.c:839: syntax error before '->' token
pound.c:839: warning: function declaration isn't a prototype
pound.c:839: warning: data definition has no type or storage class
pound.c:840: warning: parameter names (without types) in function declaration
pound.c:840: warning: data definition has no type or storage class
pound.c:841: warning: parameter names (without types) in function declaration
pound.c:841: warning: data definition has no type or storage class
pound.c:842: syntax error before '}' token
pound.c:853: syntax error before numeric constant
pound.c:853: warning: function declaration isn't a prototype
pound.c:853: warning: data definition has no type or storage class
pound.c:774: storage size of `http' isn't known
pound.c:808: storage size of `https' isn't known
{standard input}: Assembler messages:
{standard input}:93: Error: symbol `__c' is already defined
{standard input}:98: Error: symbol `__c' is already defined
{standard input}:104: Error: symbol `clnt_length' is already defined
{standard input}:109: Error: symbol `__c' is already defined

bunch more or the {standard input}

make: *** [pound.o] Error 1
[root@o00143 Pound-1.8]#


thanks in advance for any direction you can give me.

acid_kewpie 01-21-2005 10:30 AM

looks like you do not have openssl installed, as openssl/ssl.h was not found. if you're installing openssl from RPM, then you'll need openssl-devel too.

depdiver 01-21-2005 11:25 AM

openssl is version 0.9.7a Feb 19,2003


All times are GMT -5. The time now is 02:59 AM.