PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.imap > Problem building UW imap-2006 under Solaris 9
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.imap Discussion of IMAP-based mail systems.

Problem building UW imap-2006 under Solaris 9

Réponse
 
LinkBack Outils de la discussion
Vieux 16/09/2006, 06h40   #1
René Berber
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Problem building UW imap-2006 under Solaris 9

Hi,

This is a common problem with Solaris 9, perhaps somebody knows a
workaround:

`cat CCTYPE` -c `cat CFLAGS` mix.c
mix.c: In function `mix_rename':
mix.c:539: error: `alphasort' undeclared (first use in this function)

I see that scandir() is picked up from src/osdep/unix/scandir.c; can't
find alphasort()... it's probably faster to make it than to search for
it.

Thanks.
--
René Berber

  Réponse avec citation
Vieux 16/09/2006, 07h17   #2
René Berber
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problem building UW imap-2006 under Solaris 9


René Berber wrote:
[snip]
> mix.c: In function `mix_rename':
> mix.c:539: error: `alphasort' undeclared (first use in this function)
>
> I see that scandir() is picked up from src/osdep/unix/scandir.c; can't
> find alphasort()... it's probably faster to make it than to search for
> it.


Never mind, I defined the prototype in os_solo.h and the build
completed with no problems.

I'm using gcc, and "make gso".
--
René Berber

  Réponse avec citation
Vieux 18/09/2006, 17h35   #3
Dennis Davis
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problem building UW imap-2006 under Solaris 9

In the referenced article, "=?iso-8859-1?B?UmVu6SBCZXJiZXI=?=" <rberber@mailandnews.com> writes:
>
>Ren=E9 Berber wrote:
>[snip]
>> mix.c: In function `mix_rename':
>> mix.c:539: error: `alphasort' undeclared (first use in this function)
>>
>> I see that scandir() is picked up from src/osdep/unix/scandir.c; can't
>> find alphasort()... it's probably faster to make it than to search for
>> it.

>
>Never mind, I defined the prototype in os_solo.h and the build
>completed with no problems.
>
>I'm using gcc, and "make gso".


Not quite sure how you managed that. From the little digging I've
done, it appears that the scandir function etc was introduced
in the C library on Solaris10. It isn't available in the C library
on Solaris9 and earlier.

Where, on Solaris9, are you finding the scandir function?
--
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis@bath.ac.uk
  Réponse avec citation
Vieux 18/09/2006, 18h10   #4
Mark Crispin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problem building UW imap-2006 under Solaris 9

The imap-2006a development snapshot defines alphasort (both prototype and
function) on Solaris.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
  Réponse avec citation
Vieux 18/09/2006, 22h07   #5
René Berber
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problem building UW imap-2006 under Solaris 9


Dennis Davis wrote:

> In the referenced article, "=?iso-8859-1?B?UmVu6SBCZXJiZXI=?=" <rberber> writes:
> >
> >Ren=E9 Berber wrote:
> >[snip]
> >> mix.c: In function `mix_rename':
> >> mix.c:539: error: `alphasort' undeclared (first use in this function)
> >>
> >> I see that scandir() is picked up from src/osdep/unix/scandir.c; can't
> >> find alphasort()... it's probably faster to make it than to search for
> >> it.

> >
> >Never mind, I defined the prototype in os_solo.h and the build
> >completed with no problems.
> >
> >I'm using gcc, and "make gso".

>
> Not quite sure how you managed that. From the little digging I've
> done, it appears that the scandir function etc was introduced
> in the C library on Solaris10. It isn't available in the C library
> on Solaris9 and earlier.
>
> Where, on Solaris9, are you finding the scandir function?


It's not on Solaris 9, it is in imap-2006 source:

imap-2206/src/osdep/unix/scandir.c

--
René Berber

  Réponse avec citation
Vieux 19/09/2006, 04h10   #6
Jeff Makey
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problem building UW imap-2006 under Solaris 9

In article <J5sonD.L7L.B.hinault@bath.ac.uk>,
Dennis Davis <ccsdhd@bath.ac.uk> wrote:
>Where, on Solaris9, are you finding the scandir function?


When I want scandir and alphasort on Solaris 9 I use these compiler
command line options:

-I/usr/ucbinclude -L/usr/ucblib -lucb -Wl,-R/usr/ucblib

:: Jeff Makey
jeff@sdsc.edu

Department of Tautological Pleonasms and Superfluous Redundancies Department
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 15h16.


Édité par : vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,21051 seconds with 14 queries